What’s Vulnerable › Vulnerabilities
CVE-2020-5202
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-01-21 · updated 2026-06-17
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 products
- Apt-Cacher-NG: through 3.3
- Debian Linux: 8.0, 9.0, 10.0
- openSUSE Backports: sle-15-sp1
- openSUSE Leap: 15.1
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html
- http://www.openwall.com/lists/oss-security/2020/01/20/4
- http://www.openwall.com/lists/oss-security/2020/01/20/4
- http://www.openwall.com/lists/oss-security/2020/01/20/4
- http://www.openwall.com/lists/oss-security/2020/01/20/4
- https://seclists.org/oss-sec/2020/q1/21
- https://security-tracker.debian.org/tracker/CVE-2020-5202
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html
- http://www.openwall.com/lists/oss-security/2020/01/20/4
- http://www.openwall.com/lists/oss-security/2020/01/20/4
Get alerted when CVE-2020-5202 or the next vulnerability affects your stack