{"answers":{"affected":"It affects 24 products.","exploited":"There is no known exploitation of CVE-2022-1161 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-1161 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-1161 is a critical code injection vulnerability in Rockwell Automation 1768 CompactLogix controllers, published on 11 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-1161 and fix it if it is affected.\n\nWhat it is: CVE-2022-1161 is a critical code injection vulnerability in Rockwell Automation 1768 CompactLogix controllers, published on 11 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-1161 in the wild and no public exploit code.\n\nAffected product: Rockwell Automation 1768 CompactLogix controllers. 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-2022-1161/ (Markdown: https://insights.sbomify.com/CVE-2022-1161/index.md)","id":"CVE-2022-1161","markdown":"https://insights.sbomify.com/CVE-2022-1161/index.md","name":"CVE-2022-1161","record":{"aliases":["GHSA-7mvq-cv2x-gv8r"],"analysis":{"component_type":"ics_ot","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Rockwell Logix Controllers","requires_auth":"none","summary":"Attackers can modify user program code in Rockwell Logix controllers by exploiting a separation between readable and executed code locations.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"icscert","cpe":[{"product":"compact_guardlogix_5370_firmware","vendor":"rockwellautomation"},{"product":"compact_guardlogix_5380_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_1768-l43_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_1768-l45_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_1769-l31_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_1769-l32c_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_1769-l32e_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_1769-l35cr_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_1769-l35e_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_5370_l1_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_5370_l2_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_5370_l3_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_5380_firmware","vendor":"rockwellautomation"},{"product":"compactlogix_5480_firmware","vendor":"rockwellautomation"},{"product":"controllogix_5550_firmware","vendor":"rockwellautomation"},{"product":"controllogix_5560_firmware","vendor":"rockwellautomation"},{"product":"controllogix_5570_firmware","vendor":"rockwellautomation"},{"product":"controllogix_5580_firmware","vendor":"rockwellautomation"},{"product":"drivelogix_5730_firmware","vendor":"rockwellautomation"},{"product":"flexlogix_1794-l34_firmware","vendor":"rockwellautomation"},{"product":"guardlogix_5560_firmware","vendor":"rockwellautomation"},{"product":"guardlogix_5570_firmware","vendor":"rockwellautomation"},{"product":"guardlogix_5580_firmware","vendor":"rockwellautomation"},{"product":"softlogix_5800_firmware","vendor":"rockwellautomation"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"description":"An attacker with the ability to modify a user program may change user program code on some ControlLogix, CompactLogix, and GuardLogix Control systems. Studio 5000 Logix Designer writes user-readable program code to a separate location than the executed compiled code, allowing an attacker to change one and not the other.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"ICSA-22-090-05 Rockwell Automation Logix Controllers","id":"CVE-2022-1161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Hardcoded credentials in GitLab","id":"CVE-2022-1162"},"packages":[],"prev":{"headline":"heap buffer overflow in get_one_sourceline in vim/vim","id":"CVE-2022-1160"},"products":["1768 CompactLogix controllers","1769 CompactLogix controllers","Compact GuardLogix 5370 controllers","Compact GuardLogix 5380 controllers","CompactLogix 5370 controllers","CompactLogix 5380 controllers","CompactLogix 5480 controllers","ControlLogix 5550 controllers","ControlLogix 5560 controllers","ControlLogix 5570 controllers","ControlLogix 5580 controllers","DriveLogix 5730 controllers","FlexLogix 1794-L34 controllers","GuardLogix 5560 controllers","GuardLogix 5570 controllers","GuardLogix 5580 controllers","SoftLogix 5800 controllers"],"published":"2022-04-11","related":[{"cvss_score":8.6,"headline":"Rockwell Automation GuardLogix and ControlLogix controllers Vulnerable to Denial-Of-Service Attack","id":"CVE-2022-3157","kev_date_added":null,"published":"2022-12-16"},{"cvss_score":6.8,"headline":"Rockwell Automation Logix Controllers Uncontrolled Resource Consumption","id":"CVE-2022-1797","kev_date_added":null,"published":"2022-05-31"}],"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-16","vendors":["Rockwell Automation"]},"summary":"Attackers can modify user program code in Rockwell Logix controllers by exploiting a separation between readable and executed code locations.","url":"https://insights.sbomify.com/CVE-2022-1161/"}