title: apt integer wraparound
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;
problem types: CWE-190 Integer Overflow or Wraparound
affected:
{
product: apt
vendor: Canonical
versions:
lessThan: 1.2.32ubuntu0.2, status: affected, version: 1.2.32ubuntu0, versionType: custom
lessThan: 1.6.12ubuntu0.2, status: affected, version: 1.6.12ubuntu0, versionType: custom
lessThan: 2.0.2ubuntu0.2, status: affected, version: 2.0.2ubuntu0, versionType: custom
lessThan: 2.1.10ubuntu0.1, status: affected, version: 2.1.10ubuntu0, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: LOW
baseScore: 5.7
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: HIGH
scope: CHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
version: 3.1
]