LiveActive security incident?Get immediate response
CVE Record

CVE-2021-20204: A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing ma...

A heap memory corruption problem (use after free) can be triggered in libgetdata v0.10.0 when processing maliciously crafted dirfile databases. This degrades the confidentiality, integrity and availability of third-party software that uses libgetdata as a library. This vulnerability may lead to arbitrary code execution or privilege escalation depending on input/skills of attacker.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2021-20204 is a critical memory-safety flaw in libgetdata v0.10.0. A malicious dirfile database can corrupt heap memory in software that uses this library. Business impact depends on whether exposed applications process untrusted dirfile data, but the stated impact includes confidentiality, integrity, availability, code execution, and privilege escalation risks.

Executive priority

Treat as high-priority remediation where libgetdata is used in exposed ingestion, analytics, or file-processing services. The severity is critical, but urgency should be driven by confirmed use of libgetdata v0.10.0 and whether untrusted dirfile databases are processed.

Technical view

The issue is a use-after-free heap memory corruption flaw in libgetdata v0.10.0 when handling crafted dirfile databases. The CVSS 3.1 score is 9.8 with network, low-complexity, no-privilege, no-user-interaction characteristics. The CVE maps to CWE-119 and affects third-party software embedding or linking against libgetdata.

Likely exposure

Most likely exposure is software, services, or scientific/data-processing pipelines that use libgetdata/getdata and accept dirfile databases from users, partners, network sources, or automated ingestion. Systems using only trusted local dirfile data have lower practical exposure, but still need inventory confirmation.

Exploitation context

The provided bundle does not show CISA KEV listing or cited active exploitation. Exploitation would require a vulnerable libgetdata path processing a malicious dirfile database. The CVE states possible arbitrary code execution or privilege escalation, but actual impact depends on process privileges and deployment context.

Researcher notes

Evidence supports a libgetdata v0.10.0 use-after-free during malicious dirfile parsing, with distro advisories from Debian and Fedora. The bundle does not provide exploit artifacts, KEV status, or a universal upstream fixed version. Validate exposure through dependency inventory and dirfile input paths.

Mitigation direction

  • Apply applicable Debian or Fedora security updates for libgetdata/getdata packages.
  • Inventory applications statically or dynamically linked against libgetdata v0.10.0.
  • Restrict processing of untrusted dirfile databases until patched or vendor guidance is confirmed.
  • For bundled copies, check vendor guidance and rebuild against a fixed library.
  • Prioritize internet-facing or automated ingestion workflows that process externally supplied files.

Validation and detection

  • Check package inventory for libgetdata or getdata version v0.10.0.
  • Review SBOMs and build manifests for bundled libgetdata copies.
  • Identify applications that accept dirfile databases from untrusted sources.
  • Confirm Debian or Fedora advisory updates are installed where applicable.
  • Verify vulnerable workflows no longer run against libgetdata v0.10.0.
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-119: 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
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-20204 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
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

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

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
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2021-20204Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/agetdatav0.10.0Listed
Weakness

CWE details

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

CWE-119 · source CWE mapping

Improper Restriction of Operations within the Bounds of a Memory Buffer

Improper Restriction of Operations within the Bounds of a Memory Buffer represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.