CVE-2014-1927
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0.3.6-1 |
| sid | Fixed | 0.3.6-1 |
| forky | Fixed | 0.3.6-1 |
| bullseye | Fixed | 0.3.6-1 |
| bookworm | Fixed | 0.3.6-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | python-gnupg | >=0.3.5,<0.3.6 | 0.3.6 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| python-gnupg_project | python-gnupg | 0.3.5 | |
References
- http://seclists.org/oss-sec/2014/q1/245
- http://seclists.org/oss-sec/2014/q1/294
- http://secunia.com/advisories/56616
- http://secunia.com/advisories/59031
- http://www.debian.org/security/2014/dsa-2946
- https://code.google.com/p/python-gnupg/
- https://code.google.com/p/python-gnupg/issues/detail?id=98
- https://nvd.nist.gov/vuln/detail/CVE-2014-1927
- https://bitbucket.org/vinay.sajip/python-gnupg
- https://code.google.com/p/python-gnupg
- https://github.com/advisories/GHSA-r3vr-prwv-86g9
- https://github.com/pypa/advisory-database/tree/main/vulns/python-gnupg/PYSEC-2014-90.yaml
- https://security-tracker.debian.org/tracker/CVE-2014-1927
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.