jwtk/njwt · Security
njwt Prototype Pollution vulnerability
- GHSA ID
- GHSA-3hvj-2783-34x2
- CVE ID
- CVE-2024-34273
- Severity
- high
- Published
- Updated
- CVSS
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
njwt up to v0.4.0 was discovered to contain a prototype pollution in the Parser.prototype.parse method.
CWEs
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-34273 ↗
- https://github.com/chrisandoryan/vuln-advisory/blob/main/nJwt/CVE-2024-34273.md ↗
- https://github.com/jwtk/njwt/issues/105 ↗
- https://github.com/jwtk/njwt/commit/ec9483b6eec1150d56f772ddd308c2bbdf2f98f4 ↗
- https://github.com/advisories/GHSA-3hvj-2783-34x2 ↗