Vulnerability · Published Jun 22, 2022 · Assigned by mitre
CVE-2022-33127
Critical 9.8
In plain English
A critical-severity security flaw in the diffy package (RubyGems). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.8%top 21.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | diffy | 3.4.1 | GHSA-5ww9-9qp2-x524 |
| Ubuntu:22.04:LTS | ruby-diffy | no fix listed | UBUNTU-CVE-2022-33127 |
| Ubuntu:24.04:LTS | ruby-diffy | no fix listed | UBUNTU-CVE-2022-33127 |
| Ubuntu:25.10 | ruby-diffy | no fix listed | UBUNTU-CVE-2022-33127 |
| Ubuntu:26.04:LTS | ruby-diffy | no fix listed | UBUNTU-CVE-2022-33127 |
| Ubuntu:26.10 | ruby-diffy | no fix listed | UBUNTU-CVE-2022-33127 |