CVE-2020-5202
lowpriority · track · 22EPSS 0.005 · 40 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 2.1–5.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
- apt-cacher-ng project apt-cacher-ng≤ 3.3nvdUScpe:2.3:a:apt-cacher-ng_project:apt-cacher-ng:*:*:*:*:*:*:*:*
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (18)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.htmlcnnvd
- http://www.openwall.com/lists/oss-security/2020/01/20/4cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-5202cnnvd
- https://salsa.debian.org/blade/apt-cacher-ng/commit/3b91874b0c099b0ded1a94f1784fe1265082efbcPatchcnnvd
- https://seclists.org/oss-sec/2020/q1/21cnnvd
- https://security-tracker.debian.org/tracker/CVE-2020-5202cnnvd
- https://vigilance.fr/vulnerability/apt-cacher-ng-information-disclosure-via-TCP-Port-3142-31460cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan