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

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

January 7, 2023 (updated January 9, 2023)

A vulnerability was found in Yomguithereal Baobab up to 2.6.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality. The manipulation leads to improperly controlled modification of object prototype attributes (‘prototype pollution’). The attack can be launched remotely. Upgrading to version 2.6.1 is able to address this issue. The name of the patch is c56639532a923d9a1600fb863ec7551b188b5d19. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217627.

References

  • github.com/Yomguithereal/baobab/commit/c56639532a923d9a1600fb863ec7551b188b5d19
  • github.com/Yomguithereal/baobab/pull/511
  • github.com/Yomguithereal/baobab/releases/tag/2.6.1
  • github.com/advisories/GHSA-wvr2-q86m-6whp
  • nvd.nist.gov/vuln/detail/CVE-2021-4307
  • vuldb.com/?ctiid.217627
  • vuldb.com/?id.217627

Code Behaviors & Features

Detect and mitigate CVE-2021-4307 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.6.1

Fixed versions

  • 2.6.1

Solution

Upgrade to version 2.6.1 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')

Source file

npm/baobab/CVE-2021-4307.yml

Spotted a mistake? Edit the file on GitLab.

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

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