CVE-2020-8945: Vulnerability in github.com/proglottis/gpgme

github.com/proglottis/gpgme Updated 02 Oct 2025

Summary

14/04/2021
N/A
Yes i
Unrated
Not published

GO-2020-0002: The Data, Context, or Key finalizers might run during or before GPGME operations. Affects github.com/proglottis/gpgme versions < 0.1.1. Fixed in 0.1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The github.com/proglottis/gpgme package is a Go library that provides bindings for the GPGME (GnuPG Made Easy) library. It allows developers to interact with GnuPG for encryption, decryption, signing, and verification of data. The package is commonly used in applications that require secure communication and data protection. However, a vulnerability has been discovered in the package that can lead to crashes and potential code execution.

Vulnerability Detail

The vulnerability (CVE-2020-8945) in github.com/proglottis/gpgme arises from the possibility of the Data, Context, or Key finalizers running during or before GPGME operations. This can result in the premature release of C structures that are still in use, leading to use-after-free vulnerabilities. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service. The vulnerability was fixed in version 0.1.1 of the package.

How To Fix

Minimum fixed version

0.1.1

This is the first release that contains the fix.

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

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is necessary to update to the fixed version of the package to mitigate the risk.

Conclusion

The vulnerability in github.com/proglottis/gpgme can lead to crashes and potential code execution. It is crucial for developers to update their applications to use the fixed version of the package (0.1.1 or later) to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/proglottis/gpgme →

Share this vulnerability

FAQ

github.com/proglottis/gpgme is a Go library that provides bindings for the GPGME library, allowing developers to interact with GnuPG for encryption, decryption, signing, and verification of data.

The vulnerability can lead to crashes and potential code execution. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service.

To fix the vulnerability, update your application to use version 0.1.1 or later of the github.com/proglottis/gpgme package.

No, there is no known workaround for this vulnerability. It is necessary to update to the fixed version of the package.

You can find more information about this vulnerability in the official vulnerability report at https://pkg.go.dev/vuln/GO-2020-0002.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/proglottis/gpgme.

How To Fix

Minimum fixed version

0.1.1

This is the first release that contains the fix.

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

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback