{"id":"CVE-2021-25682","aliases":["EUVD-2021-12574","GHSA-7398-g2qh-pr9p","UBUNTU-CVE-2021-25682","USN-4720-1","USN-4720-2"],"status":"published","title":"apport improperly parses /proc/pid/status","description":"It was discovered that the get_pid_info() function in data/apport did not properly parse the /proc/pid/status file from the kernel.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00453,"percentile":0.39658,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-74"],"published":"2021-02-02T18:00:00Z","modified":"2026-06-17T03:42:21Z","fixes":[{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"apport","fixed_in":["2.14.1-0ubuntu3.29+esm6"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"apport","fixed_in":["2.20.1-0ubuntu2.30"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"apport","fixed_in":["2.20.9-0ubuntu7.23"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"apport","fixed_in":["2.20.11-0ubuntu27.16"],"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+esm6"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.1-0ubuntu2.30"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.9-0ubuntu7.23"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.11-0ubuntu27.16"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.1-0ubuntu2.30"}]}],"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"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.9-0ubuntu7.23"}]}],"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"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20.11-0ubuntu27.16"}]}],"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"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"apport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.1-0ubuntu3.29+esm6"}]}],"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"],"bundled":3}],"products":[{"vendor":"canonical","product":"apport"}],"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1912326","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25682"},{"url":"https://github.com/advisories/GHSA-7398-g2qh-pr9p"},{"url":"https://ubuntu.com/security/CVE-2021-25682","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4720-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4720-2","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-25682","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-25683","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-25684","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-25682","title":"apport improperly parses /proc/pid/status","description":"It was discovered that the get_pid_info() function in data/apport did not properly parse the /proc/pid/status file from the kernel.","status":"published","published":"2021-06-11T02:20:19.233Z","modified":"2024-09-17T00:46:19.717Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2021-12574","description":"It was discovered that the get_pid_info() function in data/apport did not properly parse the /proc/pid/status file from the kernel.","status":"published","published":"2021-06-11T02:20:19Z","modified":"2024-09-17T00:46:19Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:28:55.842484Z"}],"ghsa":[{"id":"GHSA-7398-g2qh-pr9p","title":"It was discovered that the get_pid_info() function in data/apport did not properly parse the ...","description":"It was discovered that the get_pid_info() function in data/apport did not properly parse the /proc/pid/status file from the kernel.","status":"published","published":"2022-05-24T19:05:12Z","modified":"2023-01-27T05:03:59Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20","CWE-74"],"updated_at":"2026-11-02T14:42:22.043841Z"}],"nvd":[{"id":"CVE-2021-25682","description":"It was discovered that the get_pid_info() function in data/apport did not properly parse the /proc/pid/status file from the kernel.","status":"published","published":"2021-06-11T03:15:06.833Z","modified":"2026-06-17T03:42:21.17Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-20","CWE-74"],"updated_at":"2026-11-02T14:06:54.439974Z"}],"osv":[{"id":"UBUNTU-CVE-2021-25682","description":"It was discovered that the get_pid_info() function in data/apport did not properly parse the /proc/pid/status file from the kernel.","status":"published","published":"2021-02-02T18:00:00Z","modified":"2026-02-04T04:09:25.340443Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:26.779273Z"},{"id":"USN-4720-1","title":"apport vulnerabilities","description":"Itai Greenhut discovered that Apport incorrectly parsed certain files in\nthe /proc filesystem. A local attacker could use this issue to escalate\nprivileges and run arbitrary code. (CVE-2021-25682, CVE-2021-25683)\n\nItai Greenhut discovered that Apport incorrectly handled opening certain\nspecial files. A local attacker could possibly use this issue to cause\nApport to hang, resulting in a denial of service. (CVE-2021-25684)\n","status":"published","published":"2021-02-02T18:06:56Z","modified":"2026-02-10T04:42:02Z","updated_at":"2026-11-02T16:58:15.159055Z"},{"id":"USN-4720-2","title":"apport vulnerabilities","description":"USN-4720-1 fixed several vulnerabilities in Apport. This update provides\nthe corresponding update for Ubuntu 14.04 ESM.\n\nOriginal advisory details:\n\n Itai Greenhut discovered that Apport incorrectly parsed certain files in\n the /proc filesystem. A local attacker could use this issue to escalate\n privileges and run arbitrary code. (CVE-2021-25682, CVE-2021-25683)\n\n Itai Greenhut discovered that Apport incorrectly handled opening certain\n special files. A local attacker could possibly use this issue to cause\n Apport to hang, resulting in a denial of service. (CVE-2021-25684)\n","status":"published","published":"2021-02-03T13:20:03Z","modified":"2026-02-10T04:42:02Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
