lirantal lockfile-lint-api
cpe:2.3:a:lirantal:lockfile-lint-api:*:*:*:*:node.js:*:*
- < 5.9.2
A vulnerability exists in the lockfile-lint-api package, specifically in versions prior to 5.9.2. The issue arises from an incorrect validation order that allows for early validation bypass via the resolved attribute of package URLs. This flaw can be exploited by extending the package name, enabling the installation of unintended npm packages.
Exploitation of this vulnerability could lead to the installation of malicious npm packages, bypassing intended package name validations.
The vulnerability can be reproduced by using lockfile-lint with the --validate-package-names option. When a package name is extended (for example, changing 'meow' to 'meowlicious'), the validation incorrectly allows the tampered package to be installed, demonstrating the early validation bypass.
Users are advised to upgrade lockfile-lint-api to version 5.9.2 or higher.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.