Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-33127 EUVD-2022-5947GHSA-5ww9-9qp2-x524

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

Published Jun 22, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 ruby-diffy No fix yet —
Ubuntu 26.04 LTS ruby-diffy No fix yet —
Ubuntu 25.10 ruby-diffy No fix yet —
Ubuntu 24.04 LTS ruby-diffy No fix yet —
Ubuntu 22.04 LTS ruby-diffy No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ruby-diffy No fix yet —
Ubuntu 18.04 LTS ruby-diffy No fix yet —
Ubuntu 16.04 LTS ruby-diffy No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems diffy < 3.4.1 3.4.1 GHSA-5ww9-9qp2-x524

References