{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-1000367 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2017-1000367 is a medium-severity vulnerability in n/a, published on 5 Jun 2017. 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-2017-1000367 and fix it if it is affected.\n\nWhat it is: CVE-2017-1000367 is a medium-severity vulnerability in n/a, published on 5 Jun 2017. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-1000367 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2017-1000367/ (Markdown: https://insights.sbomify.com/CVE-2017-1000367/index.md)","id":"CVE-2017-1000367","markdown":"https://insights.sbomify.com/CVE-2017-1000367/index.md","name":"CVE-2017-1000367","record":{"aliases":["DEBIAN-CVE-2017-1000367","DLA-970-1","DSA-3867-1","GHSA-4c2x-g299-mpv8","MGASA-2017-0207","RHSA-2017:1381","RHSA-2017:1382","SUSE-SU-2017:1446-1","SUSE-SU-2017:1450-1","UBUNTU-CVE-2017-1000367","USN-3304-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"sudo utility","requires_auth":"high_privilege","summary":"Attackers can exploit a race condition in sudo to execute arbitrary commands and disclose sensitive information.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sudo","vendor":"sudo_project"}],"cvss":{"score":6.4,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_ttyname() function resulting in information disclosure and command execution.","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:rhel_els:5","SUSE:Linux Enterprise Desktop 12 SP1","SUSE:Linux Enterprise Desktop 12 SP2","SUSE:Linux Enterprise Server 12 SP1","SUSE:Linux Enterprise Server 12 SP2","SUSE:Linux Enterprise Server 12-LTSS","SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP1","SUSE:Linux Enterprise Software Development Kit 12 SP2"],"exploits":{"exploitdb":1,"first_seen":"2017-05-30","github_poc":4,"max_poc_stars":114,"metasploit":0,"nuclei":0,"refs":[{"date":"2017-05-30T18:12:38Z","kind":"github_poc","ref":"https://github.com/c0d3z3r0/sudo-CVE-2017-1000367","stars":114,"title":null},{"date":"2017-06-08T08:37:38Z","kind":"github_poc","ref":"https://github.com/pucerpocok/sudo_exploit","stars":6,"title":"own implementation of the  CVE-2017-1000367 sudo privilege escalation vulnerability in python"},{"date":"2017-06-04T12:31:59Z","kind":"github_poc","ref":"https://github.com/homjxi0e/CVE-2017-1000367","stars":1,"title":null},{"date":"2017-06-14","kind":"exploitdb","ref":"42183","stars":null,"title":"Sudo 1.8.20 - 'get_process_ttyname()' Local Privilege Escalation"},{"date":"2025-10-17T07:58:51Z","kind":"github_poc","ref":"https://github.com/letsr00t/CVE-2017-1000367","stars":0,"title":"CVE-2017-1000367"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Race condition in n/a","id":"CVE-2017-1000367","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2017"},"n_packages":37,"n_references":18,"next":{"headline":"Command injection in n/a","id":"CVE-2017-1000368"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.8.6p3-28.el6_9"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.6p7-22.el7_3"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2017:1382"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:1.7.2p1-30.el5_11"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2017:1381"},{"ecosystem":"Red Hat:rhel_els:5","fixed":["0:1.7.2p1-30.el5_11"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2017:1381"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","fixed":["1.8.10p3-2.11.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP1","source":"SUSE-SU-2017:1446-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","fixed":["1.8.10p3-10.5.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2","source":"SUSE-SU-2017:1450-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1","fixed":["1.8.10p3-2.11.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1","source":"SUSE-SU-2017:1446-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2","fixed":["1.8.10p3-10.5.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2","source":"SUSE-SU-2017:1450-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","fixed":["1.8.10p3-2.11.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSS","source":"SUSE-SU-2017:1446-1"},{"ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","fixed":["1.8.10p3-10.5.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2","source":"SUSE-SU-2017:1450-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","fixed":["1.8.10p3-2.11.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012","source":"SUSE-SU-2017:1446-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["1.8.10p3-2.11.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2017:1446-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["1.8.10p3-10.5.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2017:1450-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","fixed":["1.8.10p3-2.11.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP1","source":"SUSE-SU-2017:1446-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","fixed":["1.8.10p3-10.5.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2","source":"SUSE-SU-2017:1450-1"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2017-1000366"},"products":["n/a"],"published":"2017-06-05","related":[{"cvss_score":8.2,"headline":"Command injection in n/a","id":"CVE-2017-1000368","kev_date_added":null,"published":"2017-06-05"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2015-5602","kev_date_added":null,"published":"2015-11-17"},{"cvss_score":7.1,"headline":"Memory corruption in n/a","id":"CVE-2022-43995","kev_date_added":null,"published":"2022-11-02"},{"cvss_score":7,"headline":"Privilege escalation in n/a","id":"CVE-2023-42465","kev_date_added":null,"published":"2023-12-22"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2019-18684","kev_date_added":null,"published":"2019-11-04"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2015-8239","kev_date_added":null,"published":"2017-10-10"},{"cvss_score":6.6,"headline":"Sudo: improper handling of ipa_hostname leads to privilege mismanagement","id":"CVE-2023-7090","kev_date_added":null,"published":"2023-12-23"}],"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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 can exploit a race condition in sudo to execute arbitrary commands and disclose sensitive information.","url":"https://insights.sbomify.com/CVE-2017-1000367/"}