~ / search / GHSA-5ww9-9qp2-x524

GHSA-5ww9-9qp2-x524

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

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-33127

Packages

EcosystemPackageAffectedFixed in
RubyGems diffy < 3.4.1 3.4.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.