{"id":"CVE-2021-32550","aliases":["EUVD-2021-19395","GHSA-x4fx-g8rh-wxj5","UBUNTU-CVE-2021-32550","USN-4965-1","USN-4965-2"],"status":"published","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-14 package apport hooks, it could expose private data to other local users.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.00289,"percentile":0.21634,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59","CWE-61"],"published":"2021-05-25T00:00:00Z","modified":"2026-06-29T13:48:59Z","fixes":[{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"apport","fixed_in":["2.14.1-0ubuntu3.29+esm7"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"apport","fixed_in":["2.20.1-0ubuntu2.30+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"apport","fixed_in":["2.20.9-0ubuntu7.24"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"apport","fixed_in":["2.20.11-0ubuntu27.18"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.1-0ubuntu3.29+esm7"}]}],"versions":["2.12.5-0ubuntu2","2.12.6-0ubuntu1","2.12.7-0ubuntu1","2.12.7-0ubuntu2","2.12.7-0ubuntu3","2.12.7-0ubuntu6","2.13.1-0ubuntu1","2.13.1-0ubuntu2","2.13.2-0ubuntu2","2.13.2-0ubuntu3","2.13.2-0ubuntu4","2.13.2-0ubuntu5","2.13.3-0ubuntu1","2.14-0ubuntu1","2.14.1-0ubuntu1","2.14.1-0ubuntu2","2.14.1-0ubuntu3","2.14.1-0ubuntu3.1","2.14.1-0ubuntu3.2","2.14.1-0ubuntu3.3","2.14.1-0ubuntu3.4","2.14.1-0ubuntu3.5","2.14.1-0ubuntu3.6","2.14.1-0ubuntu3.7","2.14.1-0ubuntu3.8","2.14.1-0ubuntu3.9","2.14.1-0ubuntu3.10","2.14.1-0ubuntu3.11","2.14.1-0ubuntu3.12","2.14.1-0ubuntu3.13","2.14.1-0ubuntu3.15","2.14.1-0ubuntu3.16","2.14.1-0ubuntu3.18","2.14.1-0ubuntu3.19","2.14.1-0ubuntu3.20","2.14.1-0ubuntu3.21","2.14.1-0ubuntu3.23","2.14.1-0ubuntu3.24","2.14.1-0ubuntu3.25","2.14.1-0ubuntu3.27","2.14.1-0ubuntu3.28","2.14.1-0ubuntu3.29","2.14.1-0ubuntu3.29+esm1","2.14.1-0ubuntu3.29+esm2","2.14.1-0ubuntu3.29+esm3","2.14.1-0ubuntu3.29+esm4","2.14.1-0ubuntu3.29+esm5","2.14.1-0ubuntu3.29+esm6"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.1-0ubuntu2.30+esm1"}]}],"versions":["2.19.1-0ubuntu3","2.19.2-0ubuntu1","2.19.2-0ubuntu2","2.19.2-0ubuntu3","2.19.2-0ubuntu4","2.19.2-0ubuntu5","2.19.2-0ubuntu6","2.19.2-0ubuntu8","2.19.2-0ubuntu9","2.19.3-0ubuntu1","2.19.3-0ubuntu2","2.19.3-0ubuntu3","2.19.4-0ubuntu1","2.19.4-0ubuntu2","2.20-0ubuntu2","2.20-0ubuntu3","2.20.1-0ubuntu1","2.20.1-0ubuntu2","2.20.1-0ubuntu2.1","2.20.1-0ubuntu2.2","2.20.1-0ubuntu2.4","2.20.1-0ubuntu2.5","2.20.1-0ubuntu2.6","2.20.1-0ubuntu2.9","2.20.1-0ubuntu2.10","2.20.1-0ubuntu2.12","2.20.1-0ubuntu2.13","2.20.1-0ubuntu2.14","2.20.1-0ubuntu2.15","2.20.1-0ubuntu2.16","2.20.1-0ubuntu2.17","2.20.1-0ubuntu2.18","2.20.1-0ubuntu2.19","2.20.1-0ubuntu2.20","2.20.1-0ubuntu2.21","2.20.1-0ubuntu2.22","2.20.1-0ubuntu2.23","2.20.1-0ubuntu2.24","2.20.1-0ubuntu2.25","2.20.1-0ubuntu2.26","2.20.1-0ubuntu2.27","2.20.1-0ubuntu2.28","2.20.1-0ubuntu2.30"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.9-0ubuntu7.24"}]}],"versions":["2.20.7-0ubuntu3","2.20.7-0ubuntu3.1","2.20.7-0ubuntu4","2.20.8-0ubuntu1","2.20.8-0ubuntu2","2.20.8-0ubuntu3","2.20.8-0ubuntu4","2.20.8-0ubuntu5","2.20.8-0ubuntu6","2.20.8-0ubuntu7","2.20.8-0ubuntu8","2.20.8-0ubuntu9","2.20.8-0ubuntu10","2.20.9-0ubuntu1","2.20.9-0ubuntu2","2.20.9-0ubuntu4","2.20.9-0ubuntu5","2.20.9-0ubuntu6","2.20.9-0ubuntu7","2.20.9-0ubuntu7.1","2.20.9-0ubuntu7.2","2.20.9-0ubuntu7.3","2.20.9-0ubuntu7.4","2.20.9-0ubuntu7.5","2.20.9-0ubuntu7.6","2.20.9-0ubuntu7.7","2.20.9-0ubuntu7.8","2.20.9-0ubuntu7.9","2.20.9-0ubuntu7.11","2.20.9-0ubuntu7.12","2.20.9-0ubuntu7.13","2.20.9-0ubuntu7.14","2.20.9-0ubuntu7.15","2.20.9-0ubuntu7.16","2.20.9-0ubuntu7.17","2.20.9-0ubuntu7.18","2.20.9-0ubuntu7.19","2.20.9-0ubuntu7.20","2.20.9-0ubuntu7.21","2.20.9-0ubuntu7.23"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.11-0ubuntu27.18"}]}],"versions":["2.20.11-0ubuntu8","2.20.11-0ubuntu9","2.20.11-0ubuntu13","2.20.11-0ubuntu14","2.20.11-0ubuntu15","2.20.11-0ubuntu16","2.20.11-0ubuntu17","2.20.11-0ubuntu18","2.20.11-0ubuntu19","2.20.11-0ubuntu20","2.20.11-0ubuntu21","2.20.11-0ubuntu22","2.20.11-0ubuntu24","2.20.11-0ubuntu25","2.20.11-0ubuntu26","2.20.11-0ubuntu27","2.20.11-0ubuntu27.2","2.20.11-0ubuntu27.3","2.20.11-0ubuntu27.4","2.20.11-0ubuntu27.6","2.20.11-0ubuntu27.8","2.20.11-0ubuntu27.9","2.20.11-0ubuntu27.10","2.20.11-0ubuntu27.11","2.20.11-0ubuntu27.12","2.20.11-0ubuntu27.13","2.20.11-0ubuntu27.14","2.20.11-0ubuntu27.16","2.20.11-0ubuntu27.17"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.9-0ubuntu7.24"}]}],"versions":["2.20.7-0ubuntu3","2.20.7-0ubuntu3.1","2.20.7-0ubuntu4","2.20.8-0ubuntu1","2.20.8-0ubuntu2","2.20.8-0ubuntu3","2.20.8-0ubuntu4","2.20.8-0ubuntu5","2.20.8-0ubuntu6","2.20.8-0ubuntu7","2.20.8-0ubuntu8","2.20.8-0ubuntu9","2.20.8-0ubuntu10","2.20.9-0ubuntu1","2.20.9-0ubuntu2","2.20.9-0ubuntu4","2.20.9-0ubuntu5","2.20.9-0ubuntu6","2.20.9-0ubuntu7","2.20.9-0ubuntu7.1","2.20.9-0ubuntu7.2","2.20.9-0ubuntu7.3","2.20.9-0ubuntu7.4","2.20.9-0ubuntu7.5","2.20.9-0ubuntu7.6","2.20.9-0ubuntu7.7","2.20.9-0ubuntu7.8","2.20.9-0ubuntu7.9","2.20.9-0ubuntu7.11","2.20.9-0ubuntu7.12","2.20.9-0ubuntu7.13","2.20.9-0ubuntu7.14","2.20.9-0ubuntu7.15","2.20.9-0ubuntu7.16","2.20.9-0ubuntu7.17","2.20.9-0ubuntu7.18","2.20.9-0ubuntu7.19","2.20.9-0ubuntu7.20","2.20.9-0ubuntu7.21","2.20.9-0ubuntu7.23"],"bundled":11},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.11-0ubuntu27.18"}]}],"versions":["2.20.11-0ubuntu8","2.20.11-0ubuntu9","2.20.11-0ubuntu13","2.20.11-0ubuntu14","2.20.11-0ubuntu15","2.20.11-0ubuntu16","2.20.11-0ubuntu17","2.20.11-0ubuntu18","2.20.11-0ubuntu19","2.20.11-0ubuntu20","2.20.11-0ubuntu21","2.20.11-0ubuntu22","2.20.11-0ubuntu24","2.20.11-0ubuntu25","2.20.11-0ubuntu26","2.20.11-0ubuntu27","2.20.11-0ubuntu27.2","2.20.11-0ubuntu27.3","2.20.11-0ubuntu27.4","2.20.11-0ubuntu27.6","2.20.11-0ubuntu27.8","2.20.11-0ubuntu27.9","2.20.11-0ubuntu27.10","2.20.11-0ubuntu27.11","2.20.11-0ubuntu27.12","2.20.11-0ubuntu27.13","2.20.11-0ubuntu27.14","2.20.11-0ubuntu27.16","2.20.11-0ubuntu27.17"],"bundled":11},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.1-0ubuntu3.29+esm7"}]}],"versions":["2.12.5-0ubuntu2","2.12.6-0ubuntu1","2.12.7-0ubuntu1","2.12.7-0ubuntu2","2.12.7-0ubuntu3","2.12.7-0ubuntu6","2.13.1-0ubuntu1","2.13.1-0ubuntu2","2.13.2-0ubuntu2","2.13.2-0ubuntu3","2.13.2-0ubuntu4","2.13.2-0ubuntu5","2.13.3-0ubuntu1","2.14-0ubuntu1","2.14.1-0ubuntu1","2.14.1-0ubuntu2","2.14.1-0ubuntu3","2.14.1-0ubuntu3.1","2.14.1-0ubuntu3.2","2.14.1-0ubuntu3.3","2.14.1-0ubuntu3.4","2.14.1-0ubuntu3.5","2.14.1-0ubuntu3.6","2.14.1-0ubuntu3.7","2.14.1-0ubuntu3.8","2.14.1-0ubuntu3.9","2.14.1-0ubuntu3.10","2.14.1-0ubuntu3.11","2.14.1-0ubuntu3.12","2.14.1-0ubuntu3.13","2.14.1-0ubuntu3.15","2.14.1-0ubuntu3.16","2.14.1-0ubuntu3.18","2.14.1-0ubuntu3.19","2.14.1-0ubuntu3.20","2.14.1-0ubuntu3.21","2.14.1-0ubuntu3.23","2.14.1-0ubuntu3.24","2.14.1-0ubuntu3.25","2.14.1-0ubuntu3.27","2.14.1-0ubuntu3.28","2.14.1-0ubuntu3.29","2.14.1-0ubuntu3.29+esm1","2.14.1-0ubuntu3.29+esm2","2.14.1-0ubuntu3.29+esm3","2.14.1-0ubuntu3.29+esm4","2.14.1-0ubuntu3.29+esm5","2.14.1-0ubuntu3.29+esm6"],"bundled":11},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.1-0ubuntu2.30+esm1"}]}],"versions":["2.19.1-0ubuntu3","2.19.2-0ubuntu1","2.19.2-0ubuntu2","2.19.2-0ubuntu3","2.19.2-0ubuntu4","2.19.2-0ubuntu5","2.19.2-0ubuntu6","2.19.2-0ubuntu8","2.19.2-0ubuntu9","2.19.3-0ubuntu1","2.19.3-0ubuntu2","2.19.3-0ubuntu3","2.19.4-0ubuntu1","2.19.4-0ubuntu2","2.20-0ubuntu2","2.20-0ubuntu3","2.20.1-0ubuntu1","2.20.1-0ubuntu2","2.20.1-0ubuntu2.1","2.20.1-0ubuntu2.2","2.20.1-0ubuntu2.4","2.20.1-0ubuntu2.5","2.20.1-0ubuntu2.6","2.20.1-0ubuntu2.9","2.20.1-0ubuntu2.10","2.20.1-0ubuntu2.12","2.20.1-0ubuntu2.13","2.20.1-0ubuntu2.14","2.20.1-0ubuntu2.15","2.20.1-0ubuntu2.16","2.20.1-0ubuntu2.17","2.20.1-0ubuntu2.18","2.20.1-0ubuntu2.19","2.20.1-0ubuntu2.20","2.20.1-0ubuntu2.21","2.20.1-0ubuntu2.22","2.20.1-0ubuntu2.23","2.20.1-0ubuntu2.24","2.20.1-0ubuntu2.25","2.20.1-0ubuntu2.26","2.20.1-0ubuntu2.27","2.20.1-0ubuntu2.28","2.20.1-0ubuntu2.30"],"bundled":11}],"products":[{"vendor":"canonical","product":"apport"},{"vendor":"canonical","product":"ubuntu_linux"}],"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32550"},{"url":"https://github.com/advisories/GHSA-x4fx-g8rh-wxj5"},{"url":"https://ubuntu.com/security/CVE-2021-32550","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4965-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4965-2","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32550","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32547","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32548","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32549","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32551","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32552","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32553","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32554","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32555","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32556","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32557","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-32550","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-14 package apport hooks, it could expose private data to other local users.","status":"published","published":"2021-06-12T03:40:38.559Z","modified":"2024-09-16T23:22:01.152Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-59","CWE-61"],"updated_at":"2026-11-02T14:33:07.014772Z"}],"euvd":[{"id":"EUVD-2021-19395","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-14 package apport hooks, it could expose private data to other local users.","status":"published","published":"2021-06-12T03:40:38Z","modified":"2024-09-16T23:22:01Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","level":"high"}],"updated_at":"2026-11-03T00:54:54.099071Z"}],"ghsa":[{"id":"GHSA-x4fx-g8rh-wxj5","title":"It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open...","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-14 package apport hooks, it could expose private data to other local users.","status":"published","published":"2022-05-24T19:05:16Z","modified":"2023-01-29T05:07:00Z","cwes":["CWE-59"],"updated_at":"2026-11-02T14:46:08.233339Z"}],"nvd":[{"id":"CVE-2021-32550","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-14 package apport hooks, it could expose private data to other local users.","status":"published","published":"2021-06-12T04:15:11.9Z","modified":"2026-06-17T03:53:09.453Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","level":"high","assessor":"secondary"},{"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"}],"cwes":["CWE-59","CWE-61"],"updated_at":"2026-11-02T14:06:54.439974Z"}],"osv":[{"id":"UBUNTU-CVE-2021-32550","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-14 package apport hooks, it could expose private data to other local users.","status":"published","published":"2021-05-25T00:00:00Z","modified":"2026-02-04T04:22:35.310499Z","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"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","level":"high"}],"updated_at":"2026-11-02T15:54:27.332852Z"},{"id":"USN-4965-1","title":"apport vulnerabilities","description":"Maik Münch discovered that Apport incorrectly handled certain information\ngathering operations. A local attacker could use these issues to read and\nwrite arbitrary files as an administrator, and possibly escalate\nprivileges.\n","status":"published","published":"2021-05-25T16:52:36Z","modified":"2026-02-10T04:42:12Z","updated_at":"2026-11-02T16:58:15.159055Z"},{"id":"USN-4965-2","title":"apport vulnerabilities","description":"USN-4965-1 fixed several vulnerabilities in Apport. This update provides\nthe corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.\nOriginal advisory details:\n\n Maik Münch discovered that Apport incorrectly handled certain information\n gathering operations. A local attacker could use these issues to read and\n write arbitrary files as an administrator, and possibly escalate\n privileges.\n","status":"published","published":"2021-05-25T18:20:14Z","modified":"2026-06-29T13:48:59.744057466Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
