{"answers":{"affected":"It affects 22 products.","exploited":"Yes. Attackers have exploited CVE-2019-13272 in the wild since at least 10 Dec 2021.","fix":"Apply the vendor's patch. US federal agencies must fix it by 10 Jun 2022.","what":"CVE-2019-13272 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 17 Jul 2019. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-13272 and fix it if it is affected.\n\nWhat it is: CVE-2019-13272 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 17 Jul 2019. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2019-13272 in the wild since at least 10 Dec 2021.\n\nAffected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-13272/ (Markdown: https://insights.sbomify.com/CVE-2019-13272/index.md)","id":"CVE-2019-13272","markdown":"https://insights.sbomify.com/CVE-2019-13272/index.md","name":"CVE-2019-13272","record":{"aliases":["DEBIAN-CVE-2019-13272","DLA-1863-1","DSA-4484-1","GHSA-87j5-gppq-mq6h","UBUNTU-CVE-2019-13272"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["privilege_escalation","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"Local attackers can gain root privileges via ptrace mishandling in the Linux kernel, potentially causing system panics.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"linux_kernel","vendor":"linux"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"aff_a700s_firmware","vendor":"netapp"},{"product":"e-series_performance_analyzer","vendor":"netapp"},{"product":"e-series_santricity_os_controller","vendor":"netapp"},{"product":"h410c_firmware","vendor":"netapp"},{"product":"h610s_firmware","vendor":"netapp"},{"product":"hci_compute_node","vendor":"netapp"},{"product":"hci_management_node","vendor":"netapp"},{"product":"service_processor","vendor":"netapp"},{"product":"solidfire","vendor":"netapp"},{"product":"steelstore_cloud_integrated_storage","vendor":"netapp"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_for_arm_64","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_real_time","vendor":"redhat"},{"product":"enterprise_linux_for_real_time_for_nfv","vendor":"redhat"},{"product":"enterprise_linux_for_real_time_for_nfv_tus","vendor":"redhat"},{"product":"enterprise_linux_for_real_time_tus","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to create a ptrace relationship, which allows local users to obtain root access by leveraging certain scenarios with a parent-child process relationship, where a parent drops privileges and calls execve (potentially allowing control by an attacker). One contributing factor is an object lifetime issue (which can also cause a panic). Another contributing factor is incorrect marking of a ptrace relationship as privileged, which is exploitable through (for example) Polkit's pkexec helper with PTRACE_TRACEME. NOTE: SELinux deny_ptrace might be a usable workaround in some environments.","ecosystems":[],"exploits":{"exploitdb":4,"first_seen":"2019-07-04","github_poc":19,"max_poc_stars":333,"metasploit":1,"nuclei":0,"refs":[{"date":"2019-07-31T04:51:43Z","kind":"github_poc","ref":"https://github.com/jas502n/CVE-2019-13272","stars":333,"title":"Linux 4.10 \u003c 5.1.17 PTRACE_TRACEME local root"},{"date":"2019-07-31T06:36:21Z","kind":"github_poc","ref":"https://github.com/Cyc1eC/CVE-2019-13272","stars":5,"title":"The exploit for CVE-2019-13272"},{"date":"2019-08-07T01:21:26Z","kind":"github_poc","ref":"https://github.com/oneoy/CVE-2019-13272","stars":4,"title":"linux 提权"},{"date":"2020-05-12T17:59:48Z","kind":"github_poc","ref":"https://github.com/Tharana/vulnerability-exploitation","stars":3,"title":"Local Root vulnerability- CVE-2019-13272 / Security Bypass Vulnerability – CVE-2019-14287/Google Android - 'Stagefright' Remote Code Execution - CVE-2015-1538"},{"date":"2024-06-20T10:04:13Z","kind":"github_poc","ref":"https://github.com/josemlwdf/CVE-2019-13272","stars":3,"title":"This is a Python 3 version of this exploit. Hope it works!!!"},{"date":"2024-01-31T21:50:04Z","kind":"github_poc","ref":"https://github.com/MDS1GNAL/ptrace_scope-CVE-2019-13272-privilege-escalation","stars":2,"title":"Es una vulnerabilidad para escalar privilegios en linux."},{"date":"2019-08-04T06:51:36Z","kind":"github_poc","ref":"https://github.com/bigbigliang-malwarebenchmark/cve-2019-13272","stars":1,"title":"提权漏洞"},{"date":"2020-05-11T11:24:29Z","kind":"github_poc","ref":"https://github.com/Tharana/Exploiting-a-Linux-kernel-vulnerability","stars":1,"title":"Local Root vulnerability- CVE-2019-13272 / Security Bypass Vulnerability – CVE-2019-14287"}],"tier":"exploited"},"has_fix":true,"headline":"Linux Kernel Improper Privilege Management","id":"CVE-2019-13272","indexable":true,"kev":{"dateAdded":"2021-12-10","dueDate":"2022-06-10","knownRansomwareCampaignUse":"Unknown","product":"Kernel","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Linux","vulnerabilityName":"Linux Kernel Improper Privilege Management Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","linux:linux_kernel","netapp:active_iq_unified_manager","netapp:e-series_performance_analyzer","netapp:e-series_santricity_os_controller","netapp:h410c_firmware","netapp:h610s_firmware","netapp:hci_compute_node","netapp:hci_management_node","netapp:solidfire","netapp:steelstore_cloud_integrated_storage","redhat:enterprise_linux","redhat:enterprise_linux_for_ibm_z_systems"],"type":"privilege_escalation","year":"2019"},"n_packages":0,"n_references":29,"next":{"headline":"Memory corruption in n/a","id":"CVE-2019-13273"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2019-13271"},"products":["n/a"],"published":"2019-07-17","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Local attackers can gain root privileges via ptrace mishandling in the Linux kernel, potentially causing system panics.","url":"https://insights.sbomify.com/CVE-2019-13272/"}