Every CVE Search/ Get API key

CVE-2021-30139

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

7.5 HighFix available

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.62%Up 1.0 points since Apr 27, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

Record
CVE-2021-30139
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

Record
CVE-2021-30139
Updated
2026-11-02
EUVDEUVD-2021-17076 No score

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

Record
EUVD-2021-17076
Updated
2026-11-03
GitHub AdvisoriesGHSA-j8vp-8v7m-rpjr No score

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

Record
GHSA-j8vp-8v7m-rpjr
Weakness
CWE-125
Updated
2026-11-02
OSVALPINE-CVE-2021-30139 7.5

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

Record
ALPINE-CVE-2021-30139
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2021-30139 7.5

CVE-2021-30139 does not affect BellSoft software

Record
BELL-CVE-2021-30139
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 7.5

In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.

Record
CVE-2021-30139
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
apk-tools
Alpine:v3.10
2.12.0 up to 2.10.6-r0
2.10.6-r0
apk-tools
Alpine:v3.11
2.12.0 up to 2.10.6-r0
2.10.6-r0
apk-tools
Alpine:v3.12
2.12.0 up to 2.10.6-r0
2.10.6-r0
apk-tools
Alpine:v3.13
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.14
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.15
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.16
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.17
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.18
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.19
2.12.0 up to 2.12.5-r0
2.12.5-r0
Show 5 moreShow less
Affected packages
PackageAffectedFixed
apk-tools
Alpine:v3.20
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.21
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.22
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.23
2.12.0 up to 2.12.5-r0
2.12.5-r0
apk-tools
Alpine:v3.24
2.12.0 up to 2.12.5-r0
2.12.5-r0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-30139 is a high vulnerability (CVSS 7.5) in Alpinelinux Apk-tools, published April 21, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.62%, the 76th percentile. Fixed in apk-tools 2.10.6-r0.

References

MoveEnter Open