{"id":"UBUNTU-CVE-2024-25711","details":"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.","modified":"2025-10-24T05:06:57Z","published":"2024-02-27T02:15:00Z","upstream":["CVE-2024-25711"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-25711"},{"type":"REPORT","url":"https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/361"},{"type":"REPORT","url":"https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/458f7f04bc053a0066aa7d2fd3251747d4899476"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-25711"}],"affected":[{"package":{"name":"diffoscope","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/diffoscope@51?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["33","38","41","42","48","49","51"],"ecosystem_specific":{"binaries":[{"binary_name":"debbindiff","binary_version":"51"},{"binary_name":"diffoscope","binary_version":"51"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25711.json"}},{"package":{"name":"diffoscope","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/diffoscope@93ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["87","88","90build1","91build1","91ubuntu1","92ubuntu1","93ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"diffoscope","binary_version":"93ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25711.json"}},{"package":{"name":"diffoscope","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/diffoscope@137?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["125","131","132","133","134","135","136","137"],"ecosystem_specific":{"binaries":[{"binary_name":"diffoscope","binary_version":"137"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25711.json"}},{"package":{"name":"diffoscope","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/diffoscope@205?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["180","194build","195","200","201","202","203","204","205"],"ecosystem_specific":{"binaries":[{"binary_name":"diffoscope","binary_version":"205"},{"binary_name":"diffoscope-minimal","binary_version":"205"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25711.json"}},{"package":{"name":"diffoscope","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/diffoscope@259?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["249","251","253","254","255","257","258","259"],"ecosystem_specific":{"binaries":[{"binary_name":"diffoscope","binary_version":"259"},{"binary_name":"diffoscope-minimal","binary_version":"259"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25711.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}