CVE-2023-5981: Gnutls: timing side-channel in the rsa-psk authentication
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.
Other sources
GNU GnuTLS could allow a remote attacker to obtain sensitive information, caused by a timing sidechannel issue during RSA-PSK key exchange. By sending a specially crafted request, an attacker could exploit this vulnerability to obtain sensitive information, and use this information to launch further attacks against the affected system.
— IBM
gnutls: timing side-channel in the RSA-PSK authentication https://gitlab.com/gnutls/gnutls/-/issues/1511
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/GnuTLSto a version that resolves this vulnerability.Fixed in 3.8.2 - Upgrade
Upgrade
ubuntu/gnutls28to a version that resolves this vulnerability.Fixed in 3.5.18-1ubuntu1.6+ - Upgrade
Upgrade
ubuntu/gnutls28to a version that resolves this vulnerability.Fixed in 3.6.13-2ubuntu1.9 - Upgrade
Upgrade
ubuntu/gnutls28to a version that resolves this vulnerability.Fixed in 3.7.3-4ubuntu1.3 - Upgrade
Upgrade
ubuntu/gnutls28to a version that resolves this vulnerability.Fixed in 3.7.8-5ubuntu1.1 - Upgrade
Upgrade
ubuntu/gnutls28to a version that resolves this vulnerability.Fixed in 3.8.1-4ubuntu1.1 - Upgrade
Upgrade
ubuntu/gnutls28to a version that resolves this vulnerability.Fixed in 3.8.2 - Upgrade
Upgrade
debian/gnutls28to a version that resolves this vulnerability.Fixed in 3.6.7-4+deb10u12Fixed in 3.7.1-5+deb11u4Fixed in 3.7.9-2+deb12u2Fixed in 3.8.5-2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 20.1.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.5.1.317.1.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.8.4
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2023-5981?
CVE-2023-5981 is a vulnerability found in the RSA-PSK key exchange in GnuTLS, where response times to malformed ciphertexts differ from response times of ciphertexts with correct PKCS#1 v1.5 padding.
What is the severity of CVE-2023-5981?
The severity of CVE-2023-5981 is high with a CVSS severity score of 7.4.
Which software versions are affected by CVE-2023-5981?
GnuTLS versions up to and excluding 3.8.2, Gnu Gnutls version 1.5.0, Redhat Linux versions 8.0 and 9.0, and Fedora versions 37 and 38 are affected by CVE-2023-5981.
How can I fix CVE-2023-5981?
To fix CVE-2023-5981, upgrade GnuTLS to version 3.8.3 or higher.
Where can I find more information about CVE-2023-5981?
More information about CVE-2023-5981 can be found on the Red Hat Security Advisory and Bugzilla pages, as well as the GnuTLS GitLab issue.