Critical Vulnerability in python-gnupg: Option Injection Risk

python-gnupg Updated 02 Oct 2025

Summary

25/10/2014
N/A
Yes i
Unrated
Not published

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.6-1. Fixed in 0.3.6-1. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

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 wrapper for GnuPG, allowing users to manage encryption and signing of data. It provides a simple interface for developers to integrate GnuPG functionalities into their applications. However, versions 0.3.5 and 0.3.6 are susceptible to a vulnerability that can be exploited through option injection via positional arguments, potentially compromising the integrity of the cryptographic operations.

Vulnerability Detail

The vulnerability identified as CVE-2014-1929 affects python-gnupg versions 0.3.5 and 0.3.6. It allows context-dependent attackers to exploit the application through option injection, which can lead to unintended behavior or security breaches. This issue arises from an incomplete fix for a previous vulnerability (CVE-2013-7323), highlighting the importance of thorough testing and validation in software updates.

How To Fix

Minimum fixed version

0.3.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-gnupg

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

Workaround

If upgrading is not immediately possible, consider implementing input validation to sanitize any user inputs that may be passed as positional arguments to the python-gnupg functions. This can help mitigate the risk of option injection until a proper upgrade can be performed.

Conclusion

The CVE-2014-1929 vulnerability in python-gnupg poses a significant risk due to option injection through positional arguments. Users are strongly advised to upgrade to the latest version to mitigate this risk. Implementing input validation can serve as a temporary measure until an upgrade is possible.

See every vulnerability recorded for python-gnupg →

Share this vulnerability

FAQ

CVE-2014-1929 is a vulnerability in python-gnupg that allows attackers to exploit option injection through positional arguments, potentially compromising the application's security.

Versions 0.3.5 and 0.3.6 of python-gnupg are affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities. By uploading your manifest file like package-lock.json to Vulert, you can check for vulnerabilities in real-time.

If an immediate upgrade is not feasible, implement input validation to sanitize user inputs that may be passed to python-gnupg functions to reduce the risk of exploitation.

More information can be found in the CVE database or through security advisories related to python-gnupg.

Related vulnerabilities

Recent vulnerabilities recorded for python-gnupg.

How To Fix

Minimum fixed version

0.3.6-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-gnupg

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