{"schemaVersion":3,"id":"CVE-2020-5202","aliases":["UBUNTU-CVE-2020-5202","DEBIAN-CVE-2020-5202"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-01-21T17:54:04.000Z","modified":"2024-08-04T08:22:08.913Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":2.1,"severity":"low","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00469,"percentile":0.39252,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.0040000000000000105,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00465},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00469,"percentile":0.39252}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00469,"percentile":0.39252}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_7BAC5D4181C9A620","name":"Exploit Reference (openwall.com)","source":"reference","url":"http://www.openwall.com/lists/oss-security/2020/01/20/4","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_699141D7C76860DD","name":"Exploit Reference (seclists.org)","source":"reference","url":"https://seclists.org/oss-sec/2020/q1/21","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[],"affected":[{"vendor":"apt-cacher-ng_project","product":"apt-cacher-ng","name":"apt-cacher-ng","label":"apt-cacher-ng","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.3","eol":null,"hubHref":"/vendor/apt-cacher-ng_project/apt-cacher-ng"},{"vendor":"debian","product":"apt-cacher-ng","name":"apt-cacher-ng","label":"apt-cacher-ng","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/apt-cacher-ng","purlType":"deb","versions":[{"text":"< 3.3.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"apt-cacher-ng","name":"apt-cacher-ng","label":"apt-cacher-ng","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/apt-cacher-ng","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0 | 10.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"opensuse","product":"backports","name":"backports","label":"backports","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"sle-15:sp1","noFixRecorded":false,"fixedIn":null}],"versionsText":"sle-15:sp1","eol":null,"hubHref":"/vendor/opensuse/backports"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.1","eol":{"isEol":true,"eolDate":"2021-02-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.1","label":"Leap 15.1","eolFrom":"2021-02-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2020-5202","label":"security-tracker.debian.org/tracker/CVE-2020-5202","hostname":"security-tracker.debian.org","tags":["X Refsource MISC","Advisory","Patch","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2020/01/20/4","label":"www.openwall.com/lists/oss-security/2020/01/20/4","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Exploit","Third Party Advisory"]},{"url":"https://seclists.org/oss-sec/2020/q1/21","label":"seclists.org/oss-sec/2020/q1/21","hostname":"seclists.org","tags":["Mailing List","X Refsource MLIST","Exploit","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html","label":"lists.opensuse.org/opensuse-security-announce/2020-01/msg00057.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html","label":"lists.opensuse.org/opensuse-security-announce/2020-01/msg00065.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-5202","label":"ubuntu.com/security/CVE-2020-5202","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2020/01/20/4","label":"www.openwall.com/lists/oss-security/2020/01/20/4","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5202","label":"www.cve.org/CVERecord?id=CVE-2020-5202","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2020:0124-1","OPENSUSE-SU-2020:0146-1"],"duplicates":[],"related":["OPENSUSE-SU-2020:0124-1","OPENSUSE-SU-2020:0146-1"]},"timeline":[{"kind":"published","date":"2020-01-21T17:54:04.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T08:22:08.913Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:05:47.240Z","stale":false,"partial":false}}