{"id":"CVE-2021-33560","details":"Libgcrypt before 1.8.8 and 1.9.x before 1.9.3 mishandles ElGamal encryption because it lacks exponent blinding to address a side-channel attack against mpi_powm, and the window size is not chosen appropriately. This, for example, affects use of ElGamal in OpenPGP.","modified":"2026-04-16T04:31:05.770894544Z","published":"2021-06-08T11:15:07.767Z","related":["ALSA-2021:4409","SUSE-SU-2021:14751-1","SUSE-SU-2021:2155-1","SUSE-SU-2021:2156-1","SUSE-SU-2021:2157-1","openSUSE-SU-2021:0919-1","openSUSE-SU-2021:2157-1","openSUSE-SU-2024:10941-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BKKTOIGFW2SGN3DO2UHHVZ7MJSYN4AAB/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7OAPCUGPF3VLA7QAJUQSL255D4ITVTL/"},{"type":"ADVISORY","url":"https://dev.gnupg.org/T5305"},{"type":"ADVISORY","url":"https://dev.gnupg.org/T5328"},{"type":"ADVISORY","url":"https://dev.gnupg.org/T5466"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202210-13"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00021.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"FIX","url":"https://dev.gnupg.org/rCe8b7f10be275bcedb5fc05ed4837a89bfd605c61"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"git://git.gnupg.org/libgcrypt.git","events":[{"introduced":"0"},{"fixed":"d3d4803ca1b1d50fdb0c8fa2891c75e0229ff25f"},{"introduced":"0dc49af9b5371c5e2f766b70c3bede2b10db9f7e"},{"fixed":"cb78627203705365d24b48ec4fc4cf2fc804b277"},{"introduced":"0"},{"last_affected":"9d94d7846cde272b8b1519ba96e53967bf0b90d2"},{"introduced":"0"},{"last_affected":"0dc49af9b5371c5e2f766b70c3bede2b10db9f7e"},{"introduced":"0"},{"last_affected":"e4ab2147f3e236f7be95f9709ce09193b2ca5c1a"},{"introduced":"0"},{"last_affected":"850aca744eeda5fd410f478a0778e353045ac962"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.8.8"},{"introduced":"1.9.0"},{"fixed":"1.9.3"},{"introduced":"0"},{"last_affected":"1.11.0"},{"introduced":"0"},{"last_affected":"1.9.0"},{"introduced":"0"},{"last_affected":"1.10.0"},{"introduced":"0"},{"last_affected":"1.8.0"}]}}],"versions":["DEVEL-BRANCH-1-1","V-0-2-8","V0-0-0","V0-1-0","V0-2-0","V0-2-10","V0-2-15","V0-2-17","V0-2-18","V0-2-19","V0-2-6","V0-3-0","V0-3-1","V0-3-2","V0-3-3","V0-3-4","V0-3-5","V0-4-0","V0-4-1","V0-4-2","V0-4-3","V0-4-4","V0-4-5","V0-9-0","V0-9-1","V0-9-10","V0-9-11","V0-9-2","V0-9-3","V0-9-4","V0-9-5","V0-9-6","V0-9-7","V0-9-8","V0-9-9","V1-0-0","V1-0-1","V1-0-1-ePit-1","V1-0-2","V1-0-3","V1-0-4","V1-1-0","V1-1-10","V1-1-11","V1-1-12","V1-1-2","V1-1-3","V1-1-4","V1-1-42","V1-1-43","V1-1-44","V1-1-5","V1-1-6","V1-1-7","V1-1-8","V1-1-9","V1-1-90","V1-1-91","V1-1-92","V1-1-93","V1-1-94","V1-2-0","V1-2-1","ecc-integration-done","last-gpl-version","libgcrypt-1.10-base","libgcrypt-1.10.0","libgcrypt-1.11-base","libgcrypt-1.11.0","libgcrypt-1.3.0","libgcrypt-1.3.1","libgcrypt-1.3.2","libgcrypt-1.4.0","libgcrypt-1.4.1","libgcrypt-1.4.1rc1","libgcrypt-1.4.2","libgcrypt-1.4.2rc1","libgcrypt-1.4.2rc2","libgcrypt-1.4.3","libgcrypt-1.4.4","libgcrypt-1.5.0","libgcrypt-1.5.0-beta1","libgcrypt-1.6.0","libgcrypt-1.7.0","libgcrypt-1.7.1","libgcrypt-1.7.2","libgcrypt-1.7.3","libgcrypt-1.8.0","libgcrypt-1.8.1","libgcrypt-1.8.2","libgcrypt-1.8.3","libgcrypt-1.8.4","libgcrypt-1.8.5","libgcrypt-1.8.6","libgcrypt-1.8.7","libgcrypt-1.9-base","libgcrypt-1.9.0","libgcrypt-1.9.1","libgcrypt-1.9.3","marcus-after-thread-cbs","marcus-before-thread-cbs","now-less-freedom-protected","post-nuke-of-trailing-ws"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"34"}]},{"events":[{"introduced":"0"},{"last_affected":"1.14.0"}]},{"events":[{"introduced":"0"},{"last_affected":"1.15.0"}]},{"events":[{"introduced":"0"},{"last_affected":"1.15.1"}]},{"events":[{"introduced":"0"},{"last_affected":"1.15.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33560.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}