CVE-2025-4759
May 16, 2025
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.
Affected Packages
https://github.com/lirantal/lockfile-lint.git (GITHUB):
Affected version(s) >=lockfile-lint-api@1.0.1 <lockfile-lint-api@5.9.2Fix Suggestion:
Update to version lockfile-lint-api@5.9.2https://github.com/lirantal/lockfile-lint.git (GITHUB):
Affected version(s) >=lockfile-lint@1.3.0 < lockfile-lint@4.14.1Fix Suggestion:
Update to version lockfile-lint@4.14.1lockfile-lint-api (NPM):
Affected version(s) Fix Suggestion:
Update to version 5.9.2lockfile-lint (NPM):
Affected version(s) >=1.3.0 <4.14.1Fix Suggestion:
Update to version 4.14.1Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
LOW
Exploit Maturity
POC
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Incorrect Behavior Order: Early Validation
EPSS
Base Score:
0.06