CVEfocus › CVE database › CVE-2023-5981

CVE-2023-5981Gnutls: timing side-channel in the rsa-psk authentication

CVSS 5.9 MediumEPSS 1.6% (higher than 76% of CVEs)Published 2023-11-28Updated 2026-11-05Assigner: redhat

A vulnerability was found that the response times to malformed ciphertexts in RSA-PSK ClientKeyExchange differ from response times of ciphertexts with correct PKCS#1 v1.5 padding.

CWE-208

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, 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

33Fixed
3Fix pending
9Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04gnutls28Fixed3.7.3-4ubuntu1.3UBUNTU-CVE-2023-5981
Ubuntu 20.04gnutls28Fixed3.6.13-2ubuntu1.9UBUNTU-CVE-2023-5981
Ubuntu 18.04gnutls28Fix pending3.5.18-1ubuntu1.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-5981
Ubuntu 16.04gnutls28Fix pendingUBUNTU-CVE-2023-5981
Ubuntu 14.04gnutls28Fix pending
Debian 14gnutls28Fixed3.8.2-1DEBIAN-CVE-2023-5981
Debian 13gnutls28Fixed3.8.2-1DEBIAN-CVE-2023-5981
Debian 12gnutls28Fixed3.7.9-2+deb12u1DEBIAN-CVE-2023-5981
Red Hat Enterprise Linux 9gnutlsFixed0:3.7.6-23.el9_3.3RHSA-2024:0533
Red Hat Enterprise Linux 9gnutls-c++Fixed0:3.7.6-23.el9_3.3RHSA-2024:0533
Red Hat Enterprise Linux 9gnutls-daneFixed0:3.7.6-23.el9_3.3RHSA-2024:0533
Red Hat Enterprise Linux 9gnutls-develFixed0:3.7.6-23.el9_3.3RHSA-2024:0533
Red Hat Enterprise Linux 9gnutls-utilsFixed0:3.7.6-23.el9_3.3RHSA-2024:0533
Red Hat Enterprise Linux 8gnutlsFixed0:3.6.16-8.el8_9RHSA-2024:0155
Red Hat Enterprise Linux 8gnutls-c++Fixed0:3.6.16-8.el8_9RHSA-2024:0155
Red Hat Enterprise Linux 8gnutls-daneFixed0:3.6.16-8.el8_9RHSA-2024:0155
Red Hat Enterprise Linux 8gnutls-develFixed0:3.6.16-8.el8_9RHSA-2024:0155
Red Hat Enterprise Linux 8gnutls-utilsFixed0:3.6.16-8.el8_9RHSA-2024:0155
Red Hat Enterprise Linux 7gnutlsWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnutls-c++Will not fix
Out of support scope
Red Hat Enterprise Linux 7gnutls-daneWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnutls-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7gnutls-utilsWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutlsWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutls-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutls-guileWill not fix
Out of support scope
Red Hat Enterprise Linux 6gnutls-utilsWill not fix
Out of support scope
AlmaLinux 9gnutlsFixed3.7.6-23.el9_3.3ALSA-2024:0533
AlmaLinux 9gnutls-c++Fixed3.7.6-23.el9_3.3ALSA-2024:0533
AlmaLinux 9gnutls-daneFixed3.7.6-23.el9_3.3ALSA-2024:0533
AlmaLinux 9gnutls-develFixed3.7.6-23.el9_3.3ALSA-2024:0533
AlmaLinux 9gnutls-utilsFixed3.7.6-23.el9_3.3ALSA-2024:0533
AlmaLinux 8gnutlsFixed3.6.16-8.el8_9.1ALSA-2024:0155
AlmaLinux 8gnutls-c++Fixed3.6.16-8.el8_9ALSA-2024:0627
AlmaLinux 8gnutls-daneFixed3.6.16-8.el8_9ALSA-2024:0627
AlmaLinux 8gnutls-develFixed3.6.16-8.el8_9ALSA-2024:0627
AlmaLinux 8gnutls-utilsFixed3.6.16-8.el8_9ALSA-2024:0627
Rocky Linux 8gnutlsFixed0:3.6.16-8.el8_9RLSA-2024:0155
Alpine Linux 3.24gnutlsFixed3.8.3-r0ALPINE-CVE-2023-5981
Alpine Linux 3.23gnutlsFixed3.8.3-r0ALPINE-CVE-2023-5981
Alpine Linux 3.22gnutlsFixed3.8.3-r0ALPINE-CVE-2023-5981
Alpine Linux 3.21gnutlsFixed3.8.3-r0ALPINE-CVE-2023-5981
Alpine Linux 3.20gnutlsFixed3.8.3-r0ALPINE-CVE-2023-5981
Alpine Linux 3.19gnutlsFixed3.8.3-r0ALPINE-CVE-2023-5981
Alpine Linux 3.18gnutlsFixed3.8.3-r0ALPINE-CVE-2023-5981

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.

Workaround: To address the issue found upgrade to GnuTLS 3.8.2 or later versions.

Vendor advisories:

References

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.