
CVE catalog
CVE-2020-5202
apt-cacher-ng: CVE-2020-5202
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.47% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | apt-cacher-ng | sid | 3.7.5-1.3 | fixed |
| Debian | apt-cacher-ng | forky | 3.7.5-1.3 | fixed |
| Debian | apt-cacher-ng | trixie | 3.7.5-1 | fixed |
| Debian | apt-cacher-ng | bookworm | 3.7.4-1 | fixed |
| Ubuntu | apt-cacher-ng | 16.04 | 0.8.5-1 | vulnerable |
| Ubuntu | apt-cacher-ng | 16.04 | 0.8.6-1 | vulnerable |
| Ubuntu | apt-cacher-ng | 16.04 | 0.8.7-1 | vulnerable |
| Ubuntu | apt-cacher-ng | 16.04 | 0.8.8-1 | vulnerable |
| Ubuntu | apt-cacher-ng | 16.04 | 0.8.9-1 | vulnerable |
| Ubuntu | apt-cacher-ng | 16.04 | 0.8.9-1ubuntu1 | vulnerable |
| Ubuntu | apt-cacher-ng | 16.04 | 0.9.1-1ubuntu1 | vulnerable |
| Ubuntu | apt-cacher-ng | 18.04 | 3-5 | vulnerable |
| Ubuntu | apt-cacher-ng | 18.04 | 3.1-1 | vulnerable |
| Ubuntu | apt-cacher-ng | 18.04 | 3.1-1build1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | apt-cacher-ng | source | sid | 3.3.1-1 | not yet assigned | Not reported | Not reported |
| Debian | apt-cacher-ng | source | forky | 3.3.1-1 | not yet assigned | Not reported | Not reported |
| Debian | apt-cacher-ng | source | trixie | 3.3.1-1 | not yet assigned | Not reported | Not reported |
| Debian | apt-cacher-ng | source | bookworm | 3.3.1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [apt-cacher-ng]Fixed
Source package: [apt-cacher-ng]
Details (2)
3.7.4-1+b2· amd64 · bookwormFixed · Fixed:
3.3.1-1dsa · apt-cacher-ng · debian · bookworm; dsa · apt-cacher-ng · debian · 12
3.7.4-1+b2· arm64 · bookwormFixed · Fixed:
3.3.1-1dsa · apt-cacher-ng · debian · bookworm; dsa · apt-cacher-ng · debian · 12
[Debian 13 (Trixie)]
- [apt-cacher-ng]Fixed
Source package: [apt-cacher-ng]
Details (2)
3.7.5-1· amd64 · trixieFixed · Fixed:
3.3.1-1dsa · apt-cacher-ng · debian · 13
3.7.5-1+b1· arm64 · trixieFixed · Fixed:
3.3.1-1dsa · apt-cacher-ng · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2020_0124-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-5202]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-5202]
- [https://security-tracker.debian.org/tracker/CVE-2020-5202]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]