{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2021-22797 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-22797 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-22797 is a high-severity path traversal vulnerability in Schneider Electric EcoStruxure Control Expert, published on 28 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-22797 and fix it if it is affected.\n\nWhat it is: CVE-2021-22797 is a high-severity path traversal vulnerability in Schneider Electric EcoStruxure Control Expert, published on 28 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-22797 in the wild and no public exploit code.\n\nAffected product: Schneider Electric EcoStruxure Control Expert. 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-22797/ (Markdown: https://insights.sbomify.com/CVE-2021-22797/index.md)","id":"CVE-2021-22797","markdown":"https://insights.sbomify.com/CVE-2021-22797/index.md","name":"CVE-2021-22797","record":{"aliases":["GHSA-qqgr-6jmg-cwgv"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Schneider Electric ICS","requires_auth":"none","summary":"Path traversal allows attackers to deploy malicious scripts via project files, leading to code execution on engineering workstations.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"schneider","cpe":[{"product":"ecostruxure_control_expert","vendor":"schneider-electric"},{"product":"ecostruxure_process_expert","vendor":"schneider-electric"},{"product":"remoteconnect","vendor":"schneider-electric"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal) vulnerability exists that could cause malicious script to be deployed in an unauthorized location and may result in code execution on the engineering workstation when a malicious project file is loaded in the engineering software. Affected Product: EcoStruxure Control Expert (V15.0 SP1 and prior, including former Unity Pro), EcoStruxure Process Expert (2020 and prior, including former HDCS), SCADAPack RemoteConnect for x70 (All versions)","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":"Path traversal in EcoStruxure Control Expert","id":"CVE-2021-22797","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in Conext� ComBox (All Versions)","id":"CVE-2021-22798"},"packages":[],"prev":{"headline":"Auth bypass in C-Bus Toolkit (V1.15.9 and prior), C-Gate Server (V2.11.7 and prior)","id":"CVE-2021-22796"},"products":["EcoStruxure Control Expert","EcoStruxure Process Expert","SCADAPack RemoteConnect for x70"],"published":"2022-03-28","related":[{"cvss_score":9.8,"headline":"Auth bypass in EcoStruxure Control Expert","id":"CVE-2022-37300","kev_date_added":null,"published":"2022-09-12"},{"cvss_score":9.8,"headline":"Auth bypass in PLC Simulator on EcoStruxureª Control Expert (now Unity Pro) (all versions)","id":"CVE-2020-28212","kev_date_added":null,"published":"2020-11-19"},{"cvss_score":9.8,"headline":"Code injection in EcoStruxure Control Expert (all versions prior to 14.1 Hot Fix), Unity Pro (all versions), Modicon M340 (all versions prior to V3.20), Modicon M580 (all versions prior to V3.10)","id":"CVE-2020-7475","kev_date_added":null,"published":"2020-03-23"},{"cvss_score":8.8,"headline":"Other in EcoStruxure Control Expert","id":"CVE-2023-27976","kev_date_added":null,"published":"2023-04-18"},{"cvss_score":8.8,"headline":"Code injection in PLC Simulator on EcoStruxureª Control Expert (now Unity Pro) (all versions)","id":"CVE-2020-28213","kev_date_added":null,"published":"2020-11-19"},{"cvss_score":8.6,"headline":"Memory corruption in EcoStruxure™ Control Expert (all versions) and Unity Pro (former name of EcoStruxure™ Control Expert) (all versions)","id":"CVE-2020-7560","kev_date_added":null,"published":"2020-12-11"},{"cvss_score":8.1,"headline":"Other in EcoStruxure Control Expert","id":"CVE-2023-6408","kev_date_added":null,"published":"2024-02-14"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Schneider Electric"]},"summary":"Path traversal allows attackers to deploy malicious scripts via project files, leading to code execution on engineering workstations.","url":"https://insights.sbomify.com/CVE-2021-22797/"}