CVE-2025-4759

MEDIUM EPSS 27.1%
Published May 16, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 4.0
Medium
Find Similar
Published May 16, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
5.5
Exploitability
Impact
Vector string
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/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
27.1% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-179

Affected Products 1

VendorProductVersionRange
lirantallockfile-lint-api* <5.9.2

References 5

  • gist.github.com https://gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f
    Exploit
  • github.com https://github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js%23L51-L63
    Broken Link
  • github.com https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca
    Patch
  • github.com https://github.com/lirantal/lockfile-lint/pull/204
    Patch
  • security.snyk.io https://security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587
    Third Party Advisory

Remediation

  • github.com https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca
    Patch
  • github.com https://github.com/lirantal/lockfile-lint/pull/204
    Patch