Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. njwt
  4. ›
  5. CVE-2024-34273

CVE-2024-34273: njwt Prototype Pollution vulnerability

May 16, 2024 (updated November 18, 2024)

njwt up to v0.4.0 was discovered to contain a prototype pollution in the Parser.prototype.parse method.

References

  • github.com/advisories/GHSA-3hvj-2783-34x2
  • github.com/chrisandoryan/vuln-advisory/blob/main/nJwt/CVE-2024-34273.md
  • github.com/jwtk/njwt
  • github.com/jwtk/njwt/commit/ec9483b6eec1150d56f772ddd308c2bbdf2f98f4
  • github.com/jwtk/njwt/issues/105
  • nvd.nist.gov/vuln/detail/CVE-2024-34273

Code Behaviors & Features

Detect and mitigate CVE-2024-34273 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.1

Fixed versions

  • 2.0.1

Solution

Upgrade to version 2.0.1 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/njwt/CVE-2024-34273.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:00 +0000.