CVE-2022-33127
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
2.10% (higher than 82% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-5ww9-9qp2-x524

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
diffy (RubyGems)before 3.4.1GitHub Advisory Database
diffy_project diffy3.4.1NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

La función que llama a la herramienta diff en Diffy versión 3.4.1, no maneja correctamente las comillas dobles en un nombre de archivo cuando se ejecuta en un entorno Windows. Esto permite a atacantes ejecutar comandos arbitrarios por medio de una cadena diseñada

References

Sources

SourceRecordLicence
CVE ListCVE-2022-33127 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-5ww9-9qp2-x524 changed 2024-12-08CC-BY-4.0
NVDCVE-2022-33127 changed 2026-06-17Public domain