{"id":"USN-4839-1","summary":"python-gnupg vulnerabilities","details":"Marcus Brinkmann discovered that python-gnupg improperly handled certain\ncommand line parameters. A remote attacker could use this to spoof the\noutput of python-gnupg and cause unsigned e-mail to appear signed.\n(CVE-2018-12020)\n\nIt was discovered that python-gnupg incorrectly handled the GPG passphrase.\nA remote attacker could send a specially crafted passphrase that would\nallow them to control the output of encryption and decryption operations.\n(CVE-2019-6690)","modified":"2026-02-10T04:42:06Z","published":"2021-03-15T22:21:57Z","related":["UBUNTU-CVE-2018-12020","UBUNTU-CVE-2019-6690"],"upstream":["CVE-2018-12020","CVE-2019-6690","UBUNTU-CVE-2018-12020","UBUNTU-CVE-2019-6690"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4839-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-12020"},{"type":"REPORT","url":"https://ubuntu.com/security/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":{"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"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4839-1.json","cves_map":{"cves":[{"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"}],"id":"CVE-2018-12020"},{"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"}],"id":"CVE-2019-6690"}],"ecosystem":"Ubuntu:Pro:14.04:LTS"}}},{"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":{"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"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4839-1.json","cves_map":{"cves":[{"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"}],"id":"CVE-2018-12020"},{"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"}],"id":"CVE-2019-6690"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"}}}],"schema_version":"1.7.3"}