{"cve":"CVE-2022-33127","nvd":{"published":"2022-06-23T17:15:14.923","modified":"2026-06-17T04:48:29.060","status":"Modified","description":"The function that calls the diff tool in Diffy 3.4.1 does not properly handle double quotes in a filename when run in a windows environment. This allows attackers to execute arbitrary commands via a crafted string.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":[],"references":["https://github.com/samg/diffy/blob/56fd935aea256742f7352b050592542d3d153bf6/CHANGELOG#L1","https://github.com/samg/diffy/commit/478f392082b66d38f54a02b4bb9c41be32fd6593","https://github.com/samg/diffy/blob/56fd935aea256742f7352b050592542d3d153bf6/CHANGELOG#L1","https://github.com/samg/diffy/commit/478f392082b66d38f54a02b4bb9c41be32fd6593"],"products":["diffy_project:diffy"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-33127","score":0.01837,"percentile":0.78952,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5ww9-9qp2-x524","url":"https://osv.dev/vulnerability/GHSA-5ww9-9qp2-x524","summary":"Improper handling of double quotes in file name in Diffy in Windows environment","modified":"2024-12-08T05:29:46.954310Z","packages":[{"ecosystem":"RubyGems","name":"diffy","purl":"pkg:gem/diffy","ranges":["<3.4.1"],"fixed":["3.4.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}