{"id":"CVE-2022-33127","aliases":["GHSA-5ww9-9qp2-x524"],"url":"https://o3.security/vulnerability/CVE-2022-33127","summary":"Improper handling of double quotes in file name in Diffy in Windows environment","details":"The function that calls the diff tool in versions of Diffy prior to 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.","published":"2022-06-22T19:31:51Z","modified":"2026-08-12T03:51:40.193554619Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"diffy","fixedVersion":"3.4.1"}],"fix":{"url":"https://github.com/samg/diffy/commit/478f392082b66d38f54a02b4bb9c41be32fd6593","label":"samg/diffy@478f392"},"references":[{"type":"WEB","url":"https://github.com/samg/diffy/blob/56fd935aea256742f7352b050592542d3d153bf6/CHANGELOG#L1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/33xxx/CVE-2022-33127.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-33127"},{"type":"FIX","url":"https://github.com/samg/diffy/commit/478f392082b66d38f54a02b4bb9c41be32fd6593"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/diffy/CVE-2022-33127.yml"},{"type":"PACKAGE","url":"https://github.com/samg/diffy"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:40.193554619Z"}}