ADVISORIES

GitHub Advisory Database

GHSA-5ww9-9qp2-x524

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

Critical CVE-2022-33127

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsdiffy
All versions before 3.4.1 (fixed in 3.4.1)

References