Versions of the package lockfile-lint-api before 5.9.2 are vulnerable to Incorrect Behavior Order: Early Validation via the resolved attribute of the package URL validation which can be bypassed by extending the package name allowing an attacker to install other npm packages than the intended one.
https://security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587
https://github.com/lirantal/lockfile-lint/pull/204
https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca
https://gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f
Published: 2025-05-16
Updated: 2025-05-16
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 8.3
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Severity: High
Base Score: 5.5
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
Severity: Medium
EPSS: 0.00042