CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-4759: Versions of the package lockfile-lint-api before 5.9.2 are vulnerable to Incorrect Behavior Order: Early Validation via the resolved attribute of...

8.3 CVSS

Description

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.

Classification

CVE ID: CVE-2025-4759

CVSS Base Severity: HIGH

CVSS Base Score: 8.3

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Problem Types

Incorrect Behavior Order: Early Validation

Affected Products

Vendor: n/a

Product: lockfile-lint-api

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 10.82% (scored less or equal to compared to others)

EPSS Date: 2025-06-14 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-4759
https://security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587
https://gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f
https://github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js%23L51-L63
https://github.com/lirantal/lockfile-lint/pull/204
https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca

Timeline