Integer Overflow or Wraparound Affecting apt package, versions [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)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (30th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-APT-3003946
  • published26 Jan 2022
  • disclosed10 Dec 2020
  • creditUnknown

Introduced: 10 Dec 2020

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

How to fix?

Upgrade apt to version 1.2.32ubuntu0.2, 1.6.12ubuntu0.2, 2.0.2ubuntu0.2, 2.1.10ubuntu0.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or 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;

CVSS Base Scores

version 3.1