All reports
Critical

Improper handling of double quotes in file name in Diffy in Windows environment

Affected versions

RubyGemsdiffy
Affected versions
< 3.4.1
Fixed version
3.4.1

Exploitation

CVE-2022-33127

Probability of exploitation in the next 30 days: 1.84%

FIRST EPSS · 2026-11-24

Description

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.

Links