{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23935 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-23935 is a high-severity command injection vulnerability in n/a, published on 25 Jan 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-2022-23935 and fix it if it is affected.\n\nWhat it is: CVE-2022-23935 is a high-severity command injection vulnerability in n/a, published on 25 Jan 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-2022-23935 in the wild and no public exploit code.\n\nAffected product: n/a. 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-23935/ (Markdown: https://insights.sbomify.com/CVE-2022-23935/index.md)","id":"CVE-2022-23935","markdown":"https://insights.sbomify.com/CVE-2022-23935/index.md","name":"CVE-2022-23935","record":{"aliases":["DEBIAN-CVE-2022-23935","GHSA-jx53-3cxj-386g","MGASA-2022-0381","UBUNTU-CVE-2022-23935","openSUSE-SU-2024:11794-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ExifTool Perl library","requires_auth":"none","summary":"Attackers can execute arbitrary commands via crafted input due to improper handling of pipe characters in ExifTool.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"exiftool","vendor":"exiftool_project"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","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-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\\|$/ check, leading to command injection.","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2023-01-28","github_poc":4,"max_poc_stars":11,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-02-10T18:22:44Z","kind":"github_poc","ref":"https://github.com/BKreisel/CVE-2022-23935","stars":11,"title":"🐍 Python Exploit for CVE-2022-23935"},{"date":"2023-02-07T13:02:40Z","kind":"github_poc","ref":"https://github.com/cowsecurity/CVE-2022-23935","stars":8,"title":"CVE-2022-23935 exploit PoC exiftool version 12.37 written in python"},{"date":"2023-01-28T18:04:05Z","kind":"github_poc","ref":"https://github.com/dpbe32/CVE-2022-23935-PoC-Exploit","stars":1,"title":"CVE-2022-23935 exploit PoC exiftool version 12.37"},{"date":"2023-03-16T14:47:55Z","kind":"github_poc","ref":"https://github.com/antisecc/CVE-2022-23935","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2022-23935","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":1,"n_references":2,"next":{"headline":"Information disclosure in n/a","id":"CVE-2022-23937"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["12.39-1.1"],"introduced":["0"],"last_affected":[],"package":"exiftool","purl":"pkg:rpm/opensuse/exiftool\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11794-1"}],"prev":{"headline":"Privilege escalation in HP PC BIOS","id":"CVE-2022-23934"},"products":["n/a"],"published":"2022-01-25","related":[{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2018-20211","kev_date_added":null,"published":"2019-01-02"},{"cvss_score":5.3,"headline":"exiftool PNG File MacOS.pm SetMacOSTags os command injection","id":"CVE-2026-3102","kev_date_added":null,"published":"2026-02-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via crafted input due to improper handling of pipe characters in ExifTool.","url":"https://insights.sbomify.com/CVE-2022-23935/"}