{"answers":{"affected":"It affects 7 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-1111 exists.","fix":"Apply the vendor's patch.","what":"CVE-2018-1111 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 17 May 2018. 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-2018-1111 and fix it if it is affected.\n\nWhat it is: CVE-2018-1111 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 17 May 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-1111 exists.\n\nAffected product: Fedoraproject Fedora. 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-2018-1111/ (Markdown: https://insights.sbomify.com/CVE-2018-1111/index.md)","id":"CVE-2018-1111","markdown":"https://insights.sbomify.com/CVE-2018-1111/index.md","name":"CVE-2018-1111","record":{"aliases":["GHSA-5jw9-5ff9-vr5p","RHSA-2018:1453","RHSA-2018:1454","RHSA-2018:1455","RHSA-2018:1456","RHSA-2018:1457","RHSA-2018:1458","RHSA-2018:1459","RHSA-2018:1460","RHSA-2018:1461"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux DHCP client","requires_auth":"none","summary":"A malicious DHCP server can execute arbitrary commands with root privileges on Linux systems using NetworkManager due to a command injection flaw in the DHCP client script.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"enterprise_virtualization","vendor":"redhat"},{"product":"enterprise_virtualization_host","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"DHCP packages in Red Hat Enterprise Linux 6 and 7, Fedora 28, and earlier are vulnerable to a command injection flaw in the NetworkManager integration script included in the DHCP client. A malicious DHCP server, or an attacker on the local network able to spoof DHCP responses, could use this flaw to execute arbitrary commands with root privileges on systems using NetworkManager and configured to obtain network configuration using the DHCP protocol.","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_aus:6.4::server","Red Hat:rhel_aus:6.5::server","Red Hat:rhel_aus:6.6::server","Red Hat:rhel_aus:7.2::server","Red Hat:rhel_e4s:7.2::server","Red Hat:rhel_eus:6.7::computenode","Red Hat:rhel_eus:6.7::server","Red Hat:rhel_eus:7.3::computenode","Red Hat:rhel_eus:7.3::server","Red Hat:rhel_eus:7.4::computenode","Red Hat:rhel_eus:7.4::server","Red Hat:rhel_tus:6.6::server","Red Hat:rhel_tus:7.2::server"],"exploits":{"exploitdb":3,"first_seen":"2018-05-15","github_poc":3,"max_poc_stars":13,"metasploit":1,"nuclei":0,"refs":[{"date":"2018-05-17T09:37:19Z","kind":"github_poc","ref":"https://github.com/knqyf263/CVE-2018-1111","stars":13,"title":"Environment for DynoRoot (CVE-2018-1111)"},{"date":"2018-05-18T13:27:43Z","kind":"github_poc","ref":"https://github.com/kkirsche/CVE-2018-1111","stars":12,"title":"CVE-2018-1111 DynoRoot"},{"date":"2018-05-15","kind":"metasploit","ref":"exploit/unix/dhcp/rhel_dhcp_client_command_injection","stars":null,"title":"DHCP Client Command Injection (DynoRoot)"},{"date":"2018-05-18","kind":"exploitdb","ref":"44652","stars":null,"title":"DynoRoot DHCP Client - Command Injection"},{"date":"2018-06-13","kind":"exploitdb","ref":"44890","stars":null,"title":"DHCP Client - Command Injection 'DynoRoot' (Metasploit)"},{"date":"2018-06-13","kind":"exploitdb","ref":"44890","stars":null,"title":"DHCP Client - Command Injection 'DynoRoot' (Metasploit)"},{"date":"2020-11-17T19:10:29Z","kind":"github_poc","ref":"https://github.com/baldassarreFe/FEP3370-advanced-ethical-hacking","stars":0,"title":"DHCP exploitation with DynoRoot (CVE-2018-1111)"}],"tier":"weaponised"},"has_fix":true,"headline":"Command injection in dhcp","id":"CVE-2018-1111","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora","redhat:enterprise_linux","redhat:enterprise_linux_desktop","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation"],"type":"command_injection","year":"2018"},"n_packages":116,"n_references":21,"next":{"headline":"Auth bypass in glusterfs","id":"CVE-2018-1112"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhclient","purl":"pkg:rpm/redhat/dhclient","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp","purl":"pkg:rpm/redhat/dhcp","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-common","purl":"pkg:rpm/redhat/dhcp-common","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-debuginfo","purl":"pkg:rpm/redhat/dhcp-debuginfo","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-devel","purl":"pkg:rpm/redhat/dhcp-devel","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhclient","purl":"pkg:rpm/redhat/dhclient","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp","purl":"pkg:rpm/redhat/dhcp","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-common","purl":"pkg:rpm/redhat/dhcp-common","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-debuginfo","purl":"pkg:rpm/redhat/dhcp-debuginfo","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-devel","purl":"pkg:rpm/redhat/dhcp-devel","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhclient","purl":"pkg:rpm/redhat/dhclient","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp","purl":"pkg:rpm/redhat/dhcp","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-common","purl":"pkg:rpm/redhat/dhcp-common","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-debuginfo","purl":"pkg:rpm/redhat/dhcp-debuginfo","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-devel","purl":"pkg:rpm/redhat/dhcp-devel","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhclient","purl":"pkg:rpm/redhat/dhclient","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp","purl":"pkg:rpm/redhat/dhcp","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-common","purl":"pkg:rpm/redhat/dhcp-common","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-debuginfo","purl":"pkg:rpm/redhat/dhcp-debuginfo","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["12:4.1.1-53.P1.el6_9.4"],"introduced":["0"],"last_affected":[],"package":"dhcp-devel","purl":"pkg:rpm/redhat/dhcp-devel","source":"RHSA-2018:1454"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhclient","purl":"pkg:rpm/redhat/dhclient","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp","purl":"pkg:rpm/redhat/dhcp","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-common","purl":"pkg:rpm/redhat/dhcp-common","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-debuginfo","purl":"pkg:rpm/redhat/dhcp-debuginfo","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-devel","purl":"pkg:rpm/redhat/dhcp-devel","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-libs","purl":"pkg:rpm/redhat/dhcp-libs","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhclient","purl":"pkg:rpm/redhat/dhclient","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp","purl":"pkg:rpm/redhat/dhcp","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-common","purl":"pkg:rpm/redhat/dhcp-common","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-debuginfo","purl":"pkg:rpm/redhat/dhcp-debuginfo","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-devel","purl":"pkg:rpm/redhat/dhcp-devel","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-libs","purl":"pkg:rpm/redhat/dhcp-libs","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhclient","purl":"pkg:rpm/redhat/dhclient","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp","purl":"pkg:rpm/redhat/dhcp","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-common","purl":"pkg:rpm/redhat/dhcp-common","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-debuginfo","purl":"pkg:rpm/redhat/dhcp-debuginfo","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-devel","purl":"pkg:rpm/redhat/dhcp-devel","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp-libs","purl":"pkg:rpm/redhat/dhcp-libs","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhclient","purl":"pkg:rpm/redhat/dhclient","source":"RHSA-2018:1453"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["12:4.2.5-68.el7_5.1"],"introduced":["0"],"last_affected":[],"package":"dhcp","purl":"pkg:rpm/redhat/dhcp","source":"RHSA-2018:1453"}],"prev":{"headline":"Denial of service in knot-resolver","id":"CVE-2018-1110"},"products":["dhcp"],"published":"2018-05-17","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"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":"BSD-3-Clause","name":"Metasploit"},{"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":["Fedora","Red Hat"]},"summary":"A malicious DHCP server can execute arbitrary commands with root privileges on Linux systems using NetworkManager due to a command injection flaw in the DHCP client script.","url":"https://insights.sbomify.com/CVE-2018-1111/"}