cve.bz

CVE-2020-5202

5.5 mediumExploit referenceEPSS 0.5%Fix available

Medium (5.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-5202 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-5202?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-5202?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-5202 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apt-cacher-ng_project:apt-cacher-ngthrough 3.3
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0
opensuse:backportssle-15:sp1
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14apt-cacher-ng3.3.1-1DEBIAN-CVE-2020-5202
Ubuntu16.04:LTS, 18.04:LTSapt-cacher-ngno fix listedUBUNTU-CVE-2020-5202
SUSEPackage Hub 15 SP1apt-cacher-ng3.1-bp151.4.3.1openSUSE-SU-2020:0146-1
openSUSELeap 15.1apt-cacher-ng3.1-lp151.3.3.1openSUSE-SU-2020:0124-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

References

Check your stackJSON