{"id":"CVE-2021-22282","published":"2024-02-02T06:38:32Z","modified":"2025-06-17T21:29:23Z","title":"RCE in B&R Automation Studio with crafted project files","vendor":"B&R Industrial Automation","product":"Automation Studio","tier":"tail","description":{"text":"Improper Control of Generation of Code ('Code Injection') vulnerability in B&R Industrial Automation Automation Studio allows Local Execution of Code.This issue affects Automation Studio: from 4.0 through 4.12.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00397,"percentile":0.34783,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.br-automation.com/fileadmin/2021-12_RCE_Vulnerability_in_BnR_Automation_Studio-1b993aeb.pdf","tags":[]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":6.96},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"b-and-r-industrial-automation","affectedVersions":[{"vendor":"B&R Industrial Automation","product":"Automation Studio","versions":[">= 4.0, <= 4.12"]}],"workarounds":{"items":["B&R recommends the following specific workarounds and mitigations: Open only B&R Automation Studio project files from trusted source. Protect locations where B&R Automation Studio projects are stored from unauthorized access. This includes PLCs, when using the feature to back up project source files on target. Do not run B&R Automation Studio in elevated mode. Verify integrity of B&R Automation Studio project files, which are exchanged via potentially insecure channels. Make sure, that Windows User Access Control (UAC) is enabled. In general, B&R recommends implementing the Cyber Security guidelines."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-549","name":"Local Execution of Code"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-03-14T21:13:25.788287Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-9428","exploited":false,"provenance":"source"}}