CVE-2025-4759

State
Published
Severity
6.9 Medium
Published
May 16, 2025
Updated
May 16, 2025
Reserved
May 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS: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:Psnyk
3.18.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:Psnyk

Weaknesses

  • CWE-179 Incorrect Behavior Order: Early Validation

Affected Products

ProductVersions
lockfile-lint-apin/a
  • before 5.9.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.