GHSA-896r-f27r-55mw

Suggest an improvement
Source
https://github.com/advisories/GHSA-896r-f27r-55mw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-896r-f27r-55mw/GHSA-896r-f27r-55mw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-896r-f27r-55mw
Aliases
Published
2021-11-19T20:16:17Z
Modified
2025-01-17T21:31:38Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
json-schema is vulnerable to Prototype Pollution
Details

json-schema before version 0.4.0 is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').

Database specific
{
    "nvd_published_at": "2021-11-13T09:15:00Z",
    "cwe_ids": [
        "CWE-1321",
        "CWE-915"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-11-15T22:44:27Z"
}
References

Affected packages

npm / json-schema

Package

Affected ranges

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

Ecosystem specific

{
    "affected_functions": [
        "(json-schema).validate"
    ]
}