Critical, CVSS 9.8RubyGemsPublished
Improper handling of double quotes in file name in Diffy in Windows environment
CVE-2022-33127 · GHSA-5ww9-9qp2-x524
- Affected
- RubyGems diffy < 3.4.1
- Fixed in
- 3.4.1· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 3.4.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.