{"schemaVersion":4,"id":"CVE-2021-32547","aliases":["UBUNTU-CVE-2021-32547"],"status":"published","duplicateOf":null,"title":"apport read_file() function could follow maliciously constructed symbolic links","description":"It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-lts package apport hooks, it could expose private data to other local users.","dates":{"published":"2021-06-12T03:40:36.400Z","modified":"2024-09-17T03:18:22.707Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","exploitability":5.1,"impact":7.8,"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.00295,"percentile":0.2383,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00295},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00295,"percentile":0.2383}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00295,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00295,"percentile":0.2383}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following","description":"The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.","type":"weakness","status":"Incomplete","abstraction":"Compound","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/61.html"}],"affected":[{"vendor":"canonical","product":"apport","name":"apport","label":"apport","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.20.1, < 2.20.1-0ubuntu2.30+esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.20.1","startInclusive":true,"end":"2.20.1-0ubuntu2.30+esm1","endInclusive":false}},{"text":"≥ 2.20.9, < 2.20.9-0ubuntu7.24","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.20.9","startInclusive":true,"end":"2.20.9-0ubuntu7.24","endInclusive":false}},{"text":"≥ 2.20.11-0ubuntu27, < 2.20.11-0ubuntu27.18","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.20.11-0ubuntu27","startInclusive":true,"end":"2.20.11-0ubuntu27.18","endInclusive":false}},{"text":"≥ 2.20.11-0ubuntu50, < 2.20.11-0ubuntu50.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.20.11-0ubuntu50","startInclusive":true,"end":"2.20.11-0ubuntu50.7","endInclusive":false}},{"text":"≥ 2.20.11-0ubuntu65, < 2.20.11-0ubuntu65.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.20.11-0ubuntu65","startInclusive":true,"end":"2.20.11-0ubuntu65.1","endInclusive":false}},{"text":"≥ 2.14.1-0ubuntu3, < 2.14.1-0ubuntu3.29+esm7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.14.1-0ubuntu3","startInclusive":true,"end":"2.14.1-0ubuntu3.29+esm7","endInclusive":false}}],"versionsText":"≥ 2.20.1, < 2.20.1-0ubuntu2.30+esm1 | ≥ 2.20.9, < 2.20.9-0ubuntu7.24 | ≥ 2.20.11-0ubuntu27, < 2.20.11-0ubuntu27.18 | ≥ 2.20.11-0ubuntu50, < 2.20.11-0ubuntu50.7 | ≥ 2.20.11-0ubuntu65, < 2.20.11-0ubuntu65.1 | ≥ 2.14.1-0ubuntu3, < 2.14.1-0ubuntu3.29+esm7","eol":null,"hubHref":"/vendor/canonical/apport"},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"18.04","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"18.04"}},{"text":"20.04","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"20.04"}},{"text":"20.10","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"20.10"}},{"text":"21.04","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"21.04"}},{"text":"21.10","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"21.10"}}],"versionsText":"18.04 | 20.04 | 20.10 | 21.04 | 21.10","eol":{"isEol":true,"eolDate":"2023-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"18.04","label":"18.04 'Bionic Beaver' (LTS)","eolFrom":"2023-05-31T00:00:00.000Z","isLts":true,"isMaintained":true,"latestVersion":"18.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"ubuntu","product":"apport","name":"apport","label":"apport","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/apport","purlType":"deb","versions":[{"text":"< 2.14.1-0ubuntu3.29+esm7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.14.1-0ubuntu3.29+esm7","endInclusive":false}},{"text":"< 2.20.1-0ubuntu2.30+esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.20.1-0ubuntu2.30+esm1","endInclusive":false}},{"text":"< 2.20.9-0ubuntu7.24","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.20.9-0ubuntu7.24","endInclusive":false}},{"text":"< 2.20.11-0ubuntu27.18","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.20.11-0ubuntu27.18","endInclusive":false}}],"versionsText":"< 2.14.1-0ubuntu3.29+esm7 | < 2.20.1-0ubuntu2.30+esm1 | < 2.20.9-0ubuntu7.24 | < 2.20.11-0ubuntu27.18","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904","label":"bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904","hostname":"bugs.launchpad.net","tags":["X Refsource MISC","Issue Tracking","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-32547","label":"ubuntu.com/security/CVE-2021-32547","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4965-1","label":"ubuntu.com/security/notices/USN-4965-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4965-2","label":"ubuntu.com/security/notices/USN-4965-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32547","label":"www.cve.org/CVERecord?id=CVE-2021-32547","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["USN-4965-1","USN-4965-2"],"duplicates":[],"related":["USN-4965-1","USN-4965-2"]},"timeline":[{"kind":"published","date":"2021-06-12T03:40:36.400Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T03:18:22.707Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,73],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00295,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-09-17T03:18:22.707Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2024-09-17T03:18:22.707Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-17T03:18:22.707Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-17T03:18:22.707Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"}],"epss":{"value":0.00295,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:28:55.708Z","stale":false,"partial":false}}