GitHub Advisoryadvisory · RubyGems

GHSA-5ww9-9qp2-x524 Improper handling of double quotes in file name in Diffy in Windows environment

CRITICAL Published 2022-06-24 Modified 2022-07-05 Official page ↗
Aliases
CVE-2022-33127
Ecosystem
RubyGems
Packages
diffy
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Reviewed
2022-06-25

Affected packages

• RubyGems diffy: < 3.4.1 → fixed in 3.4.1

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.

Related

Alias · CVE (1)

  • 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. vulnerability

References