CVE-2014-1929: python-gnupg Option Injection Vulnerability

python-gnupg Updated 02 Oct 2025

Summary

25/10/2014
Yes i
Critical
9.8

CVE-2014-1929: python-gnupg 0.3.5 and 0.3.6 allows context-dependent attackers to have an unspecified impact via vectors related to "option injection through positional arguments." NOTE: this vulnerability exists because of an incomple... Affects python-gnupg versions >= 0.3.5, < 0.3.7. Fixed in 0.3.7. How to fix ↓

Also tracked for

The same CVE-2014-1929 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

python-gnupg is a Python module that provides a high-level interface to GnuPG, allowing users to encrypt, decrypt, sign, and verify files or messages using the GnuPG encryption software. It is commonly used for secure communication and data protection. However, versions 0.3.5 and 0.3.6 of python-gnupg are vulnerable to an option injection vulnerability, which can be exploited by context-dependent attackers. This vulnerability is related to the mishandling of positional arguments, allowing attackers to inject malicious options and potentially have an unspecified impact on the system. It should be noted that this vulnerability is a result of an incomplete fix for CVE-2013-7323.

Vulnerability Detail

The option injection vulnerability in python-gnupg can have various consequences depending on the attacker's intent and the system's configuration. As the impact is unspecified, it could potentially lead to unauthorized access, data manipulation, or denial of service. Attackers may exploit this vulnerability by injecting malicious options through positional arguments, tricking the application into executing unintended commands or actions. This can result in the compromise of sensitive information or the execution of arbitrary code.

How To Fix

Minimum fixed version

0.3.7

This is the first release that contains the fix.

pip install --upgrade "python-gnupg==0.3.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring that the python-gnupg library is updated to version 0.3.7 or later.

Conclusion

The option injection vulnerability in python-gnupg (versions 0.3.5 and 0.3.6) can be exploited by context-dependent attackers to inject malicious options through positional arguments. This can lead to unauthorized access, data manipulation, or denial of service. It is crucial to upgrade to python-gnupg version 0.3.7 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-gnupg →

Share this vulnerability

FAQ

python-gnupg is a Python module that provides a high-level interface to GnuPG, allowing users to encrypt, decrypt, sign, and verify files or messages using the GnuPG encryption software.

The impact of this vulnerability is unspecified, but it could potentially lead to unauthorized access, data manipulation, or denial of service.

Attackers can exploit this vulnerability by injecting malicious options through positional arguments, tricking the application into executing unintended commands or actions.

Yes, upgrading python-gnupg to version 0.3.7 or later fixes this vulnerability.

There are no specific workarounds mentioned for this vulnerability, but updating to the latest version of python-gnupg mitigates the risk.

Related vulnerabilities

Recent vulnerabilities recorded for python-gnupg.

How To Fix

Minimum fixed version

0.3.7

This is the first release that contains the fix.

pip install --upgrade "python-gnupg==0.3.7"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback