CVE-2021-30139 json
In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.
published 2021-04-21 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-17076
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.
Patch / fix
- alpinelinux apk-tools 2.10.6, 2.12.5
- apk-tools Alpine 3.12, Alpine 3.11, Alpine 3.10 2.10.6-r0
- apk-tools Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 2.12.5-r0
alpine advisories ALPINE-CVE-2021-30139
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Exploit prediction
1.62% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
gitlab.alpinelinux.org
/alpine/apk-tools/-/issues/10741
third-party-advisory
-
gitlab.alpinelinux.org
/alpine/aports/-/issues/12606
third-party-advisory
Sources
- CVE List CVE-2021-30139
- NVD CVE-2021-30139
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.