Integer overflow in apt (Debian package) - CVE-2020-27350

 

Integer overflow in apt (Debian package) - CVE-2020-27350

Published: December 10, 2020 / Updated: January 12, 2021


Vulnerability identifier: #VU49491
CSH Severity: Low
CVSS v4: 2.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-27350
CWE-ID: CWE-190
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to integer overflow while parsing .deb packages in files apt-pkg/contrib/extracttar.cc, apt-pkg/deb/debfile.cc, and apt-pkg/contrib/arfile.cc. A local user can pass specially crafted file to the application, trigger integer overflow and execute arbitrary code on the target system with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

apt (Debian package)
apt (Ubuntu package)
Debian Linux
Ubuntu
Azure Active Directory Pod Identity for Kubernets
Juniper Cloud Native Router
Junos cRPD

How to mitigate CVE-2020-27350

Install updates from vendor's website.

apt (Debian package) - update to 1.8.2.2
Azure Active Directory Pod Identity for Kubernets - update to 1.7.1
apt (Ubuntu package) - addressed in versions 1.0.1ubuntu2.24+esm3, 1.2.32ubuntu0.2, 1.6.12ubuntu0.2, 2.0.2ubuntu0.2, 2.1.10ubuntu0.1
Juniper Cloud Native Router - update to 23.4R1
Junos cRPD - update to 23.4R1

External References

Related Security Bulletins