GHSA-5ww9-9qp2-x524

Source
https://github.com/advisories/GHSA-5ww9-9qp2-x524
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-5ww9-9qp2-x524/GHSA-5ww9-9qp2-x524.json
Aliases
Published
2022-06-24T00:00:31Z
Modified
2023-11-08T04:09:39.112691Z
Details

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.

References

Affected packages

RubyGems / diffy

Package

Name
diffy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
3.4.1

Affected versions

1.*

1.1.0

2.*

2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.0.10
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4

3.*

3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.1.0
3.2.0
3.2.1
3.3.0
3.4.0