Malicious code in update-packager (npm)
Summary
MAL-2023-8518: Malicious code in update-packager (npm). Affects update-packager versions 1.0.0 – 2.0.0. 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 update-packager package is an npm package used for updating packages in a project. It provides functionality to manage package updates and dependencies. However, the package has been found to contain malicious code, which poses a significant security risk to any computer that has it installed or running.
Vulnerability Detail
The malicious code in update-packager (npm) has been identified as a serious security threat. Any computer with this package installed or running should be considered fully compromised. The code allows an outside entity to gain full control of the computer, potentially leading to the theft of sensitive information and unauthorized access to systems. It is crucial to rotate all secrets and keys stored on the affected computer immediately from a different computer. Simply removing the package may not guarantee the removal of all malicious software resulting from its installation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall update-packager
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. It is crucial to follow the steps mentioned in the 'how_to_fix' section to mitigate the risk.
Conclusion
The presence of malicious code in the update-packager npm package poses a significant security risk. It is crucial to take immediate action by rotating all secrets and keys, removing the package, and conducting a thorough security audit. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for update-packager →
FAQ
Update-packager is an npm package used for managing package updates and dependencies in a project.
The malicious code in update-packager can give full control of the computer to an outside entity, potentially leading to the theft of sensitive information and unauthorized access to systems.
If you have update-packager installed, it is crucial to rotate all secrets and keys stored on the affected computer from a different computer. Remove the package and conduct a thorough security audit.
Removing the update-packager package may not guarantee the removal of all malicious software resulting from its installation. A thorough security audit is recommended.
To prevent future vulnerabilities, keep all software and packages up to date and conduct regular security audits.