GHSA-g9cg-h3jm-cwrc – @hapi/subtext
Package
Manager: npm
Name: @hapi/subtext
Vulnerable Version: >=0 <6.1.3 || >=7.0.0 <7.0.3
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:U/RC:R
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
Prototype Pollution in @hapi/subtext Versions of `@hapi/subtext` prior to 6.1.3 or 7.0.3 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 6.1.3, 7.0.3 or later.
Metadata
Created: 2020-09-03T15:47:23Z
Modified: 2021-10-04T21:00:50Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-g9cg-h3jm-cwrc/GHSA-g9cg-h3jm-cwrc.json
CWE IDs: ["CWE-1321"]
Alternative ID: N/A
Finding: F390
Auto approve: 1