Bug 2101888 (CVE-2022-33127) - CVE-2022-33127 rubygem-diffy: remote code execution from user controlled diff file paths
Summary: CVE-2022-33127 rubygem-diffy: remote code execution from user controlled diff...
Keywords:
Status: NEW
Alias: CVE-2022-33127
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2101889
TreeView+ depends on / blocked
 
Reported: 2022-06-28 16:10 UTC by Marian Rehak
Modified: 2022-07-20 08:02 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Marian Rehak 2022-06-28 16:10:45 UTC
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.

Reference:

https://github.com/samg/diffy/commit/478f392082b66d38f54a02b4bb9c41be32fd6593
https://bugzilla.suse.com/show_bug.cgi?id=1200896


Note You need to log in before you can comment on or make changes to this bug.