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

Medium 5.9 Published Updated

Attackers can exploit timing differences in RSA-PSK authentication to potentially recover sensitive information via side-channel analysis.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5981?

CVE-2023-5981 is a medium-severity vulnerability in Debian Debian Linux, published on 28 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-203, CWE-208

Which versions are affected by CVE-2023-5981?

It affects 4 products.

Linux distribution packages (40)
gnutls AlmaLinux:8All versions3.6.16-8.el8_9
gnutls-c++ AlmaLinux:8All versions3.6.16-8.el8_9
gnutls-dane AlmaLinux:8All versions3.6.16-8.el8_9
gnutls-devel AlmaLinux:8All versions3.6.16-8.el8_9
gnutls-utils AlmaLinux:8All versions3.6.16-8.el8_9
gnutls-c++ Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_9
gnutls-c++-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_9
gnutls-dane Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_9
gnutls-dane-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_9
gnutls-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_9
gnutls-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_9
gnutls-devel Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_9
gnutls-utils Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_9
gnutls-utils-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.6.16-8.el8_9
gnutls Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_9
gnutls-c++-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_9
gnutls-dane-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_9
gnutls-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_9
gnutls-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_9
gnutls-utils-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.6.16-8.el8_9
gnutls-c++ Red Hat:rhel_eus:8.6::appstreamAll versions0:3.6.16-5.el8_6.2
gnutls-c++-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:3.6.16-5.el8_6.2
gnutls-dane Red Hat:rhel_eus:8.6::appstreamAll versions0:3.6.16-5.el8_6.2
gnutls-dane-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:3.6.16-5.el8_6.2
gnutls-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:3.6.16-5.el8_6.2
gnutls-debugsource Red Hat:rhel_eus:8.6::appstreamAll versions0:3.6.16-5.el8_6.2
gnutls-devel Red Hat:rhel_eus:8.6::appstreamAll versions0:3.6.16-5.el8_6.2
gnutls-utils Red Hat:rhel_eus:8.6::appstreamAll versions0:3.6.16-5.el8_6.2
gnutls-utils-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:3.6.16-5.el8_6.2
gnutls Red Hat:rhel_eus:8.6::baseosAll versions0:3.6.16-5.el8_6.2
gnutls-c++-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions0:3.6.16-5.el8_6.2
gnutls-dane-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions0:3.6.16-5.el8_6.2
gnutls-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions0:3.6.16-5.el8_6.2
gnutls-debugsource Red Hat:rhel_eus:8.6::baseosAll versions0:3.6.16-5.el8_6.2
gnutls-utils-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions0:3.6.16-5.el8_6.2
gnutls-c++ Red Hat:rhel_eus:8.8::appstreamAll versions0:3.6.16-7.el8_8.1
gnutls-c++-debuginfo Red Hat:rhel_eus:8.8::appstreamAll versions0:3.6.16-7.el8_8.1
gnutls-dane Red Hat:rhel_eus:8.8::appstreamAll versions0:3.6.16-7.el8_8.1
gnutls-dane-debuginfo Red Hat:rhel_eus:8.8::appstreamAll versions0:3.6.16-7.el8_8.1
gnutls-debuginfo Red Hat:rhel_eus:8.8::appstreamAll versions0:3.6.16-7.el8_8.1

Products include Debian Debian Linux, Fedoraproject Fedora, Gnu Gnutls, Redhat Linux.

How do I fix CVE-2023-5981?

Apply the vendor's patch.

Is CVE-2023-5981 being exploited?

There is no known exploitation of CVE-2023-5981 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2023-5981, ALSA-2024:0155, AZL-32048, BELL-CVE-2023-5981, CLSA-2024-1707419801, DEBIAN-CVE-2023-5981 and 16 more.

Is CVE-2023-5981 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free