Debian Security Advisory
DLA-1675-1 python-gnupg -- LTS security update
- Date Reported:
- 14 Feb 2019
- Affected Packages:
- python-gnupg
- Vulnerable:
- Yes
- Security database references:
- In Mitre's CVE dictionary: CVE-2019-6690.
- More information:
-
Alexander Kjäll and Stig Palmquist discovered a vulnerability in python-gnupg, a wrapper around GNU Privacy Guard. It was possible to inject data through the passphrase property of the gnupg.GPG.encrypt() and gnupg.GPG.decrypt() functions when symmetric encryption is used. The supplied passphrase is not validated for newlines, and the library passes --passphrase-fd=0 to the gpg executable, which expects the passphrase on the first line of stdin, and the ciphertext to be decrypted or plaintext to be encrypted on subsequent lines.
By supplying a passphrase containing a newline an attacker can control/modify the ciphertext/plaintext being decrypted/encrypted.
For Debian 8
Jessie
, this problem has been fixed in version 0.3.6-1+deb8u1.We recommend that you upgrade your python-gnupg packages.
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS