{"answers":{"affected":"It affects 15 products.","exploited":"There is no known exploitation of CVE-2019-14287 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-14287 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 17 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-14287 and fix it if it is affected.\n\nWhat it is: CVE-2019-14287 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 17 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-14287 in the wild and no public exploit code.\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-14287/ (Markdown: https://insights.sbomify.com/CVE-2019-14287/index.md)","id":"CVE-2019-14287","markdown":"https://insights.sbomify.com/CVE-2019-14287/index.md","name":"CVE-2019-14287","record":{"aliases":["ALPINE-CVE-2019-14287","DEBIAN-CVE-2019-14287","DLA-1964-1","DSA-4543-1","GHSA-33h3-qhjg-4qmf","MGASA-2019-0298","RHSA-2019:3197","RHSA-2019:3204","RHSA-2019:3205","RHSA-2019:3209","RHSA-2019:3219","RHSA-2019:3278","RHSA-2019:3694","RHSA-2019:3754","RHSA-2019:3755","RHSA-2019:3895","RHSA-2019:4191","RHSA-2020:0388","SUSE-SU-2019:14193-1","SUSE-SU-2019:2656-1","SUSE-SU-2019:2666-1","SUSE-SU-2019:2667-1","SUSE-SU-2019:2668-1","UBUNTU-CVE-2019-14287","USN-4154-1","openSUSE-SU-2019:2316-1","openSUSE-SU-2019:2333-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Sudo utility","requires_auth":"low_privilege","summary":"Attackers with Runas ALL access can bypass sudo policy restrictions and PAM modules by using a crafted user ID, leading to privilege escalation.","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":"element_software_management_node","vendor":"netapp"},{"product":"leap","vendor":"opensuse"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"},{"product":"virtualization","vendor":"redhat"},{"product":"sudo","vendor":"sudo_project"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"description":"In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID. For example, this allows bypass of !root configuration, and USER= logging, for a \"sudo -u \\#$((0xffffffff))\" command.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::baseos","Red Hat:rhel_aus:6.5::server","Red Hat:rhel_aus:6.6::server","Red Hat:rhel_aus:7.2::server","Red Hat:rhel_aus:7.3::server","Red Hat:rhel_aus:7.4::server","Red Hat:rhel_e4s:7.2::server","Red Hat:rhel_e4s:7.3::server","Red Hat:rhel_e4s:7.4::server","Red Hat:rhel_e4s:8.0::baseos","Red Hat:rhel_els:5","Red Hat:rhel_eus:7.5::computenode","Red Hat:rhel_eus:7.5::server","Red Hat:rhel_eus:7.6::computenode","Red Hat:rhel_eus:7.6::server","Red Hat:rhel_tus:7.2::server","Red Hat:rhel_tus:7.3::server","Red Hat:rhel_tus:7.4::server","SUSE:Enterprise Storage 4","SUSE:Enterprise Storage 5","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise Desktop 12 SP4","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Basesystem 15 SP1","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP1-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP4","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8","openSUSE:Leap 15.0","openSUSE:Leap 15.1"],"exploits":{"exploitdb":1,"first_seen":"2019-10-15","github_poc":27,"max_poc_stars":13,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-10-15T19:26:42Z","kind":"github_poc","ref":"https://github.com/n0w4n/CVE-2019-14287","stars":13,"title":"Sudo exploit"},{"date":"2020-02-09T21:05:20Z","kind":"github_poc","ref":"https://github.com/CMNatic/Dockerized-CVE-2019-14287","stars":7,"title":"Containerized and deployable use of the CVE-2019-14287 vuln. View README.md for more."},{"date":"2019-10-18T04:11:14Z","kind":"github_poc","ref":"https://github.com/shallvhack/Sudo-Security-Bypass-CVE-2019-14287","stars":3,"title":"Sudo Security Bypass (CVE-2019-14287)"},{"date":"2019-10-15T06:47:58Z","kind":"github_poc","ref":"https://github.com/FauxFaux/sudo-cve-2019-14287","stars":1,"title":null},{"date":"2019-10-15T17:58:36Z","kind":"github_poc","ref":"https://github.com/CashWilliams/CVE-2019-14287-demo","stars":1,"title":"This is a container built for demonstration purposes that has a version of the sudo command which is vulnerable to CVE-2019-14287"},{"date":"2022-10-12T23:33:05Z","kind":"github_poc","ref":"https://github.com/MariliaMeira/CVE-2019-14287","stars":1,"title":null},{"date":"2019-10-15","kind":"exploitdb","ref":"47502","stars":null,"title":"sudo 1.8.27 - Security Bypass"},{"date":"2019-10-16T14:47:08Z","kind":"github_poc","ref":"https://github.com/gurneesh/CVE-2019-14287-write-up","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Privilege escalation in n/a","id":"CVE-2019-14287","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","opensuse:leap","redhat:enterprise_linux","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation","redhat:openshift_container_platform","redhat:virtualization"],"type":"privilege_escalation","year":"2019"},"n_packages":101,"n_references":37,"next":{"headline":"Integer overflow in n/a","id":"CVE-2019-14288"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.8.6p3-29.el6_10.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3755"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.23-4.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3197"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.25p1-8.el8_1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3694"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.25p1-8.el8_1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3694"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.25p1-8.el8_1"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2019:3694"},{"ecosystem":"Red Hat:rhel_aus:6.5::server","fixed":["0:1.8.6p3-12.el6_5.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3895"},{"ecosystem":"Red Hat:rhel_aus:6.5::server","fixed":["0:1.8.6p3-12.el6_5.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3895"},{"ecosystem":"Red Hat:rhel_aus:6.5::server","fixed":["0:1.8.6p3-12.el6_5.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3895"},{"ecosystem":"Red Hat:rhel_aus:6.6::server","fixed":["0:1.8.6p3-15.el6_6.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3754"},{"ecosystem":"Red Hat:rhel_aus:6.6::server","fixed":["0:1.8.6p3-15.el6_6.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3754"},{"ecosystem":"Red Hat:rhel_aus:6.6::server","fixed":["0:1.8.6p3-15.el6_6.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3754"},{"ecosystem":"Red Hat:rhel_aus:7.2::server","fixed":["0:1.8.6p7-17.el7_2.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3278"},{"ecosystem":"Red Hat:rhel_aus:7.2::server","fixed":["0:1.8.6p7-17.el7_2.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3278"},{"ecosystem":"Red Hat:rhel_aus:7.2::server","fixed":["0:1.8.6p7-17.el7_2.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3278"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:1.8.6p7-23.el7_3.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3219"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:1.8.6p7-23.el7_3.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2019:3219"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:1.8.6p7-23.el7_3.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2019:3219"},{"ecosystem":"Red Hat:rhel_aus:7.4::server","fixed":["0:1.8.19p2-12.el7_4.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2019:3209"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2019-14286"},"products":["n/a"],"published":"2019-10-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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers with Runas ALL access can bypass sudo policy restrictions and PAM modules by using a crafted user ID, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2019-14287/"}