# diffoscope before 256 allows directory traversal via an embedded filename in a GPG file. Contents of any file, such as ../.ssh/id_rsa, may be disclosed to an attacker. This occurs because the value...

Advisory record · `GHSA-33w6-hvmq-gh4x`

- **Identifiers:** `GHSA-33w6-hvmq-gh4x` · `CVE-2024-25711` · `PYSEC-2024-41`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 27 Feb 2024
- **Updated:** 10 Jun 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 27 Feb 2024, 02:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `diffoscope` (PyPI): affected `<256`; fixed in `256`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> diffoscope versions before 256 are vulnerable to directory traversal through a filename embedded in a GPG file, because the gpg --use-embedded-filenames option is trusted. An attacker who supplies a crafted GPG file to be compared can cause the contents of arbitrary files on the system, such as SSH private keys, to be disclosed. Upgrade diffoscope to version 256 or later.

Written 10 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.1 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0098, the 62nd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 27 Feb 2024. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-33w6-hvmq-gh4x](https://github.com/advisories/GHSA-33w6-hvmq-gh4x)
- [OSV: GHSA-33w6-hvmq-gh4x](https://osv.dev/vulnerability/GHSA-33w6-hvmq-gh4x)
- <https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361>
- <https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/>
- <https://github.com/advisories/GHSA-33w6-hvmq-gh4x>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-33w6-hvmq-gh4x>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-33w6-hvmq-gh4x/>. Everything for agents: <https://agentprime.io/llms.txt>.
