{"id":"CVE-2024-25711","aliases":["CVE-2024-25711","GHSA-33w6-hvmq-gh4x","PYSEC-2024-41"],"related":[],"kind":"vulnerability","state":"published","title":"diffoscope Path Traversal vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-02-11T00:00:00.000Z","modified":"2026-06-17T07:16:27.167Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"256"}],"ecosystem":"PyPI","package":"diffoscope","purl":"pkg:pypi/diffoscope","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"256"}],"vendor":"reproducible_builds","product":"diffoscope","cpe":"cpe:2.3:a:reproducible_builds:diffoscope:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"39"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"256"}],"ecosystem":"PyPI","package":"diffoscope","purl":"pkg:pypi/diffoscope","source":"pysec"}],"references":[{"url":"https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/dfed769904c27d66a14a5903823d9c8c5aae860e","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/","tags":["mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25711","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/diffoscope/PYSEC-2024-41.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OUNBANAWD6TZH2NRRV4YUIAXEHLUJQ47","tags":["web"],"sources":["ghsa"]},{"url":"https://salsa.debian.org/reproducible-builds/diffoscope","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-33w6-hvmq-gh4x","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-27T15:22:42.884Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-25711","url":"https://www.cve.org/CVERecord?id=CVE-2024-25711","licence":"CVE Terms of Use","modified":"2025-11-04T18:29:37.954Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-33w6-hvmq-gh4x","url":"https://github.com/advisories/GHSA-33w6-hvmq-gh4x","licence":"CC-BY-4.0","modified":"2024-12-05T05:37:11.490Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-25711","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25711","licence":"Public domain","modified":"2026-06-17T07:16:27.167Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-41","url":"https://osv.dev/vulnerability/PYSEC-2024-41","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:45.002Z"}],"updatedAt":"2026-11-25T22:58:37.073Z","epss":{"score":0.00979,"percentile":0.63198,"date":"2026-12-01T12:00:22.000Z"}}