QID 375847

Date Published: 2021-09-20

QID 375847: Alpine Linux Alpine Package Keeper (APK) Remote Code Execution Vulnerability

Alpine Linux is an independent, non-commercial, general-purpose Linux distribution designed for power users who appreciate security, simplicity, and resource efficiency.

A vulnerability in the apk-tools package used by Alpine Linux could allow an unauthenticated, remote attacker to execute arbitrary code on a targeted system.
The vulnerability exists because the affected software improperly handles symbolic and hard file links when extracting the contents of an Alpine Package Keeper (APK) file.

Affected Versions:
Alpine Linux apk-tools 2.7.7 to 2.10.0
Alpine Linux apk-tools 2.7.0 to 2.7.5
Alpine Linux apk-tools upto 2.6.9

QID Detection Logic(Authenticated):

A successful exploit could allow the attacker to execute arbitrary code and completely compromise the system.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Customers are advised to download the latest version of apk-tools 2.10.1 or later.
    For more information, visit Alpine Linux apk-tools.
    Vendor References

    CVEs related to QID 375847

    Software Advisories
    Advisory ID Software Component Link
    Alpine Linux URL Logo stack.watch/product/alpinelinux/
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report