CVE catalog

CVE-2021-36159

ALPINE-CVE-2021-36159

[CVE catalog]

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
2.64% · Oct 25, 2026

libfetch before 2021-07-26, as used in apk-tools, xbps, and other products, mishandles numeric strings for the FTP and HTTP protocols. The FTP passive mode implementation allows an out-of-bounds read because strtol is used to parse the relevant numbers into address bytes. It does not check if the line ends prematurely. If it does, the for-loop condition checks for the '\0' terminator one byte too late.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Alpineapk-tools3.102.10.7-r0fixed
Alpineapk-tools3.112.10.7-r0fixed
Alpineapk-tools3.122.10.7-r0fixed
Alpineapk-tools3.132.12.6-r0fixed
Alpineapk-tools3.142.12.6-r0fixed
Alpineapk-tools3.152.12.6-r0fixed
Alpineapk-tools3.162.12.6-r0fixed
Alpineapk-tools3.172.12.6-r0fixed
Alpineapk-tools3.182.12.6-r0fixed
Alpineapk-tools3.192.12.6-r0fixed
Alpineapk-tools3.202.12.6-r0fixed
Alpineapk-tools3.212.12.6-r0fixed
Alpineapk-tools3.222.12.6-r0fixed
Alpineapk-tools3.232.12.6-r0fixed
Alpineapk-tools3.242.12.6-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Alpineapk-toolsapk3.102.10.7-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.112.10.7-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.122.10.7-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.132.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.142.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.152.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.162.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.172.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.182.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.192.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.202.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.212.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.222.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.232.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported
Alpineapk-toolsapk3.242.12.6-r0Not reportedALPINE-CVE-2021-36159Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References