Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2019-6690 EUVD-2019-0114GHSA-2fch-jvg5-crf6GHSA-qh62-ch95-63whPYSEC-2019-115

Improper Input Validation python-gnupg

Published Mar 17, 2019 · Updated Aug 4, 2024 · Assigned by mitre

Description

python-gnupg 0.4.3 allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended. To perform the attack, the passphrase to gnupg must be controlled by the adversary and the ciphertext should be trusted. Related to a "CWE-20: Improper Input Validation" issue affecting the affect functionality component.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-gnupg 0.4.4-1 —
Debian 13 python-gnupg 0.4.4-1 —
Debian 12 python-gnupg 0.4.4-1 —
Debian 9 python-gnupg 0.3.9-1+deb9u1 DLA-2862-1
Debian 8 python-gnupg 0.3.6-1+deb8u1 DLA-1675-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS python-gnupg No fix yet —
Ubuntu 20.04 LTS python-gnupg No fix yet —
Ubuntu 18.04 LTS python-gnupg 0.4.1-1ubuntu1.18.04.1 USN-3964-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS python-gnupg 0.3.8-2ubuntu0.1~esm1 USN-4839-1
Ubuntu Pro 14.04 LTS python-gnupg 0.3.6-1ubuntu0.1~esm1 USN-4839-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 python-python-gnupg 0.4.4-bp150.2.3.1 openSUSE-SU-2019:0239-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-python-gnupg 0.5.2-1.5 openSUSE-SU-2026:11755-1, openSUSE-SU-2024:14158-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-gnupg < 0.4.4 0.4.4 GHSA-2fch-jvg5-crf6

Advisories 7

References