CVE-2019-6690 json
Improper Input Validation python-gnupg
published 7y ago modified 4mo ago also GHSA-2fch-jvg5-crf6 , GHSA-qh62-ch95-63wh , PYSEC-2019-115 , EUVD-2019-0114
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.6%
- EPSS 8.6% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi python-gnupg 0.4.4
- python-gnupg Debian 14, Debian 13, Debian 12 0.4.4-1
debian advisories DEBIAN-CVE-2019-6690
- python-gnupg Ubuntu 18.04 LTS 0.4.1-1ubuntu1.18.04.1
- python-gnupg Ubuntu Pro 14.04 LTS 0.3.6-1ubuntu0.1~esm1
- python-gnupg Ubuntu Pro 16.04 LTS 0.3.8-2ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2019-6690
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-python-gnupg openSUSE Tumbleweed 0.5.6-2.1
- python-python-gnupg openSUSE Tumbleweed 0.5.2-1.5
- python-python-gnupg Package Hub 15 0.4.4-bp150.2.3.1
opensuse advisories openSUSE-SU-2026:11755-1openSUSE-SU-2024:14158-1openSUSE-SU-2019:0239-1
Is CVE-2019-6690 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-6690 updated cvss 7.5
python-gnupg: improper input validation in gnupg.GPG.encrypt() and gnupg.GPG.decrypt()
-
Red Hat Update Infrastructure 3 for Cloud Providers python-gnupgaffected: workaround, no fix planned “Filter out newlines from passphrases before passing them to python-gnupg.”
-
Red Hat Satellite 6 python-gnupgnot affected: vulnerable code not present “Filter out newlines from passphrases before passing them to python-gnupg.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
8.62% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | python-gnupg | <0.4.4 |
0.4.4 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
bitbucket.org
/vinay.sajip/python-gnupg/commits/1a5196800604c05f9e347110b4ecca538ba68cdc
web
-
lists.opensuse.org
/opensuse-security-announce/2019-02/msg00008.html
vendor-advisory, web, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-02/msg00058.html
vendor-advisory, web, mailing-list, third-party-advisory
-
usn.ubuntu.com
/3964-1/
vendor-advisory, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47/
vendor-advisory
-
securityfocus.com
/bid/106756
vdb-entry, web, broken-link
-
packetstormsecurity.com
/files/151341/Python-GnuPG-0.4.3-Improper-Input-Validation.html
web, third-party-advisory, vdb-entry
-
pypi.org
/project/python-gnupg/#history
web, product, third-party-advisory, package
-
lists.debian.org
/debian-lts-announce/2019/02/msg00021.html
mailing-list, web, third-party-advisory
-
seclists.org
/bugtraq/2019/Jan/41
mailing-list, web, third-party-advisory
-
blog.hackeriet.no
/cve-2019-6690-python-gnupg-vulnerability/
third-party-advisory, article
-
lists.debian.org
/debian-lts-announce/2021/12/msg00027.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-6690
advisory
-
blog.hackeriet.no
/cve-2019-6690-python-gnupg-vulnerability
web
-
github.com
/advisories/GHSA-2fch-jvg5-crf6
advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25
web
-
usn.ubuntu.com
/3964-1
web
-
web.archive.org
/web/20200227091727/http://www.securityfocus.com/bid/106756
web
-
github.com
/advisories/GHSA-qh62-ch95-63wh
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2019-115.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47/
web
Sources
- CVE List CVE-2019-6690
- GitHub Advisory GHSA-2fch-jvg5-crf6
- GitHub Advisory GHSA-qh62-ch95-63wh
- NVD CVE-2019-6690
- OSV PYSEC-2019-115
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.