LiveActive security incident?Get immediate response
CVE Record

CVE-2021-4307: Yomguithereal Baobab prototype pollution

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-4307 is a prototype pollution issue in Yomguithereal Baobab through 2.6.0. In affected applications, malicious input may alter shared JavaScript object behavior, potentially affecting confidentiality, integrity, or availability. The provided sources name version 2.6.1 as the fix.

Executive priority

Prioritize remediation where Baobab is present in internet-facing or user-input-heavy applications. This is not KEV-listed in the supplied evidence, but prototype pollution can create broader application impact, so fixing through normal dependency patching should not be deferred indefinitely.

Technical view

The issue is classified as CWE-1321: improperly controlled modification of object prototype attributes. The affected functionality is not identified in the bundle. CVSS v2 is 6.5 with network attack vector, low complexity, single authentication, and partial C/I/A impact. The patch is commit c56639532a923d9a1600fb863ec7551b188b5d19 and release 2.6.1.

Likely exposure

Exposure is most likely in JavaScript applications that directly or transitively depend on Baobab versions 2.0 through 2.6.0 and process attacker-influenced data through that library. Products not using Baobab are not indicated as affected by the supplied sources.

Exploitation context

The bundle states remote attack is possible and the CVSS vector indicates authentication is required. KEV is false, and no cited source in the bundle establishes active exploitation. The vulnerable functionality is described as unknown, so practical exploitability depends on application-specific usage.

Researcher notes

The source bundle lacks the exact vulnerable function and does not provide exploitation evidence. Treat analysis as dependency-focused: identify Baobab use, compare versions, inspect the 2.6.1 patch, and validate application paths that accept untrusted data into Baobab-managed state.

Mitigation direction

  • Inventory applications and lockfiles for Baobab versions 2.0 through 2.6.0.
  • Upgrade Baobab to version 2.6.1 or later.
  • Rebuild and redeploy any application bundling the vulnerable dependency.
  • If upgrade is delayed, review vendor guidance and restrict attacker-controlled inputs reaching Baobab usage paths.

Validation and detection

  • Confirm dependency manifests and resolved lockfiles no longer reference Baobab 2.6.0 or earlier.
  • Verify deployed bundles were rebuilt after the dependency update.
  • Run existing unit and regression tests around state-tree input handling.
  • Review software composition analysis results for remaining transitive Baobab exposure.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-1321: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-4307 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (2.0)
Known Exploited
No
Published

Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 2.0MediumAV:N/AC:L/Au:S/C:P/I:P/A:P86.4Primary CVE score

Vulnerability scoring details

Base CVSS 2.0 score

6.5Medium
CVSS 2.0 vector shape for CVE-2021-4307Access VectorAccess ComplexityAuthenticationConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P

Access Vector
NetworkAdjacentLocal
Access Complexity
LowMediumHigh
Authentication
NoneSingleMultiple
Confidentiality Impact
CompletePartialNone
Integrity Impact
CompletePartialNone
Availability Impact
CompletePartialNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
YomguitherealBaobab2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-1321 · source CWE mapping

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.