CVE-2017-0359 · debian
diffoscope writes to arbitrary locations on disk based on the contents of an untrusted archive
diffoscope before 77 writes to arbitrary locations on disk based on the contents of an untrusted archive.
Published 2018-04-13, last changed 2026-06-17.
How to fix
Upgrade to a fixed version: diffoscope 76, 77 (PyPI) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in anthraxx/diffoscope by 632a40828a, f379d1f611. Functions changed by the fix: get_member_names, extract, ensure_unpacked. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-04-13 | Published |
| 2018-04-13 | Package advisory PYSEC-2018-83 |
| 2018-07-13 | Package advisory GHSA-8p5c-f328-9fvv |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.25% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-8p5c-f328-9fvv | diffoscope (PyPI) | 76 |
| PYSEC-2018-83 | diffoscope (PyPI) | 77 |
Also known as: GHSA-8p5c-f328-9fvv, PYSEC-2018-83
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2024-25711 | 2024-02-27 | 7.5 | same package: diffoscope (PyPI) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-0359, or call /api/v1/vulnerabilities/CVE-2017-0359. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.