HIGH7.5
GHSA-m6wg-2mwg-4rfq
GPGME Go wrapper contains Use After Free
Quick fix
GHSA-m6wg-2mwg-4rfq — github.com/proglottis/gpgme: upgrade to the fixed version with the command below.
go get github.com/proglottis/gpgme@v0.1.1Details
The proglottis Go wrapper before 0.1.1 for the GPGME library has a use-after-free, as demonstrated by use for container image pulls by Docker or CRI-O. This leads to a crash or potential code execution during GPG signature verification.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/proglottis/gpgme
Introduced in:
0Fixed in: 0.1.1Fix
go get github.com/proglottis/gpgme@v0.1.1References
- https://nvd.nist.gov/vuln/detail/CVE-2020-8945[ADVISORY]
- https://github.com/proglottis/gpgme/pull/23[WEB]
- https://github.com/containers/image/commit/4c7a23f82ef09127b0ff28366d1cf31316dd6cc1[WEB]
- https://github.com/proglottis/gpgme/commit/92153bcb59bd2f511e502262c46c7bd660e21733[WEB]
- https://access.redhat.com/errata/RHSA-2020:0679[WEB]
- https://access.redhat.com/errata/RHSA-2020:0689[WEB]
- https://access.redhat.com/errata/RHSA-2020:0697[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1795838[WEB]
- https://github.com/proglottis/gpgme[PACKAGE]
- https://github.com/proglottis/gpgme/compare/v0.1.0...v0.1.1[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3SOCLOPTSYABTE4CLTSPDIFE6ZZZR4LX[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H6P6SSNKN4H6GSEVROHBDXA64PX7EOED[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KDBT77KV3U7BESJX3P4S4MPVDGRTAQA2[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WXV7NZELYWRRCXATXU3FYD3G3WJT3WYM[WEB]
- https://pkg.go.dev/vuln/GO-2021-0096[WEB]