cve.bz

CVE-2023-5981 Observable Timing Discrepancy

5.9 mediumEPSS 1.3%Fix available

Medium (5.9). EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-208 Observable Timing Discrepancy
CWE-203 Observable Discrepancy
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:3.6.16-8.el8_9
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support: fixed in 0:3.6.16-5.el8_6.2
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support: fixed in 0:3.6.16-7.el8_8.1
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:3.7.6-23.el9_3.3
  • Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support: fixed in 0:3.7.6-21.el9_2.1
  • Red Hat RHODF-4.15-RHEL-9: fixed in v4.15.0-37
  • Red Hat RHODF-4.15-RHEL-9: fixed in v4.15.0-68
  • Red Hat RHODF-4.15-RHEL-9: fixed in v4.15.0-158
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita: fixed package versions per release
  • Vendor advisory: https://access.redhat.com/security/cve/CVE-2023-5981
  • Vendor advisory: https://gnutls.org/security-new.html#GNUTLS-SA-2023-10-23

Ask an AI about this CVE

Show the promptExplain CVE-2023-5981 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5981?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5981?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5981 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-5981

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-5981](https://cve.bz/cve/badge/CVE-2023-5981.svg)](https://cve.bz/cve/CVE-2023-5981)

HTML:

<a href="https://cve.bz/cve/CVE-2023-5981"><img src="https://cve.bz/cve/badge/CVE-2023-5981.svg" alt="CVE-2023-5981"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:3.6.16-8.el8_9
Red Hat Enterprise Linux 8.6 Extended Update Support0:3.6.16-5.el8_6.2
Red Hat Enterprise Linux 8.8 Extended Update Support0:3.6.16-7.el8_8.1
Red Hat Enterprise Linux 90:3.7.6-23.el9_3.3
Red Hat Enterprise Linux 9.2 Extended Update Support0:3.7.6-21.el9_2.1
Red Hat RHODF-4.15-RHEL-9v4.15.0-37
Red Hat RHODF-4.15-RHEL-9v4.15.0-68
Red Hat RHODF-4.15-RHEL-9v4.15.0-158
Red Hat RHODF-4.15-RHEL-9v4.15.0-39
Red Hat RHODF-4.15-RHEL-9v4.15.0-58
Red Hat RHODF-4.15-RHEL-9v4.15.0-13
Red Hat RHODF-4.15-RHEL-9v4.15.0-81
Red Hat RHODF-4.15-RHEL-9v4.15.0-79
Red Hat RHODF-4.15-RHEL-9v4.15.0-22
Red Hat RHODF-4.15-RHEL-9v4.15.0-57
Red Hat RHODF-4.15-RHEL-9v4.15.0-6
Red Hat RHODF-4.15-RHEL-9v4.15.0-15
Red Hat RHODF-4.15-RHEL-9v4.15.0-54
Red Hat RHODF-4.15-RHEL-9v4.15.0-10
Red Hat RHODF-4.15-RHEL-9v4.15.0-26
Red Hat RHODF-4.15-RHEL-9v4.15.0-19
Red Hat RHODF-4.15-RHEL-9v4.15.0-21
Red Hat RHODF-4.15-RHEL-9v4.15.0-103
Red Hat RHOL-5.8-RHEL-9v5.8.6-22
Red Hat RHOL-5.8-RHEL-9v5.8.6-11
Red Hat RHOL-5.8-RHEL-9v6.8.1-407
Red Hat RHOL-5.8-RHEL-9v5.8.6-19
Red Hat RHOL-5.8-RHEL-9v1.0.0-479
Red Hat RHOL-5.8-RHEL-9v5.8.6-7
Red Hat RHOL-5.8-RHEL-9v0.4.0-247
Red Hat RHOL-5.8-RHEL-9v5.8.6-5
Red Hat RHOL-5.8-RHEL-9v1.1.0-227
Red Hat RHOL-5.8-RHEL-9v5.8.1-470
Red Hat RHOL-5.8-RHEL-9v2.9.6-14
Red Hat RHOL-5.8-RHEL-9v5.8.6-2
Red Hat RHOL-5.8-RHEL-9v5.8.6-24
Red Hat RHOL-5.8-RHEL-9v5.8.6-10
Red Hat RHOL-5.8-RHEL-9v0.1.0-525
Red Hat RHOL-5.8-RHEL-9v0.1.0-224
Red Hat RHOL-5.8-RHEL-9v0.28.1-56

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10gnutls283.6.7-4+deb10u11DLA-3660-1
Debian12gnutls283.7.9-2+deb12u1DEBIAN-CVE-2023-5981
Debian13, 14gnutls283.8.2-1DEBIAN-CVE-2023-5981
Ubuntu20.04:LTSgnutls283.6.13-2ubuntu1.9UBUNTU-CVE-2023-5981 USN-6499-1
Ubuntu22.04:LTSgnutls283.7.3-4ubuntu1.3UBUNTU-CVE-2023-5981 USN-6499-1
UbuntuPro:16.04:LTSgnutls28no fix listedUBUNTU-CVE-2023-5981
UbuntuPro:18.04:LTSgnutls283.5.18-1ubuntu1.6+esm1UBUNTU-CVE-2023-5981 USN-6499-2
Red Hatenterprise_linux:8::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.6.16-8.el8_9RHSA-2024:0155
Red Hatenterprise_linux:8::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.6.16-8.el8_9RHSA-2024:0155
Red Hatenterprise_linux:9::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.7.6-23.el9_3.3RHSA-2024:0533
Red Hatenterprise_linux:9::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.7.6-23.el9_3.3RHSA-2024:0533
Red Hatrhel_eus:8.6::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.6.16-5.el8_6.2RHSA-2024:0319
Red Hatrhel_eus:8.6::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.6.16-5.el8_6.2RHSA-2024:0319
Red Hatrhel_eus:8.8::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.6.16-7.el8_8.1RHSA-2024:0399
Red Hatrhel_eus:8.8::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.6.16-7.el8_8.1RHSA-2024:0399
Red Hatrhel_eus:9.2::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.7.6-21.el9_2.1RHSA-2024:0451
Red Hatrhel_eus:9.2::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.7.6-21.el9_2.1RHSA-2024:0451
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 7 moregnutls3.6.7-150200.14.28.1SUSE-SU-2023:4986-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 moregnutls3.6.7-150200.14.31.1SUSE-SU-2024:0860-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1gnutls3.6.7-150000.6.50.1SUSE-SU-2023:4952-1
SUSELinux Enterprise Micro 5.3gnutls3.7.3-150400.1.3.1SUSE-SU-2024:1179-1
SUSELinux Enterprise Micro 5.4, Linux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP4 and 1 moregnutls3.7.3-150400.4.38.1SUSE-SU-2023:4983-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.4gnutls3.7.3-150400.4.38.1SUSE-SU-2023:4983-1
openSUSETumbleweedgnutls3.8.2-1.1openSUSE-SU-2024:13444-1
AlmaLinux8gnutls, gnutls-c++, gnutls-dane and 2 more3.6.16-8.el8_9ALSA-2024:0155
AlmaLinux8gnutls, gnutls-c++, gnutls-dane and 2 more3.6.16-8.el8_9.1ALSA-2024:0627
AlmaLinux9gnutls, gnutls-c++, gnutls-dane and 2 more3.7.6-23.el9_3.3ALSA-2024:0533
Rocky Linux8gnutls0:3.6.16-8.el8_9RLSA-2024:0155
Alpinev3.18, v3.19, v3.20 and 4 moregnutls3.8.3-r0ALPINE-CVE-2023-5981
Azure Linux2gnutls3.7.11-1AZL-32048
Alpaquita23gnutls3.7.8-r4BELL-CVE-2023-5981
Alpaquitastreamgnutls3.8.3-r0BELL-CVE-2023-5981

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gnutls-0:3.6.16-8.el8_9Fixed 2024-01-10RHSA-2024:0155
Red Hat Enterprise Linux 8.6 Extended Update Supportgnutls-0:3.6.16-5.el8_6.2Fixed 2024-01-22RHSA-2024:0319
Red Hat Enterprise Linux 8.8 Extended Update Supportgnutls-0:3.6.16-7.el8_8.1Fixed 2024-01-24RHSA-2024:0399
Red Hat Enterprise Linux 9gnutls-0:3.7.6-23.el9_3.3Fixed 2024-01-29RHSA-2024:0533
Red Hat Enterprise Linux 9.2 Extended Update Supportgnutls-0:3.7.6-21.el9_2.1Fixed 2024-01-25RHSA-2024:0451
RHODF-4.15-RHEL-9odf4/cephcsi-rhel9:v4.15.0-37Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-core-rhel9:v4.15.0-68Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-rhel9-operator:v4.15.0-39Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-console-rhel9:v4.15.0-58Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-rhel9-operator:v4.15.0-13Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-metrics-exporter-rhel9:v4.15.0-81Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-rhel9-operator:v4.15.0-79Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/odf-cli-rhel9:v4.15.0-22Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/odf-console-rhel9:v4.15.0-57Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/odf-cosi-sidecar-rhel9:v4.15.0-6Fixed 2024-03-19RHSA-2024:1383
Red Hat Enterprise Linux 6gnutlsOut of support scope
Red Hat Enterprise Linux 7gnutlsOut of support scope
30 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5981.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-189 Black Box Reverse Engineering Severity: Low
  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-541 Application Fingerprinting Severity: Low
  • CAPEC-580 System Footprinting Likelihood: Low · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON