Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. rfc6902
  4. ›
  5. CVE-2021-4245

CVE-2021-4245: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

December 15, 2022

A vulnerability classified as problematic has been found in chbrown rfc6902. This affects an unknown part of the file pointer.ts. The manipulation leads to improperly controlled modification of object prototype attributes (‘prototype pollution’). The exploit has been disclosed to the public and may be used. The name of the patch is c006ce9faa43d31edb34924f1df7b79c137096cf. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-215883.

References

  • github.com/advisories/GHSA-p495-jxh2-wrfg
  • github.com/chbrown/rfc6902/commit/c006ce9faa43d31edb34924f1df7b79c137096cf
  • github.com/chbrown/rfc6902/issues/84
  • github.com/chbrown/rfc6902/pull/76
  • nvd.nist.gov/vuln/detail/CVE-2021-4245
  • vuldb.com/?id.215883

Code Behaviors & Features

Detect and mitigate CVE-2021-4245 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 5.0.0

Fixed versions

  • 5.0.0

Solution

Upgrade to version 5.0.0 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/rfc6902/CVE-2021-4245.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:49 +0000.