Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Apt-Cacher-Ng Project | Apt-Cacher-Ng | <= 3.3 |
| Debian | Debian Linux | 8.0 |
| Opensuse | Backports | sle-15 |
| Opensuse | Leap | 15.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.htmlMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/20/4ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/20/4ExploitMailing ListThird Party Advisory
- https://seclists.org/oss-sec/2020/q1/21ExploitMailing ListThird Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2020-5202PatchThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.htmlMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/20/4ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/20/4ExploitMailing ListThird Party Advisory
- https://seclists.org/oss-sec/2020/q1/21ExploitMailing ListThird Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2020-5202PatchThird Party Advisory
FAQ
What is CVE-2020-5202?
CVE-2020-5202 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 T...
How severe is CVE-2020-5202?
CVE-2020-5202 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-5202?
Check the references section above for vendor advisories and patch information. Affected products include: Apt-Cacher-Ng Project Apt-Cacher-Ng, Debian Debian Linux, Opensuse Backports, Opensuse Leap.