Unrated
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-33127
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 18:20 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-33127
Complete source record
{
"id": "369c4f7d1268fd0f6020135d38e6d16cf1075a13b8fd5e3bd1448baf0b984367",
"url": "https://osv.dev/vulnerability/CVE-2022-33127",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-33127",
"summary": "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.",
"evidence": "osv:CVE-2022-33127",
"products": [],
"severity": "unknown",
"structured": {
"id": "CVE-2022-33127",
"aliases": [
"CVE-2022-33127",
"GHSA-5ww9-9qp2-x524"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/samg/diffy",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "478f392082b66d38f54a02b4bb9c41be32fd6593"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "478f392082b66d38f54a02b4bb9c41be32fd6593"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.4.0",
"3.3.0",
"3.1.0",
"3.0.7",
"3.0.5",
"3.0.4",
"3.0.3",
"3.0.2",
"3.0.1",
"3.0.0",
"2.0.7",
"2.0.6",
"2.0.5",
"2.0.4",
"2.0.3",
"2.0.2",
"2.0.1",
"2.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-33127.json"
}
}
],
"modified": "2026-10-28T02:30:45.091485454Z",
"provider": "osv",
"references": [
"https://github.com/samg/diffy/blob/56fd935aea256742f7352b050592542d3d153bf6/CHANGELOG#L1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/33xxx/CVE-2022-33127.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-33127",
"https://github.com/samg/diffy/commit/478f392082b66d38f54a02b4bb9c41be32fd6593"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/33xxx/CVE-2022-33127.json"
}
},
"related_cves": [
{
"value": "CVE-2022-33127",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 512657,
"published_at": "2022-06-22T19:31:51+00:00"
}