GHSA-qh62-ch95-63wh: Duplicate Advisory Python-gnupg Allows Context-dependent Attackers To Vulnerability
MODERATEGHSA-qh62-ch95-63wh is a MODERATE python-gnupg allows context-dependent attackers to vulnerability (General Security Weakness) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves python-gnupg allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended. Remediation is available by upgrading affected packages to version 0.4.4.
GHSA-qh62-ch95-63wh at a Glance
How to Fix GHSA-qh62-ch95-63wh
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install python-gnupg>=0.4.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show python-gnupg
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-qh62-ch95-63wh, inspect your installed packages using pip:
pip show python-gnupg
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.4), your application is affected.
Note: The pip show python-gnupg command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-qh62-ch95-63wh Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
python-gnupg
|
PyPI |
< 0.4.4
|
0.4.4
|
References
Frequently Asked Questions
What is GHSA-qh62-ch95-63wh?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-qh62-ch95-63wh?
Is python-gnupg affected?
What CWE is associated with GHSA-qh62-ch95-63wh?
How can I check PyPI dependencies for GHSA-qh62-ch95-63wh?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qh62-ch95-63wh",
"modified" : "2024-10-25T20:48:46Z",
"published" : "2020-03-13T20:05:10Z",
"withdrawn" : "2020-06-16T20:25:44Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: python-gnupg allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended",
"details" : "**Withdrawn:** Duplicate of GHSA-2fch-jvg5-crf6",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "python-gnupg"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.4.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-6690"
}, {
"type" : "WEB",
"url" : "https://bitbucket.org/vinay.sajip/python-gnupg/commits/1a5196800604c05f9e347110b4ecca538ba68cdc"
}, {
"type" : "WEB",
"url" : "https://blog.hackeriet.no/cve-2019-6690-python-gnupg-vulnerability"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-2fch-jvg5-crf6"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-qh62-ch95-63wh"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2019-115.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2019/02/msg00021.html"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25"
}, {
"type" : "WEB",
"url" : "https://pypi.org/project/python-gnupg/#history"
}, {
"type" : "WEB",
"url" : "https://seclists.org/bugtraq/2019/Jan/41"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/3964-1"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00008.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00058.html"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/151341/Python-GnuPG-0.4.3-Improper-Input-Validation.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/106756"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-03-13T20:04:45Z",
"nvd_published_at" : null
}
}