Skip to content
OpenAdvisories
Medium · 5.7 CVE-2020-27350 EUVD-2020-19862GHSA-j2wg-wfjw-m5cq

apt integer wraparound

Published Dec 10, 2020 · Updated Sep 17, 2024 · Assigned by canonical

Description

APT had several integer overflows and underflows while parsing .deb packages, aka GHSL-2020-168 GHSL-2020-169, in files apt-pkg/contrib/extracttar.cc, apt-pkg/deb/debfile.cc, and apt-pkg/contrib/arfile.cc. This issue affects: apt 1.2.32ubuntu0 versions prior to 1.2.32ubuntu0.2; 1.6.12ubuntu0 versions prior to 1.6.12ubuntu0.2; 2.0.2ubuntu0 versions prior to 2.0.2ubuntu0.2; 2.1.10ubuntu0 versions prior to 2.1.10ubuntu0.1;

Affected products

VendorProductAffectedFixed
Canonical apt 1.2.32ubuntu0 – < 1.2.32ubuntu0.2, 1.6.12ubuntu0 – < 1.6.12ubuntu0.2, 2.0.2ubuntu0 – < 2.0.2ubuntu0.2, 2.1.10ubuntu0 – < 2.1.10ubuntu0.1 1.2.32ubuntu0.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apt 2.1.13 —
Debian 13 apt 2.1.13 —
Debian 12 apt 2.1.13 —
Debian 10 apt 1.8.2.2 DSA-4808-1
Debian 9 apt 1.4.11 DLA-2487-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS apt 2.0.2ubuntu0.2 USN-4667-1
Ubuntu 18.04 LTS apt 1.6.12ubuntu0.2 USN-4667-1
Ubuntu 16.04 LTS apt 1.2.32ubuntu0.2 USN-4667-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS apt 1.0.1ubuntu2.24+esm3 USN-4667-2

Advisories 4

References