{"id":"CVE-2020-5202","aliases":["DEBIAN-CVE-2020-5202","EUVD-2020-26446","GHSA-ppjv-mwcc-539j","UBUNTU-CVE-2020-5202","openSUSE-SU-2020:0124-1","openSUSE-SU-2020:0146-1"],"status":"published","title":"apt-cacher-ng through 3.3 allows local users to obtain sensitive information by hijacking the...","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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00469,"percentile":0.40838,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2020-01-21T17:54:04Z","modified":"2026-10-26T12:02:49Z","fixes":[{"ecosystem":"Debian:12","package":"apt-cacher-ng","fixed_in":["3.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"apt-cacher-ng","fixed_in":["3.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"apt-cacher-ng","fixed_in":["3.3.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"apt-cacher-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"apt-cacher-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"apt-cacher-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"apt-cacher-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.5-1","0.8.6-1","0.8.7-1","0.8.8-1","0.8.9-1","0.8.9-1ubuntu1","0.9.1-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"apt-cacher-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3-5","3.1-1","3.1-1build1"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.1","package":"apt-cacher-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1-lp151.3.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP1","package":"apt-cacher-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1-bp151.4.3.1"}]}],"bundled":2}],"products":[{"vendor":"apt-cacher-ng_project","product":"apt-cacher-ng"},{"vendor":"debian","product":"debian_linux"},{"vendor":"opensuse","product":"backports"},{"vendor":"opensuse","product":"leap"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2020-5202","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2020/01/20/4","tags":["mailing-list","x_refsource_MLIST","x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence"]},{"url":"https://seclists.org/oss-sec/2020/q1/21","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5202"},{"url":"https://github.com/advisories/GHSA-ppjv-mwcc-539j"},{"url":"https://ubuntu.com/security/CVE-2020-5202","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2020/01/20/4","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5202","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/L5YHDY4KQ2XQQ6FVEBGPECNI4RJRU3NR/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1157703","tags":["report"]},{"url":"https://bugzilla.suse.com/1157706","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-18899","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-5202","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/WNHKIYENNBZYQZDAXUMNWHSYC2SN5WOD/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2020-5202","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.","status":"published","published":"2020-01-21T17:54:04Z","modified":"2024-08-04T08:22:08.913Z","updated_at":"2026-11-02T14:35:47.56691Z"}],"euvd":[{"id":"EUVD-2020-26446","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.","status":"published","published":"2020-01-21T17:54:04Z","modified":"2024-08-04T08:22:08Z","updated_at":"2026-11-03T03:08:07.28588Z"}],"ghsa":[{"id":"GHSA-ppjv-mwcc-539j","title":"apt-cacher-ng through 3.3 allows local users to obtain sensitive information by hijacking the...","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.","status":"published","published":"2022-05-24T17:07:02Z","modified":"2023-01-29T05:01:12Z","cwes":["CWE-200"],"updated_at":"2026-11-02T14:44:45.404949Z"}],"nvd":[{"id":"CVE-2020-5202","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.","status":"published","published":"2020-01-21T18:15:13.06Z","modified":"2026-06-17T03:21:00.86Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:05:52.385274Z"}],"osv":[{"id":"CVE-2020-5202","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.","status":"published","published":"2020-01-21T18:15:13.06Z","modified":"2026-03-14T01:39:19.008031Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:16.936975Z"},{"id":"DEBIAN-CVE-2020-5202","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.","status":"published","published":"2020-01-21T18:15:13.06Z","modified":"2026-10-26T12:02:49.708283953Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:34.019707Z"},{"id":"UBUNTU-CVE-2020-5202","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.","status":"published","published":"2020-01-21T18:15:00Z","modified":"2025-10-24T04:48:17Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:25.179924Z"},{"id":"openSUSE-SU-2020:0124-1","title":"Security update for apt-cacher-ng","description":"This update for apt-cacher-ng fixes the following issues:\n\n- CVE-2019-18899: Fixed a symlink attack which could allow to overwrite arbitrary data (boo#1157703).\n- CVE-2020-5202: Fixed an information leak if a local user won a race condition to listen to localhost:3142 (boo#1157706).\n","status":"published","published":"2020-01-29T05:11:41Z","modified":"2026-02-04T02:28:20.631062Z","updated_at":"2026-11-02T16:58:31.152112Z"},{"id":"openSUSE-SU-2020:0146-1","title":"Security update for apt-cacher-ng","description":"This update for apt-cacher-ng fixes the following issues:\n\n- CVE-2019-18899: Fixed a symlink attack which could allow to overwrite arbitrary data (boo#1157703).\n- CVE-2020-5202: Fixed an information leak if a local user won a race condition to listen to localhost:3142 (boo#1157706).\n\nThis update was imported from the openSUSE:Leap:15.1:Update update project.","status":"published","published":"2020-01-29T16:50:27Z","modified":"2026-02-04T03:43:23.734588Z","updated_at":"2026-11-02T16:58:31.152112Z"}]}}
