Integer Overflow or Wraparound Affecting apt package, versions <2.0.2ubuntu0.2


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-APT-1050038
  • published10 Dec 2020
  • disclosed10 Dec 2020

Introduced: 10 Dec 2020

CVE-2020-27350  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 apt to version 2.0.2ubuntu0.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apt package and not the apt package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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;

CVSS Scores

version 3.1