{"id":"CVE-2022-33127","published":"2022-06-22T19:31:51Z","modified":"2024-08-03T08:01:20Z","title":"The function that calls the diff tool in Diffy 3.4.1 does not properly handle double quotes in a filename when run in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01837,"percentile":0.79475,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/samg/diffy/blob/56fd935aea256742f7352b050592542d3d153bf6/CHANGELOG#L1","tags":["x_refsource_MISC"]},{"url":"https://github.com/samg/diffy/commit/478f392082b66d38f54a02b4bb9c41be32fd6593","tags":["x_refsource_MISC"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":15.89}]},"affected":[{"ecosystem":"RubyGems","package":"diffy","vulnerableRanges":["<3.4.1"],"patched":["3.4.1"],"from":["GHSA-5ww9-9qp2-x524"],"provenance":"source"}],"summary":{"text":"The flaw lies in the function that invokes the diff tool in Diffy 3.4.1, which mishandles double quotes in filenames when running on Windows. Because of this, an attacker can supply a crafted filename string to execute arbitrary commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:52Z"},"euvd":{"id":"EUVD-2022-5947","exploited":false,"provenance":"source"}}