PYSEC-2019-45 - python-gnupg 0.4.3 allows context-dependent attackers to trick gnupg to decrypt other ciphertext than…

Severity: info · Published 2019-03-21

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.

Technologies: python-gnupg (PyPI). Vendors: PyPI.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Informational severity, published 21 March 2019.
Which products and versions are affected?
python-gnupg (PyPI) ECOSYSTEM:introduced=0,fixed=0.4.4.
Is there a fix for This vulnerability?
Yes. python-gnupg (PyPI): upgrade to 0.4.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
Check whether you run python-gnupg (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • python-gnupg (PyPI): upgrade to 0.4.4 or later
    pip install "python-gnupg>=0.4.4"

Affected products

  • python-gnupg (PyPI) ECOSYSTEM:introduced=0,fixed=0.4.4

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.