GHSA-qh62-ch95-63wh: Duplicate Advisory Python-gnupg Allows Context-dependent Attackers To Vulnerability

MODERATE
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-qh62-ch95-63wh
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

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.

python-gnupg fixed: 0.4.4
pip install python-gnupg>=0.4.4
Verify Direct and Transitive Dependencies

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

**Withdrawn:** Duplicate of GHSA-2fch-jvg5-crf6

GHSA-qh62-ch95-63wh Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.4.4
Product / Package Ecosystem Affected Versions Fixed Version
python-gnupg
PyPI
< 0.4.4
0.4.4

References

NVD — GHSA-qh62-ch95-63wh NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-6690
bitbucket.org/vinay.sajip/python-... WEB
https://bitbucket.org/vinay.sajip/python-gnupg/commits/1a5196800604c05f9e347110b4ecca538ba68cdc
blog.hackeriet.no/cve-2019-6690-pytho... WEB
https://blog.hackeriet.no/cve-2019-6690-python-gnupg-vulnerability
GitHub Advisory / Wiki ADVISORY
https://github.com/advisories/GHSA-2fch-jvg5-crf6
GitHub Advisory / Wiki ADVISORY
https://github.com/advisories/GHSA-qh62-ch95-63wh
Duplicate Advisory Source Repository REPOSITORY
https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2019-115.yaml
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2019/02/msg00021.html
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3WMV6XNPPL3VB3RQRFFOBCJ3AGWC4K47
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W6KYZMN2PWXY4ENZVJUVTGFBVYEVY7II
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X4VFRUG56542LTYK4444TPJBGR57MT25
pypi.org/project/python-gnup... WEB
https://pypi.org/project/python-gnupg/#history
seclists.org/bugtraq/2019/jan/41 WEB
https://seclists.org/bugtraq/2019/Jan/41
usn.ubuntu.com/3964-1 WEB
https://usn.ubuntu.com/3964-1
Duplicate Advisory Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00008.html
Duplicate Advisory Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2019-02/msg00058.html
Duplicate Advisory Security Information SECURITY
http://packetstormsecurity.com/files/151341/Python-GnuPG-0.4.3-Improper-Input-Validation.html
Duplicate Advisory Security Information SECURITY
http://www.securityfocus.com/bid/106756

Frequently Asked Questions

What is GHSA-qh62-ch95-63wh?
GHSA-qh62-ch95-63wh is a security vulnerability in Duplicate Advisory involving python-gnupg allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended under General Security Weakness.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.4.4 across affected packages: python-gnupg.
What version fixes GHSA-qh62-ch95-63wh?
Upgrading to 0.4.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is python-gnupg affected?
Yes, python-gnupg is affected in releases prior to 0.4.4. Upgrade your dependency to 0.4.4 or later.
What CWE is associated with GHSA-qh62-ch95-63wh?
GHSA-qh62-ch95-63wh is classified under General Security Weakness.
How can I check PyPI dependencies for GHSA-qh62-ch95-63wh?
Run the dependency tree command: 'pip show python-gnupg'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}