Advisory Published
Updated

CVE-2020-5202

First published: Tue Jan 21 2020(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Apt-cacher-ng Project Apt-cacher-ng<=3.3
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Opensuse Backports=sle-15-sp1
openSUSE Leap=15.1
debian/apt-cacher-ng
3.6.4-1
3.7.4-1
3.7.5-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID of this issue?

    The vulnerability ID is CVE-2020-5202.

  • What is the severity level of CVE-2020-5202?

    The severity level of CVE-2020-5202 is medium, with a severity value of 5.5.

  • How can local users exploit CVE-2020-5202?

    Local users can exploit CVE-2020-5202 by hijacking the hardcoded TCP port used by the /usr/lib/apt-cacher-ng/acngtool program.

  • Which software versions are affected by CVE-2020-5202?

    The affected software versions include apt-cacher-ng versions 3.2.1-1, 3.6.4-1, and 3.7.4-1.

  • Where can I find more information about CVE-2020-5202?

    You can find more information about CVE-2020-5202 at the following references: [Reference 1](http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html), [Reference 2](http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html), [Reference 3](http://www.openwall.com/lists/oss-security/2020/01/20/4).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203