CVE-2020-27350
CVE-2020-27350 · apt integer wraparound
CVSS 5.7 · Medium · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- aptUpdate to 1.2.32ubuntu0.2 / 1.6.12ubuntu0.2 / 2.0.2ubuntu0.2 …
- apt Debian 12Update to 2.1.13
- apt Debian 13Update to 2.1.13
- apt Debian 14Update to 2.1.13
- and 4 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="apt"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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;
- Published
- Updated
Fixes in distributions
- USN-4667-2 · Ubuntu Pro 14.04 LTS ·
- DLA-2487-1 · Debian 9 ·
- USN-4667-1 · Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS ·
- DSA-4808-1 · Debian 10 ·
Stack: system
Affected products and versions
apt
- Versions
- ≥ 1.2.32ubuntu0, < 1.2.32ubuntu0.2: Affected (custom)
- ≥ 1.6.12ubuntu0, < 1.6.12ubuntu0.2: Affected (custom)
- ≥ 2.0.2ubuntu0, < 2.0.2ubuntu0.2: Affected (custom)
- ≥ 2.1.10ubuntu0, < 2.1.10ubuntu0.1: Affected (custom)
Update to 1.2.32ubuntu0.2; Update to 1.6.12ubuntu0.2; Update to 2.0.2ubuntu0.2; Update to 2.1.10ubuntu0.1
apt Debian 12
- Affected ranges
- ECOSYSTEM: < 2.1.13
Update to 2.1.13
apt Debian 13
- Affected ranges
- ECOSYSTEM: < 2.1.13
Update to 2.1.13
apt Debian 14
- Affected ranges
- ECOSYSTEM: < 2.1.13
Update to 2.1.13
apt Ubuntu Pro 14.04 LTS
- Versions
- 0.9.9.1~ubuntu3
- 0.9.9.1~ubuntu4
- 0.9.9.1~ubuntu5
- 0.9.13~exp1ubuntu1
- 0.9.13~exp1ubuntu2
- 0.9.13~exp1ubuntu3
All versions (38)
- 0.9.13.1~ubuntu1
- 0.9.14.1ubuntu1
- 0.9.14.1ubuntu2
- 0.9.15.1ubuntu1
- 0.9.15.4ubuntu1
- 0.9.15.4ubuntu2
- 0.9.15.4ubuntu3
- 0.9.15.4ubuntu4
- 0.9.15.4ubuntu5
- 1.0.1ubuntu2
- 1.0.1ubuntu2.1
- 1.0.1ubuntu2.3
- 1.0.1ubuntu2.4.1
- 1.0.1ubuntu2.5
- 1.0.1ubuntu2.6
- 1.0.1ubuntu2.7
- 1.0.1ubuntu2.8
- 1.0.1ubuntu2.9
- 1.0.1ubuntu2.10
- 1.0.1ubuntu2.11
- 1.0.1ubuntu2.12
- 1.0.1ubuntu2.13
- 1.0.1ubuntu2.14
- 1.0.1ubuntu2.15
- 1.0.1ubuntu2.17
- 1.0.1ubuntu2.18
- 1.0.1ubuntu2.19
- 1.0.1ubuntu2.20
- 1.0.1ubuntu2.22
- 1.0.1ubuntu2.23
- 1.0.1ubuntu2.24
- 1.0.1ubuntu2.24+esm1
- Affected ranges
- ECOSYSTEM: < 1.0.1ubuntu2.24+esm3
Update to 1.0.1ubuntu2.24+esm3
apt Ubuntu 16.04 LTS
- Versions
- 1.0.10.2ubuntu1
- 1.1.4
- 1.1.5
- 1.1.10
- 1.2.3
- 1.2.4
All versions (27)
- 1.2.6
- 1.2.7
- 1.2.8
- 1.2.9
- 1.2.10
- 1.2.10ubuntu1
- 1.2.12~ubuntu16.04.1
- 1.2.15
- 1.2.15ubuntu0.2
- 1.2.18
- 1.2.19
- 1.2.20
- 1.2.24
- 1.2.25
- 1.2.26
- 1.2.27
- 1.2.29
- 1.2.29ubuntu0.1
- 1.2.31
- 1.2.32
- 1.2.32ubuntu0.1
- Affected ranges
- ECOSYSTEM: < 1.2.32ubuntu0.2
Update to 1.2.32ubuntu0.2
apt Ubuntu 18.04 LTS
- Versions
- 1.5
- 1.5.1
- 1.6~alpha5
- 1.6~alpha7ubuntu1
- 1.6~alpha7ubuntu2
- 1.6~beta1
All versions (19)
- 1.6~rc1
- 1.6
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.3ubuntu0.1
- 1.6.6
- 1.6.6ubuntu0.1
- 1.6.8
- 1.6.10
- 1.6.11
- 1.6.12
- 1.6.12ubuntu0.1
- Affected ranges
- ECOSYSTEM: < 1.6.12ubuntu0.2
Update to 1.6.12ubuntu0.2
apt Ubuntu 20.04 LTS
- Versions
- 1.9.4
- 1.9.5
- 1.9.7
- 1.9.8
- 1.9.9
- 1.9.10
All versions (11)
- 2.0.0
- 2.0.1
- 2.0.1ubuntu1
- 2.0.2
- 2.0.2ubuntu0.1
- Affected ranges
- ECOSYSTEM: < 2.0.2ubuntu0.2
Update to 2.0.2ubuntu0.2