GHSA-g64q-3vg8-8f93

Suggest an improvement
Source
https://github.com/advisories/GHSA-g64q-3vg8-8f93
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-g64q-3vg8-8f93/GHSA-g64q-3vg8-8f93.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g64q-3vg8-8f93
Published
2020-09-03T15:47:10Z
Modified
2025-09-30T16:16:58Z
Summary
Prototype Pollution in pez
Details

All versions of pez are vulnerable to Prototype Pollution. A multipart payload can be constructed in a way that one of the parts’ content can be set as the entire payload object’s prototype. If this prototype contains data, it may bypass other validation rules which enforce access and privacy. If this prototype evaluates to null, it can cause unhandled exceptions when the request payload is accessed.

Recommendation

This package is deprecated and is now maintained as @hapi/pez. Please update your dependencies to use @hapi/pez.

Database specific
{
    "cwe_ids":  [
        "CWE-1321"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T19:00:49Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / pez

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-g64q-3vg8-8f93/GHSA-g64q-3vg8-8f93.json"