Gnutls: timing side-channel in the rsa-psk authentication
Summary
| CVE | CVE-2023-5981 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-11-28 12:15:07 UTC |
| Updated | 2026-10-14 22:17:21 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.012670000 probability, percentile 0.692010000 (date 2026-10-14)
Problem Types: CWE-208 | CWE-203 | CWE-208 Observable Timing Discrepancy
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | [email protected] | Secondary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | CVSS | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Fedoraproject | Fedora | 37 | All | All | All |
| Operating System | Fedoraproject | Fedora | 38 | All | All | All |
| Application | Gnu | Gnutls | All | All | All | All |
| Operating System | Redhat | Linux | 8.0 | All | All | All |
| Operating System | Redhat | Linux | 9.0 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:3.6.16-8.el8_9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:3.6.16-8.el8_9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | unaffected 0:3.6.16-5.el8_6.2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 0:3.6.16-7.el8_8.1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:3.7.6-23.el9_3.3 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:3.7.6-23.el9_3.3 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 0:3.7.6-21.el9_2.1 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-37 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-68 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-158 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-39 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-58 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-158 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-13 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-81 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-158 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-79 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-22 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-57 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-6 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-158 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-15 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-15 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-54 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-158 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-10 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-26 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-158 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-19 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-158 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-158 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-21 * rpm | Not specified |
| CNA | Red Hat | RHODF-4.15-RHEL-9 | unaffected v4.15.0-103 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v5.8.6-22 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v5.8.6-11 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v6.8.1-407 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v5.8.6-19 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v1.0.0-479 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v5.8.6-7 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v0.4.0-247 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v5.8.6-5 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v1.1.0-227 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v5.8.1-470 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v2.9.6-14 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v5.8.6-2 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v5.8.6-24 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v5.8.6-10 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v0.1.0-525 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v0.1.0-224 * rpm | Not specified |
| CNA | Red Hat | RHOL-5.8-RHEL-9 | unaffected v0.28.1-56 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| bugzilla.redhat.com/show_bug.cgi | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking, Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:1383 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| gnutls.org/security-new.html | af854a3a-2127-422b-91ae-364da2661108 | gnutls.org | Issue Tracking, Vendor Advisory |
| access.redhat.com/errata/RHSA-2024:2094 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| oss-security - GnuTLS 3.8.3 released, fixes CVE-2024-0553 & CVE-2024-0567 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Third Party Advisory |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| [SECURITY] Fedora 39 Update: gnutls-3.8.3-1.fc39 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Broken Link |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Broken Link |
| lists.debian.org/debian-lts-announce/2023/11/msg00016.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Third Party Advisory |
| access.redhat.com/security/cve/CVE-2023-5981 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory, Vendor Advisory |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: This issue was discovered by Daiki Ueno (Red Hat). (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-11-07T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-11-15T00:00:00.000Z | Made public. |
Workarounds
CNA: To address the issue found upgrade to GnuTLS 3.8.2 or later versions.
Legacy QID Mappings
- 161280 Oracle Enterprise Linux Security Update for gnutls (ELSA-2024-0155)
- 161336 Oracle Enterprise Linux Security Update for gnutls (ELSA-2024-0533)
- 199937 Ubuntu Security Notification for GnuTLS Vulnerability (USN-6499-1)
- 242689 Red Hat Update for gnutls (RHSA-2024:0155)
- 242725 Red Hat Update for gnutls (RHSA-2024:0319)
- 242741 Red Hat Update for gnutls (RHSA-2024:0399)
- 242766 Red Hat Update for libssh (RHSA-2024:0538)
- 242768 Red Hat Update for gnutls (RHSA-2024:0533)
- 242843 Red Hat Update for gnutls (RHSA-2024:0451)
- 284905 Fedora Security Update for gnutls (FEDORA-2024-c43a6cc3f8)
- 285017 Fedora Security Update for gnutls (FEDORA-2024-80428c408c)
- 379642 Alibaba Cloud Linux Security Update for gnutls (ALINUX3-SA-2024:0019)
- 510684 Alpine Linux Security Update for gnutls
- 6000338 Debian Security Update for gnutls28 (DLA 3660-1)
- 6000492 Debian Security Update for gnutls28 (DLA 3740-1)
- 673536 EulerOS Security Update for gnutls (EulerOS-SA-2024-1312)
- 673634 EulerOS Security Update for gnutls (EulerOS-SA-2024-1105)
- 674090 EulerOS Security Update for gnutls (EulerOS-SA-2024-1334)
- 674104 EulerOS Security Update for gnutls (EulerOS-SA-2024-1120)
- 674138 EulerOS Security Update for gnutls (EulerOS-SA-2024-1507)
- 674140 EulerOS Security Update for gnutls (EulerOS-SA-2024-1486)
- 755523 SUSE Enterprise Linux Security Update for gnutls (SUSE-SU-2023:4952-1)
- 755547 SUSE Enterprise Linux Security Update for gnutls (SUSE-SU-2023:4986-1)
- 755549 SUSE Enterprise Linux Security Update for gnutls (SUSE-SU-2023:4983-1)
- 755964 SUSE Enterprise Linux Security Update for gnutls (SUSE-SU-2024:0860-1)
- 941528 AlmaLinux Security Update for gnutls (ALSA-2024:0155)
- 941558 AlmaLinux Security Update for gnutls (ALSA-2024:0533)
- 961102 Rocky Linux Security Update for gnutls (RLSA-2024:0155)
- 961116 Rocky Linux Security Update for gnutls (RLSA-2024:0627)