{"answers":{"affected":"It affects 10 products.","exploited":"Yes. Attackers have exploited CVE-2021-38647 in the wild since at least 3 Nov 2021, including in ransomware campaigns.","fix":"No fix has been published for CVE-2021-38647 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2021.","what":"CVE-2021-38647 is a critical code injection vulnerability in Microsoft Azure Automation State Configuration, DSC Extension, published on 15 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-38647 and fix it if it is affected.\n\nWhat it is: CVE-2021-38647 is a critical code injection vulnerability in Microsoft Azure Automation State Configuration, DSC Extension, published on 15 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-38647 in the wild since at least 3 Nov 2021, including in ransomware campaigns.\n\nAffected product: Microsoft Azure Automation State Configuration, DSC Extension. 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-2021-38647/ (Markdown: https://insights.sbomify.com/CVE-2021-38647/index.md)","id":"CVE-2021-38647","markdown":"https://insights.sbomify.com/CVE-2021-38647/index.md","name":"CVE-2021-38647","record":{"aliases":["GHSA-rp2g-5hw2-q565"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Azure Management Infrastructure","requires_auth":"none","summary":"Attackers can execute arbitrary code remotely on systems running Microsoft Open Management Infrastructure, affecting various Azure and System Center components.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"azure_automation_state_configuration","vendor":"microsoft"},{"product":"azure_automation_update_management","vendor":"microsoft"},{"product":"azure_diagnostics_\\(lad\\)","vendor":"microsoft"},{"product":"azure_security_center","vendor":"microsoft"},{"product":"azure_sentinel","vendor":"microsoft"},{"product":"azure_stack_hub","vendor":"microsoft"},{"product":"container_monitoring_solution","vendor":"microsoft"},{"product":"log_analytics_agent","vendor":"microsoft"},{"product":"open_management_infrastructure","vendor":"microsoft"},{"product":"system_center_operations_manager","vendor":"microsoft"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[],"description":"Open Management Infrastructure (OMI) Remote Code Execution Vulnerability","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2021-09-14","github_poc":12,"max_poc_stars":233,"metasploit":1,"nuclei":1,"refs":[{"date":"2021-09-16T02:11:36Z","kind":"github_poc","ref":"https://github.com/horizon3ai/CVE-2021-38647","stars":233,"title":"Proof on Concept Exploit for CVE-2021-38647 (OMIGOD)"},{"date":"2021-09-20T16:29:48Z","kind":"github_poc","ref":"https://github.com/AlteredSecurity/CVE-2021-38647","stars":67,"title":"CVE-2021-38647 - POC to exploit unauthenticated RCE #OMIGOD"},{"date":"2021-09-16T15:34:03Z","kind":"github_poc","ref":"https://github.com/marcosimioni/omigood","stars":20,"title":"OMIGOD! OM I GOOD? A free scanner to detect VMs vulnerable to one of the \"OMIGOD\" vulnerabilities discovered by Wiz's threat research team, specifically CVE-2021-38647."},{"date":"2021-09-15T21:44:30Z","kind":"github_poc","ref":"https://github.com/midoxnet/CVE-2021-38647","stars":8,"title":"CVE-2021-38647 POC for RCE"},{"date":"2021-09-15T04:51:02Z","kind":"github_poc","ref":"https://github.com/corelight/CVE-2021-38647","stars":5,"title":"CVE-2021-38647 AKA \"OMIGOD\" vulnerability in Windows OMI "},{"date":"2021-09-19T15:43:32Z","kind":"github_poc","ref":"https://github.com/SimenBai/CVE-2021-38647-POC-and-Demo-environment","stars":3,"title":"OMIGod / CVE-2021-38647 POC and Demo environment"},{"date":"2021-09-16T08:33:02Z","kind":"github_poc","ref":"https://github.com/Immersive-Labs-Sec/cve-2021-38647","stars":2,"title":"A PoC exploit for CVE-2021-38647 RCE in OMI"},{"date":"2021-09-18T15:25:18Z","kind":"github_poc","ref":"https://github.com/craig-m-unsw/omigod-lab","stars":1,"title":"A Vagrant VM test lab to learn about CVE-2021-38647 in the Open Management Infrastructure agent (aka \"omigod\")."}],"tier":"exploited"},"has_fix":false,"headline":"Microsoft Open Management Infrastructure (OMI) Remote Code Execution","id":"CVE-2021-38647","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2021-11-17","knownRansomwareCampaignUse":"Known","product":"Open Management Infrastructure (OMI)","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Microsoft","vulnerabilityName":"Microsoft Open Management Infrastructure (OMI) Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Microsoft Open Management Infrastructure (OMI) Privilege Escalation","id":"CVE-2021-38648"},"packages":[],"prev":{"headline":"Microsoft Office Access Connectivity Engine Remote Code Execution","id":"CVE-2021-38646"},"products":["Azure Automation State Configuration, DSC Extension","Azure Automation Update Management","Azure Diagnostics (LAD)","Azure Security Center","Azure Sentinel","Azure Stack Hub","Container Monitoring Solution","Log Analytics Agent","Open Management Infrastructure","System Center Operations Manager (SCOM)"],"published":"2021-09-15","related":[{"cvss_score":7.8,"headline":"Microsoft Open Management Infrastructure (OMI) Privilege Escalation","id":"CVE-2021-38645","kev_date_added":"2021-11-03","published":"2021-09-15"},{"cvss_score":7.8,"headline":"Microsoft Open Management Infrastructure (OMI) Privilege Escalation","id":"CVE-2021-38648","kev_date_added":"2021-11-03","published":"2021-09-15"},{"cvss_score":7,"headline":"Microsoft Open Management Infrastructure (OMI) Privilege Escalation","id":"CVE-2021-38649","kev_date_added":"2021-11-03","published":"2021-09-15"},{"cvss_score":7.8,"headline":"Open Management Infrastructure (OMI) Elevation of Privilege Vulnerability","id":"CVE-2022-29149","kev_date_added":null,"published":"2022-06-15"}],"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":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-10","vendors":["Microsoft"]},"summary":"Attackers can execute arbitrary code remotely on systems running Microsoft Open Management Infrastructure, affecting various Azure and System Center components.","url":"https://insights.sbomify.com/CVE-2021-38647/"}