CVE-2014-1929: python-gnupg Option Injection Vulnerability
Summary
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
- python-gnupg · Debian:11
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.
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.
No signup required · Results in about 60 seconds
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 →
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.