{"id":"UBUNTU-CVE-2019-6690","details":"python-gnupg 0.4.3 allows context-dependent attackers to trick gnupg to decrypt other ciphertext than intended. To perform the attack, the passphrase to gnupg must be controlled by the adversary and the ciphertext should be trusted. Related to a \"CWE-20: Improper Input Validation\" issue affecting the affect functionality component.","modified":"2026-02-04T03:55:00.343846Z","published":"2019-03-21T00:00:00Z","related":["USN-3964-1","USN-4839-1"],"upstream":["CVE-2019-6690"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-6690"},{"type":"REPORT","url":"https://github.com/stigtsp/CVE-2019-6690-python-gnupg-vulnerability"},{"type":"REPORT","url":"https://github.com/vsajip/python-gnupg/commit/39eca266dd837e2ad89c94eb17b7a6f50b25e7cf#diff-88b99bb28683bd5b7e3a204826ead112"},{"type":"REPORT","url":"https://github.com/vsajip/python-gnupg/commit/3003b654ca1c29b0510a54b9848571b3ad57df19#diff-88b99bb28683bd5b7e3a204826ead112"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3964-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4839-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-6690"}],"affected":[{"package":{"name":"python-gnupg","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python-gnupg@0.3.6-1ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.6-1ubuntu0.1~esm1"}]}],"versions":["0.3.5-2","0.3.6-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"0.3.6-1ubuntu0.1~esm1","binary_name":"python-gnupg"},{"binary_version":"0.3.6-1ubuntu0.1~esm1","binary_name":"python3-gnupg"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6690.json"}},{"package":{"name":"python-gnupg","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-gnupg@0.3.8-2ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.8-2ubuntu0.1~esm1"}]}],"versions":["0.3.7-2","0.3.8-1","0.3.8-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"0.3.8-2ubuntu0.1~esm1","binary_name":"python-gnupg"},{"binary_version":"0.3.8-2ubuntu0.1~esm1","binary_name":"python3-gnupg"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6690.json"}},{"package":{"name":"python-gnupg","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-gnupg@0.4.1-1ubuntu1.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1-1ubuntu1.18.04.1"}]}],"versions":["0.3.9-1","0.4.1-1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.4.1-1ubuntu1.18.04.1","binary_name":"python-gnupg"},{"binary_version":"0.4.1-1ubuntu1.18.04.1","binary_name":"python3-gnupg"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6690.json"}},{"package":{"name":"python-gnupg","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-gnupg@0.4.5-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.3-1ubuntu1","0.4.5-1","0.4.5-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.5-2","binary_name":"python3-gnupg"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6690.json"}},{"package":{"name":"python-gnupg","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-gnupg@0.4.8-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.6-1","0.4.7-1","0.4.8-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.8-1","binary_name":"python3-gnupg"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6690.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}