Bug 1875675 (CVE-2020-25125) - CVE-2020-25125 gnupg: AEAD preference list overflow
Summary: CVE-2020-25125 gnupg: AEAD preference list overflow
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-25125
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1875676
TreeView+ depends on / blocked
 
Reported: 2020-09-04 03:41 UTC by Huzaifa S. Sidhpurwala
Modified: 2021-02-16 19:23 UTC (History)
6 users (show)

Fixed In Version: gnupg 2.2.23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-04 14:37:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Huzaifa S. Sidhpurwala 2020-09-04 03:41:53 UTC
As per upstream report:

Importing a key with AEAD preferences with GnuPG 2.2 can lead to an array overflow. This is not trivial to exploit because the attacker can control only each second byte with the first byte being fixed at 0x04. But it can be exploited.

Affected versions are GnuPG 2.2.21 and 2.2.22. GnuPG 2.3 and versions before 2.2.21 are not affected.

Comment 2 Huzaifa S. Sidhpurwala 2020-09-04 14:32:03 UTC
Upstream patch: https://dev.gnupg.org/rGaeb8272ca8aad403a4baac33b8d5673719cfd8f0

Comment 3 Huzaifa S. Sidhpurwala 2020-09-04 14:32:08 UTC
Acknowledgments:

Name: the GnuPG project


Note You need to log in before you can comment on or make changes to this bug.