Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924883 (CVE-2024-25711) - <dev-util/diffoscope-257: Information disclosure vulnerability when diffing GPG artifacts
Summary: <dev-util/diffoscope-257: Information disclosure vulnerability when diffing G...
Alias: CVE-2024-25711
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: B4 [glsa? cleanup]
Depends on: 924889
  Show dependency tree
Reported: 2024-02-18 09:15 UTC by Sam James
Modified: 2024-02-29 04:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-18 09:15:39 UTC
From the 256 release notes:
* CVE-2024-25711: Use a determistic name when extracting content from GPG
  artifacts instead of trusting the value of gpg's --use-embedded-filenames.

  This prevents a potential information disclosure vulnerability that could
  have been exploited by providing a specially-crafted GPG file with an
  embedded filename of, say, "../../.ssh/id_rsa".

  Many thanks to Daniel Kahn Gillmor <> for reporting this
  issue and providing feedback.

  (Closes: reproducible-builds/diffoscope#361)
Comment 1 Larry the Git Cow gentoo-dev 2024-02-18 09:22:16 UTC
The bug has been referenced in the following commit(s):

commit c75ab0fd2b82f5e3b6d64a0e2bf86655b53e6134
Author:     Sam James <>
AuthorDate: 2024-02-18 09:21:23 +0000
Commit:     Sam James <>
CommitDate: 2024-02-18 09:21:23 +0000

    dev-util/diffoscope: add 257
    Signed-off-by: Sam James <>

 dev-util/diffoscope/Manifest              |   1 +
 dev-util/diffoscope/diffoscope-257.ebuild | 124 ++++++++++++++++++++++++++++++
 2 files changed, 125 insertions(+)