{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-31218 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-31218 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31218 is a high-severity path traversal vulnerability in ABB Automation Builder, published on 15 Jun 2022. 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-2022-31218 and fix it if it is affected.\n\nWhat it is: CVE-2022-31218 is a high-severity path traversal vulnerability in ABB Automation Builder, published on 15 Jun 2022. 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-2022-31218 in the wild and no public exploit code.\n\nAffected product: ABB Automation Builder. 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-31218/ (Markdown: https://insights.sbomify.com/CVE-2022-31218/index.md)","id":"CVE-2022-31218","markdown":"https://insights.sbomify.com/CVE-2022-31218/index.md","name":"CVE-2022-31218","record":{"aliases":["GHSA-f7h3-whmx-5pqj"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ABB Drive Composer","requires_auth":"low_privilege","summary":"Low-privileged attackers can exploit a link following vulnerability in ABB Drive Composer to write arbitrary files as SYSTEM, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ABB","cpe":[{"product":"automation_builder","vendor":"abb"},{"product":"drive_composer","vendor":"abb"},{"product":"mint_workbench","vendor":"abb"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"Vulnerabilities in the Drive Composer allow a low privileged attacker to create and write to a file anywhere on the file system as SYSTEM with arbitrary content as long as the file does not already exist. The Drive Composer installer file allows a low-privileged user to run a \"repair\" operation on the product.","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":"Drive Composer Link Following Local Privilege Escalation Vulnerability","id":"CVE-2022-31218","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Drive Composer Link Following Local Privilege Escalation Vulnerability","id":"CVE-2022-31219"},"packages":[],"prev":{"headline":"Drive Composer Link Following Local Privilege Escalation Vulnerability","id":"CVE-2022-31217"},"products":["ABB Automation Builder","Drive Composer entry","Drive Composer pro","Mint WorkBench"],"published":"2022-06-15","related":[{"cvss_score":8.5,"headline":"Vulnerability in user management of Automation Builder","id":"CVE-2025-3394","kev_date_added":null,"published":"2025-04-30"},{"cvss_score":8.4,"headline":"Information disclosure in Automation Builder","id":"CVE-2025-3395","kev_date_added":null,"published":"2025-04-30"},{"cvss_score":7.8,"headline":"Drive Composer Link Following Local Privilege Escalation Vulnerability","id":"CVE-2022-31216","kev_date_added":null,"published":"2022-06-15"},{"cvss_score":7.8,"headline":"Drive Composer Link Following Local Privilege Escalation Vulnerability","id":"CVE-2022-31217","kev_date_added":null,"published":"2022-06-15"},{"cvss_score":7.3,"headline":"Drive Composer Link Following Local Privilege Escalation Vulnerability","id":"CVE-2022-31219","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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["ABB"]},"summary":"Low-privileged attackers can exploit a link following vulnerability in ABB Drive Composer to write arbitrary files as SYSTEM, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2022-31218/"}