Advisory

GHSA-5ww9-9qp2-x524

Also known as: CVE-2022-33127

Summary

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

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-06-24 00:00 UTC
Modified
2024-12-08 05:29 UTC

Affected packages and fixes

diffy

RubyGems · All systems

Affected

  • introduced 0, fixed 3.4.1 (ecosystem)

Fixed versions

3.4.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences