Vulnerability · Published May 6, 2021 · Assigned by redhat
CVE-2021-20204
Critical 9.8
In plain English
A critical-severity memory corruption in getdata. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libgetdata | 0.10.0-10 | DEBIAN-CVE-2021-20204 |
| Debian:13 | libgetdata | 0.10.0-10 | DEBIAN-CVE-2021-20204 |
| Debian:14 | libgetdata | 0.10.0-10 | DEBIAN-CVE-2021-20204 |
| Ubuntu:22.04:LTS | libgetdata | no fix listed | UBUNTU-CVE-2021-20204 |
| Ubuntu:24.04:LTS | libgetdata | no fix listed | UBUNTU-CVE-2021-20204 |
| Ubuntu:25.10 | libgetdata | no fix listed | UBUNTU-CVE-2021-20204 |
| Ubuntu:26.04:LTS | libgetdata | no fix listed | UBUNTU-CVE-2021-20204 |
| Ubuntu:26.10 | libgetdata | no fix listed | UBUNTU-CVE-2021-20204 |
Affected products (as reported)
Weakness: CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1956348 x_refsource_MISC
- [debian-lts-announce] 20210513 [SECURITY] [DLA 2660-1] libgetdata security update mailing-list, x_refsource_MLIST
- FEDORA-2021-e2b64c614b vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-3b8bb26909 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-197545a753 vendor-advisory, x_refsource_FEDORA