GHSA-7cfr-5cjf-32p4

Suggest an improvement
Source
https://github.com/advisories/GHSA-7cfr-5cjf-32p4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-7cfr-5cjf-32p4/GHSA-7cfr-5cjf-32p4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7cfr-5cjf-32p4
Aliases
Published
2025-05-16T06:30:24Z
Modified
2025-05-16T22:12:11Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-179"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-05-16T21:45:31Z",
    "nvd_published_at": "2025-05-16T05:15:38Z",
    "severity": "MODERATE"
}
References

Affected packages

npm / lockfile-lint-api

Package

Name
lockfile-lint-api
View open source insights on deps.dev
Purl
pkg:npm/lockfile-lint-api

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.9.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-7cfr-5cjf-32p4/GHSA-7cfr-5cjf-32p4.json"