{"schemaVersion":4,"id":"CVE-2021-32557","aliases":["UBUNTU-CVE-2021-32557"],"status":"published","duplicateOf":null,"title":"apport process_report() arbitrary file write","description":"It was discovered that the process_report() function in data/whoopsie-upload-all allowed arbitrary file writes via symlinks.","dates":{"published":"2021-06-12T03:40:43.352Z","modified":"2024-09-16T17:53:05.508Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","exploitability":5.1,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.6,"severity":"low","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0039,"percentile":0.35255,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0039},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0039,"percentile":0.35255}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0039,"percentile":0.35255}]},"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_8EF435F262A63215","name":"Exploit Reference (bugs.launchpad.net)","source":"reference","url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"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.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}},{"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}}],"versionsText":"≥ 2.14.1-0ubuntu3, < 2.14.1-0ubuntu3.29\\+esm7 | ≥ 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","eol":null,"hubHref":"/vendor/canonical/apport"},{"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":2,"eol":{"hasEol":false,"count":0},"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","Exploit","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-32557","label":"ubuntu.com/security/CVE-2021-32557","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-32557","label":"www.cve.org/CVERecord?id=CVE-2021-32557","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:43.352Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T17:53:05.508Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.2, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,1,0,52],"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.0039,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-09-16T17:53:05.508Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2024-09-16T17:53:05.508Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-16T17:53:05.508Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-09-16T17:53:05.508Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.6,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","version":"2.0"},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false}],"epss":{"value":0.0039,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T02:02:32.515Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T02:02:33.061Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T02:02:33.247Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T02:00:57.638Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T02:02:28.824Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T02:02:28.182Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T02:52:25.553Z","stale":false,"partial":false}}