CRITICAL 9.8 RubyGems

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

GHSA-5ww9-9qp2-x524 · CVE-2022-33127

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes