CVE-2020-27350apt integer wraparound
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;
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | apt | Fixed | 2.0.2ubuntu0.2 | UBUNTU-CVE-2020-27350 |
| Ubuntu 18.04 | apt | Fixed | 1.6.12ubuntu0.2 | UBUNTU-CVE-2020-27350 |
| Ubuntu 16.04 | apt | Fixed | 1.2.32ubuntu0.2 | UBUNTU-CVE-2020-27350 |
| Ubuntu 14.04 | apt | Fix pending | 1.0.1ubuntu2.24+esm3 (Ubuntu Pro) | UBUNTU-CVE-2020-27350 |
| Debian 14 | apt | Fixed | 2.1.13 | DEBIAN-CVE-2020-27350 |
| Debian 13 | apt | Fixed | 2.1.13 | DEBIAN-CVE-2020-27350 |
| Debian 12 | apt | Fixed | 2.1.13 | DEBIAN-CVE-2020-27350 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Canonical apt: affected: 1.2.32ubuntu0 to before 1.2.32ubuntu0.2, 1.6.12ubuntu0 to before 1.6.12ubuntu0.2, 2.0.2ubuntu0 to before 2.0.2ubuntu0.2, 2.1.10ubuntu0 to before 2.1.10ubuntu0.1; fixed in
1.2.32ubuntu0.2,1.6.12ubuntu0.2,2.0.2ubuntu0.2,2.1.10ubuntu0.1
Vendor advisories:
- https://www.debian.org/security/2020/dsa-4808 (vendor-advisory)
References
- https://usn.ubuntu.com/usn/usn-4667-1
- https://bugs.launchpad.net/bugs/1899193
- https://www.debian.org/security/2020/dsa-4808
- https://security.netapp.com/advisory/ntap-20210108-0005/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.