Related Vulnerabilities: CVE-2022-33127  

The function that calls the diff tool in Diffy 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.

Description

The MITRE CVE dictionary describes this issue as:

The function that calls the diff tool in Diffy 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.

Additional Information

  • Bugzilla 2101888: CVE-2022-33127 rubygem-diffy: remote code execution from user controlled diff file paths
  • FAQ: Frequently asked questions about CVE-2022-33127