Advisory

GHSA-r3vr-prwv-86g9

Also known as: CVE-2014-1927, PYSEC-2014-90

Summary

python-gnupg's shell_quote function does not properly quote strings

Details

The shell_quote function in python-gnupg 0.3.5 does not properly quote strings, which allows context-dependent attackers to execute arbitrary code via shell metacharacters in unspecified vectors, as demonstrated using "$(" command-substitution sequences, a different vulnerability than CVE-2014-1928. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7323.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-11-06 23:14 UTC
Modified
2024-10-25 21:18 UTC

Affected packages and fixes

python-gnupg

PyPI · All systems

Affected

  • introduced 0.3.5, fixed 0.3.6 (ecosystem)

Fixed versions

0.3.6

Fix

  • Fixed version 0.3.6
    pip install --upgrade python-gnupg==0.3.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences