# CVE-2020-8945: GO-2021-0096 - Memory corruption or code execution in github.com/proglottis/gpgme

Source: https://junglewise.ai/threats/cve-2020-8945-gpgme-go-wrapper-contains-use-after-free  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-14  
License: CC BY 4.0 with a link back

CVE-2020-8945 · Severity: low · CVSS 3.1 · Published 2021-04-14

Memory corruption or code execution in github.com/proglottis/gpgme

Technologies: [github.com/proglottis/gpgme (Go)](https://junglewise.ai/threats/technologies/github-com-proglottis-gpgme). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2020-8945 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-8945 being exploited in the wild.

**How severe is CVE-2020-8945?** Low severity, with a CVSS score of 3.1, published 14 April 2021.

**Which products and versions are affected?** github.com/proglottis/gpgme (Go) SEMVER:introduced=0,fixed=0.1.1.

**Is there a fix for CVE-2020-8945?** Yes. github.com/proglottis/gpgme (Go): upgrade to 0.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-8945?** Check whether you run github.com/proglottis/gpgme (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/proglottis/gpgme (Go): upgrade to 0.1.1 or later

  ```sh
  go get github.com/proglottis/gpgme@v0.1.1
  ```


## Affected products

- github.com/proglottis/gpgme (Go) SEMVER:introduced=0,fixed=0.1.1

## Identifiers

- CVE-2020-8945
- GHSA-m6wg-2mwg-4rfq
- GO-2021-0096

## Related threats

- [GO-2020-0031 - Due to improper setting of finalizers, memory passed to C may be freed before it is used, leading to…](https://junglewise.ai/threats/go-2020-0031-due-to-improper-setting-of-finalizers-memory-passed-to-c-46b54f44)
- [GO-2020-0002 - The Data, Context, or Key finalizers might run during or before GPGME operations. This will release the…](https://junglewise.ai/threats/go-2020-0002-the-data-context-or-key-finalizers-might-run-during-or-6a9e4f63)
