CVE-2022-3019: Malicious code in ffdc-api-security (npm)
Summary
MAL-2022-3019: Malicious code in ffdc-api-security (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The ffdc-api-security package is an npm package that provides security features for the FFDC (Federated Financial Data Control) API. It is designed to protect sensitive data and ensure secure communication between applications. However, a vulnerability has been discovered in the package that allows the execution of malicious code on the affected system.
Vulnerability Detail
The vulnerability, identified as CVE-2022-3019, originates from the presence of malicious code in the ffdc-api-security package. This code compromises the security of any system where the package is installed or running. As a result, all secrets and keys stored on the affected computer should be rotated immediately from a different computer. Removing the package may not guarantee the complete removal of all malicious software installed as a result of its presence.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ffdc-api-security
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to follow the steps mentioned in the 'how_to_fix' section to mitigate the risk.
Conclusion
The ffdc-api-security package is vulnerable to a severe security issue that allows the execution of malicious code on the affected system. To mitigate the risk, it is crucial to rotate all secrets and keys, remove the package, and conduct a thorough security audit. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for ffdc-api-security →
FAQ
The impact of this vulnerability is severe as it compromises the security of the affected system and exposes sensitive data. Immediate action should be taken to mitigate the risk.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. It analyzes the package-lock.json file to identify vulnerabilities in your software.
While removing the ffdc-api-security package is recommended, it may not completely remove all malicious software installed as a result of its presence. Additional security measures should be taken to ensure the system is clean.
If your system is compromised, it is crucial to rotate all secrets and keys stored on that computer from a different computer. Conduct a thorough security audit to identify and remove any other malicious software.
No, there is no guarantee that removing the ffdc-api-security package will remove all malicious software. It is essential to take additional security measures to ensure the system is clean.