Advisory

GHSA-7cfr-5cjf-32p4

Also known as: CVE-2025-4759

Summary

lockfile-lint-api Vulnerable to Incorrect Behavior Order

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-05-16 06:30 UTC
Modified
2025-05-16 22:12 UTC

Affected packages and fixes

lockfile-lint-api

npm · All systems

Affected

  • introduced 0, fixed 5.9.2 (semver)

Fixed versions

5.9.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences