Vulnerability · Published Jan 21, 2020 · Assigned by mitre

CVE-2020-5202

Medium 5.5

In plain English

A medium-severity security flaw in the apt-cacher-ng package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.5%top 59.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

apt-cacher-ng through 3.3 allows local users to obtain sensitive information by hijacking the hardcoded TCP port. The /usr/lib/apt-cacher-ng/acngtool program attempts to connect to apt-cacher-ng via TCP on localhost port 3142, even if the explicit SocketPath=/var/run/apt-cacher-ng/socket command-line option is passed. The cron job /etc/cron.daily/apt-cacher-ng (which is active by default) attempts this periodically. Because 3142 is an unprivileged port, any local user can try to bind to this port and will receive requests from acngtool. There can be sensitive data in these requests, e.g., if AdminAuth is enabled in /etc/apt-cacher-ng/security.conf. This sensitive data can leak to unprivileged local users that manage to bind to this port before the apt-cacher-ng daemon can.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12apt-cacher-ng3.3.1-1DEBIAN-CVE-2020-5202
Debian:13apt-cacher-ng3.3.1-1DEBIAN-CVE-2020-5202
Debian:14apt-cacher-ng3.3.1-1DEBIAN-CVE-2020-5202

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References