Vulnerability in Apt-Cacher-Ng Project
CVE-2020-5202
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (37.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 38th percentile — 37.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Apt-Cacher-Ng Project
- Debian Linux — versions 8.0, 9.0, 10.0
- openSUSE Backports — versions sle-15
- openSUSE Leap — versions 15.1
References
- security-tracker.debian.org/tracker/CVE-2020-5202 (Patch, Third Party Advisory)
- www.openwall.com/lists/oss-security/2020/01/20/4 (mailing-list, Exploit, Mailing List, Third Party Advisory)
- seclists.org/oss-sec/2020/q1/21 (mailing-list, Exploit, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html (vendor-advisory, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-5202?
- CVE-2020-5202 is a medium-severity vulnerability in Apt-Cacher-Ng Project. CVSS score: 5.5/10. Published 2020-01-21.
- How severe is CVE-2020-5202?
- Medium severity. CVSS v3 base score is 5.5 out of 10.