# CVE-2013-7323: PYSEC-2014-89 - python-gnupg before 0.3.5 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in unspecified vectors.

Source: https://junglewise.ai/threats/cve-2013-7323-python-gnupg-allows-context-dependent-attackers-to-execute  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2014-06-09  
License: CC BY 4.0 with a link back

CVE-2013-7323 · Severity: low · CVSS 3.1 · Published 2014-06-09

python-gnupg before 0.3.5 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in unspecified vectors.

Technologies: [python-gnupg (PyPI)](https://junglewise.ai/threats/technologies/python-gnupg). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2013-7323 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2013-7323 being exploited in the wild.

**How severe is CVE-2013-7323?** Low severity, with a CVSS score of 3.1, published 9 June 2014.

**Which products and versions are affected?** python-gnupg (PyPI) ECOSYSTEM:introduced=0,fixed=0.3.5, ECOSYSTEM:introduced=0,fixed=0.3.7.

**Is there a fix for CVE-2013-7323?** Yes. python-gnupg (PyPI): upgrade to 0.3.5, 0.3.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2013-7323?** 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.3.5, 0.3.7 or later

  ```sh
  pip install "python-gnupg>=0.3.7"
  ```


## Affected products

- python-gnupg (PyPI) ECOSYSTEM:introduced=0,fixed=0.3.5, ECOSYSTEM:introduced=0,fixed=0.3.7

## Identifiers

- CVE-2013-7323
- GHSA-c2fx-8r76-gh36
- PYSEC-2014-89

## Related threats

- [PYSEC-2019-45 - python-gnupg 0.4.3 allows context-dependent attackers to trick gnupg to decrypt other ciphertext than…](https://junglewise.ai/threats/pysec-2019-45-python-gnupg-0-4-3-allows-context-dependent-attackers-to-b9a2b608)
- [Duplicate Advisory: python-gnupg allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended](https://junglewise.ai/threats/cve-2019-6690-python-gnupg-improper-input-validation-in-passphrase-handling)
- [python-gnupg vulnerable to shell injection](https://junglewise.ai/threats/cve-2014-1929-python-gnupg-vulnerable-to-shell-injection)
- [python-gnupg's shell_quote function does not properly quote strings](https://junglewise.ai/threats/cve-2014-1927-python-gnupg-s-shell-quote-function-does-not-properly-quote)
- [python-gnupg shell_quote improper character escaping](https://junglewise.ai/threats/cve-2014-1928-python-gnupg-shell-quote-improper-character-escaping)
