CVE-2020-5202

Public Exploit

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.

5.5
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.07%
Vendor Advisory opensuse.org Vendor Advisory opensuse.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://security-tracker.debian.org/tracker/CVE-2020-5202 third party advisory patch
http://www.openwall.com/lists/oss-security/2020/01/20/4 mailing list third party advisory exploit
https://seclists.org/oss-sec/2020/q1/21 mailing list third party advisory exploit
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html vendor advisory mailing list third party advisory
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html vendor advisory mailing list third party advisory

Frequently Asked Questions

What is the severity of CVE-2020-5202?
CVE-2020-5202 has been scored as a medium severity vulnerability.
How to fix CVE-2020-5202?
To fix CVE-2020-5202, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-5202 being actively exploited in the wild?
It is possible that CVE-2020-5202 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.