7.1high
diffoscope Path Traversal vulnerability
- Severity
- 7.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.98% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-33w6-hvmq-gh4xPYSEC-2024-41
Description
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 of the gpg --use-embedded-filenames option is trusted.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| diffoscope (PyPI) | before 256 | GitHub Advisory Database, PyPA Advisory Database |
| reproducible_builds diffoscope | before 256 | NVD |
| fedoraproject fedora | 39 | NVD |
All scores
| CISA-ADP | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | medium rating | |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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 of the gpg --use-embedded-filenames option is trusted.
NVD (es)
diffoscope anterior a 256 permite el directory traversal a través de un nombre de archivo incrustado en un archivo GPG. El contenido de cualquier archivo, como ../.ssh/id_rsa, puede revelarse a un atacante. Esto ocurre porque el valor de la opción gpg --use-embedded-filenames es confiable.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-25711 changed 2025-11-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-33w6-hvmq-gh4x changed 2024-12-05 | CC-BY-4.0 |
| NVD | CVE-2024-25711 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-41 changed 2026-06-10 | CC-BY-4.0 |