Read the docs
TI-2020-19605 Aliases GHSA-g9cg-h3jm-cwrc

Prototype Pollution in @hapi/subtext

Priority LOW 38CWE-1321Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

Versions of `@hapi/pez` prior to 4.1.2 or 5.0.1 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 Upgrade to versions 5.0.1 or later. There is a fix available for version 4.1.2, but it only available for direct download from the repository.

Why it matters now

Fix Fixed @hapi/pez (npm): 5.0.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—@hapi/pez (npm)before 5.0.15.0.1Patch availableGHSA-g9cg-h3jm-cwrc
  • @hapi/pez (npm) Vendor— Affected before 5.0.1 Fixed in 5.0.1 Patch available GHSA-g9cg-h3jm-cwrc

Remediation

  • Fix · GHSA-g9cg-h3jm-cwrc @hapi/pez (npm) Fixed in 5.0.1 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-g9cg-h3jm-cwrc

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences