CVE-2022-2923: Malicious code in exporting-ref-project (npm)
Summary
MAL-2022-2923: Malicious code in exporting-ref-project (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 exporting-ref-project is an npm package used for exporting reference projects. It provides functionality for exporting project files and configurations. The package is vulnerable to a malicious code injection attack, which can compromise the security of any computer that has the package installed or running.
Vulnerability Detail
The vulnerability originates from a specific version of the exporting-ref-project package (0.0.0). This version contains malicious code that can give full control of the affected computer to an outside entity. As a result, all secrets and keys stored on the compromised computer should be rotated immediately from a different computer. Simply removing the package may not guarantee the removal of all malicious software installed as a result of its installation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall exporting-ref-project
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 specific workaround mentioned for this vulnerability. The recommended course of action is to follow the steps mentioned in the 'how_to_fix' section.
Conclusion
The exporting-ref-project package is vulnerable to a malicious code injection attack, which can compromise the security of the affected computer. It is crucial to remove the package, rotate all secrets and keys, and scan for any remaining traces of malicious software. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for exporting-ref-project →
FAQ
The exporting-ref-project is an npm package used for exporting reference projects. It provides functionality for exporting project files and configurations.
The vulnerability can compromise the security of any computer that has the exporting-ref-project package installed or running. It can give full control of the affected computer to an outside entity, potentially exposing sensitive information and allowing unauthorized access.
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 and alerts in real-time for open-source vulnerabilities.
If your computer is affected, it is recommended to remove the exporting-ref-project package, rotate all secrets and keys stored on the compromised computer from a different, secure computer, and scan for any remaining traces of malicious software.
Yes, the fix for this vulnerability is to remove the exporting-ref-project package and take appropriate actions to secure the compromised computer.