CVE-2016-6313
The mixing functions in the random number generator in Libgcrypt before 1.5.6, 1.6.x before 1.6.6, and 1.7.x before 1.7.3 and GnuPG before 1.4.21 make it easier for attackers to obtain the values of 160 bits by leveraging knowledge of the previous 4640 bits.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | gnupg | Fixed | 1.4.20-1ubuntu3.1 | UBUNTU-CVE-2016-6313 |
| Ubuntu 16.04 | gnupg2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | libgcrypt20 | Fixed | 1.6.5-2ubuntu0.2 | UBUNTU-CVE-2016-6313 |
| Ubuntu 14.04 | gnupg | Fixed | 1.4.16-1ubuntu2.4 | UBUNTU-CVE-2016-6313 |
| Ubuntu 14.04 | gnupg2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | libgcrypt11 | Fixed | 1.5.3-2ubuntu4.4 | UBUNTU-CVE-2016-6313 |
| Ubuntu 14.04 | libgcrypt20 | Fix pending | ||
| Debian 14 | gnupg1 | Fixed | 1.4.21-1 | DEBIAN-CVE-2016-6313 |
| Debian 14 | libgcrypt20 | Fixed | 1.7.3-1 | DEBIAN-CVE-2016-6313 |
| Debian 13 | gnupg1 | Fixed | 1.4.21-1 | DEBIAN-CVE-2016-6313 |
| Debian 13 | libgcrypt20 | Fixed | 1.7.3-1 | DEBIAN-CVE-2016-6313 |
| Debian 12 | gnupg1 | Fixed | 1.4.21-1 | DEBIAN-CVE-2016-6313 |
| Debian 12 | libgcrypt20 | Fixed | 1.7.3-1 | DEBIAN-CVE-2016-6313 |
| Red Hat Enterprise Linux 7 | libgcrypt | Fixed | 0:1.5.3-13.el7_3.1 | RHSA-2016:2674 |
| Red Hat Enterprise Linux 7 | libgcrypt-devel | Fixed | 0:1.5.3-13.el7_3.1 | RHSA-2016:2674 |
| Red Hat Enterprise Linux 6 | libgcrypt | Fixed | 0:1.4.5-12.el6_8 | RHSA-2016:2674 |
| Red Hat Enterprise Linux 6 | libgcrypt-devel | Fixed | 0:1.4.5-12.el6_8 | RHSA-2016:2674 |
| Red Hat Enterprise Linux 5 | libgcrypt | Will not fix Will not fix | ||
| Alpine Linux 3.4 | libgcrypt | Fixed | 1.7.0-r1 | ALPINE-CVE-2016-6313 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2016/dsa-3650 (vendor-advisory)
- https://security.gentoo.org/glsa/201612-01 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-3064-1 (vendor-advisory)
- http://www.debian.org/security/2016/dsa-3649 (vendor-advisory)
- https://security.gentoo.org/glsa/201610-04 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2016-2674.html (vendor-advisory)
References
- http://www.debian.org/security/2016/dsa-3650
- https://security.gentoo.org/glsa/201612-01
- http://www.ubuntu.com/usn/USN-3064-1
- http://www.debian.org/security/2016/dsa-3649
- https://security.gentoo.org/glsa/201610-04
- http://www.securitytracker.com/id/1036635
- https://lists.gnupg.org/pipermail/gnupg-announce/2016q3/000395.html
- https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=blob_plain%3Bf=NEWS
- http://rhn.redhat.com/errata/RHSA-2016-2674.html
- http://www.securityfocus.com/bid/92527
- http://www.ubuntu.com/usn/USN-3065-1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.