{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2023-5981 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"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."},"fix_prompt":"Check this codebase for CVE-2023-5981 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2023-5981 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-5981/ (Markdown: https://insights.sbomify.com/CVE-2023-5981/index.md)","id":"CVE-2023-5981","markdown":"https://insights.sbomify.com/CVE-2023-5981/index.md","name":"CVE-2023-5981","record":{"aliases":["ALPINE-CVE-2023-5981","ALSA-2024:0155","AZL-32048","BELL-CVE-2023-5981","CLSA-2024-1707419801","DEBIAN-CVE-2023-5981","DLA-3660-1","GHSA-jvj3-gqjm-cg8p","JLSEC-2026-524","MGASA-2024-0008","OESA-2023-1867","RHSA-2024:0155","RHSA-2024:0319","RHSA-2024:0399","RHSA-2024:0451","RLSA-2024:0155","SUSE-SU-2023:4983-1","SUSE-SU-2023:4986-1","UBUNTU-CVE-2023-5981","USN-6499-1","USN-6499-2","openSUSE-SU-2024:13444-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"GnuTLS library","requires_auth":"none","summary":"Attackers can exploit timing differences in RSA-PSK authentication to potentially recover sensitive information via side-channel analysis.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"gnutls","vendor":"gnu"},{"product":"linux","vendor":"redhat"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"},{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.6::baseos","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:8.8::baseos","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::baseos","Rocky Linux:8","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Gnutls: timing side-channel in the rsa-psk authentication","id":"CVE-2023-5981","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","gnu:gnutls","redhat:linux"],"type":"information_disclosure","year":"2023"},"n_packages":84,"n_references":10,"next":{"headline":"UpdraftPlus \u003c= 1.23.10 - Cross-Site Request Forgery to Google Drive Storage Update","id":"CVE-2023-5982"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls","purl":"pkg:rpm/almalinux/gnutls","source":"ALSA-2024:0155"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++","purl":"pkg:rpm/almalinux/gnutls-c%2B%2B","source":"ALSA-2024:0155"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane","purl":"pkg:rpm/almalinux/gnutls-dane","source":"ALSA-2024:0155"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-devel","purl":"pkg:rpm/almalinux/gnutls-devel","source":"ALSA-2024:0155"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils","purl":"pkg:rpm/almalinux/gnutls-utils","source":"ALSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++","purl":"pkg:rpm/redhat/gnutls-c%2B%2B","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++-debuginfo","purl":"pkg:rpm/redhat/gnutls-c%2B%2B-debuginfo","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane","purl":"pkg:rpm/redhat/gnutls-dane","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane-debuginfo","purl":"pkg:rpm/redhat/gnutls-dane-debuginfo","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-debuginfo","purl":"pkg:rpm/redhat/gnutls-debuginfo","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-debugsource","purl":"pkg:rpm/redhat/gnutls-debugsource","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-devel","purl":"pkg:rpm/redhat/gnutls-devel","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils","purl":"pkg:rpm/redhat/gnutls-utils","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils-debuginfo","purl":"pkg:rpm/redhat/gnutls-utils-debuginfo","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls","purl":"pkg:rpm/redhat/gnutls","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++-debuginfo","purl":"pkg:rpm/redhat/gnutls-c%2B%2B-debuginfo","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane-debuginfo","purl":"pkg:rpm/redhat/gnutls-dane-debuginfo","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-debuginfo","purl":"pkg:rpm/redhat/gnutls-debuginfo","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-debugsource","purl":"pkg:rpm/redhat/gnutls-debugsource","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.16-8.el8_9"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils-debuginfo","purl":"pkg:rpm/redhat/gnutls-utils-debuginfo","source":"RHSA-2024:0155"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++","purl":"pkg:rpm/redhat/gnutls-c%2B%2B","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++-debuginfo","purl":"pkg:rpm/redhat/gnutls-c%2B%2B-debuginfo","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane","purl":"pkg:rpm/redhat/gnutls-dane","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane-debuginfo","purl":"pkg:rpm/redhat/gnutls-dane-debuginfo","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-debuginfo","purl":"pkg:rpm/redhat/gnutls-debuginfo","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-debugsource","purl":"pkg:rpm/redhat/gnutls-debugsource","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-devel","purl":"pkg:rpm/redhat/gnutls-devel","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils","purl":"pkg:rpm/redhat/gnutls-utils","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils-debuginfo","purl":"pkg:rpm/redhat/gnutls-utils-debuginfo","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls","purl":"pkg:rpm/redhat/gnutls","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++-debuginfo","purl":"pkg:rpm/redhat/gnutls-c%2B%2B-debuginfo","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane-debuginfo","purl":"pkg:rpm/redhat/gnutls-dane-debuginfo","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-debuginfo","purl":"pkg:rpm/redhat/gnutls-debuginfo","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-debugsource","purl":"pkg:rpm/redhat/gnutls-debugsource","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:3.6.16-5.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils-debuginfo","purl":"pkg:rpm/redhat/gnutls-utils-debuginfo","source":"RHSA-2024:0319"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:3.6.16-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++","purl":"pkg:rpm/redhat/gnutls-c%2B%2B","source":"RHSA-2024:0399"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:3.6.16-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++-debuginfo","purl":"pkg:rpm/redhat/gnutls-c%2B%2B-debuginfo","source":"RHSA-2024:0399"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:3.6.16-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane","purl":"pkg:rpm/redhat/gnutls-dane","source":"RHSA-2024:0399"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:3.6.16-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane-debuginfo","purl":"pkg:rpm/redhat/gnutls-dane-debuginfo","source":"RHSA-2024:0399"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:3.6.16-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"gnutls-debuginfo","purl":"pkg:rpm/redhat/gnutls-debuginfo","source":"RHSA-2024:0399"}],"prev":{"headline":"BSK Forms Blacklist \u003c 3.7 - Admin+ Stored Cross-Site Scripting","id":"CVE-2023-5980"},"products":["RHODF-4.15-RHEL-9","RHOL-5.8-RHEL-9","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.6 Extended Update Support","Red Hat Enterprise Linux 8.8 Extended Update Support","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.2 Extended Update Support"],"published":"2023-11-28","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-14","vendors":["Red Hat"]},"summary":"Attackers can exploit timing differences in RSA-PSK authentication to potentially recover sensitive information via side-channel analysis.","url":"https://insights.sbomify.com/CVE-2023-5981/"}