Vulnerability Details : 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.
Exploit prediction scoring system (EPSS) score for CVE-2022-33127
Probability of exploitation activity in the next 30 days: 0.18%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 54 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2022-33127
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
nvd@nist.gov |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
nvd@nist.gov |
References for CVE-2022-33127
-
https://github.com/samg/diffy/commit/478f392082b66d38f54a02b4bb9c41be32fd6593
Remove windows specific exec. Open2.capture3 should work on all · samg/diffy@478f392 · GitHubPatch;Third Party Advisory
-
https://github.com/samg/diffy/blob/56fd935aea256742f7352b050592542d3d153bf6/CHANGELOG#L1
diffy/CHANGELOG at 56fd935aea256742f7352b050592542d3d153bf6 · samg/diffy · GitHubRelease Notes;Third Party Advisory
Products affected by CVE-2022-33127
- cpe:2.3:a:diffy_project:diffy:3.4.1:*:*:*:*:ruby:*:*