{"id":"UBUNTU-CVE-2023-5981","details":"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.","modified":"2026-04-22T17:28:12.352679Z","published":"2023-11-17T00:00:00Z","related":["USN-6499-1","USN-6499-2"],"upstream":["CVE-2023-5981"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-5981"},{"type":"REPORT","url":"https://lists.gnupg.org/pipermail/gnutls-help/2023-November/004837.html"},{"type":"REPORT","url":"https://gnutls.org/security-new.html#GNUTLS-SA-2023-10-23"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6499-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6499-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-5981"}],"affected":[{"package":{"name":"gnutls28","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gnutls28@3.4.10-4ubuntu1.9+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.15-5ubuntu2","3.3.18-1ubuntu1","3.3.20-1ubuntu1","3.4.9-2ubuntu1","3.4.10-4ubuntu1","3.4.10-4ubuntu1.1","3.4.10-4ubuntu1.2","3.4.10-4ubuntu1.3","3.4.10-4ubuntu1.4","3.4.10-4ubuntu1.5","3.4.10-4ubuntu1.6","3.4.10-4ubuntu1.7","3.4.10-4ubuntu1.8","3.4.10-4ubuntu1.9","3.4.10-4ubuntu1.9+esm1","3.4.10-4ubuntu1.9+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"gnutls-bin","binary_version":"3.4.10-4ubuntu1.9+esm2"},{"binary_name":"guile-gnutls","binary_version":"3.4.10-4ubuntu1.9+esm2"},{"binary_name":"libgnutls-openssl27","binary_version":"3.4.10-4ubuntu1.9+esm2"},{"binary_name":"libgnutls30","binary_version":"3.4.10-4ubuntu1.9+esm2"},{"binary_name":"libgnutlsxx28","binary_version":"3.4.10-4ubuntu1.9+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5981.json"}},{"package":{"name":"gnutls28","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gnutls28@3.5.18-1ubuntu1.6+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.18-1ubuntu1.6+esm1"}]}],"versions":["3.5.8-6ubuntu3","3.5.17-1ubuntu1","3.5.17-1ubuntu3","3.5.18-1ubuntu1","3.5.18-1ubuntu1.1","3.5.18-1ubuntu1.2","3.5.18-1ubuntu1.3","3.5.18-1ubuntu1.4","3.5.18-1ubuntu1.5","3.5.18-1ubuntu1.6"],"ecosystem_specific":{"binaries":[{"binary_name":"gnutls-bin","binary_version":"3.5.18-1ubuntu1.6+esm1"},{"binary_name":"libgnutls-dane0","binary_version":"3.5.18-1ubuntu1.6+esm1"},{"binary_name":"libgnutls-openssl27","binary_version":"3.5.18-1ubuntu1.6+esm1"},{"binary_name":"libgnutls30","binary_version":"3.5.18-1ubuntu1.6+esm1"},{"binary_name":"libgnutlsxx28","binary_version":"3.5.18-1ubuntu1.6+esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5981.json"}},{"package":{"name":"gnutls28","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gnutls28@3.6.13-2ubuntu1.9?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.13-2ubuntu1.9"}]}],"versions":["3.6.9-5ubuntu1","3.6.9-5ubuntu2","3.6.10-5","3.6.11.1-2","3.6.11.1-2ubuntu2","3.6.13-2ubuntu1","3.6.13-2ubuntu1.1","3.6.13-2ubuntu1.2","3.6.13-2ubuntu1.3","3.6.13-2ubuntu1.6","3.6.13-2ubuntu1.7","3.6.13-2ubuntu1.8"],"ecosystem_specific":{"binaries":[{"binary_name":"gnutls-bin","binary_version":"3.6.13-2ubuntu1.9"},{"binary_name":"guile-gnutls","binary_version":"3.6.13-2ubuntu1.9"},{"binary_name":"libgnutls-dane0","binary_version":"3.6.13-2ubuntu1.9"},{"binary_name":"libgnutls-openssl27","binary_version":"3.6.13-2ubuntu1.9"},{"binary_name":"libgnutls30","binary_version":"3.6.13-2ubuntu1.9"},{"binary_name":"libgnutlsxx28","binary_version":"3.6.13-2ubuntu1.9"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5981.json"}},{"package":{"name":"gnutls28","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/gnutls28@3.7.3-4ubuntu1.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.3-4ubuntu1.3"}]}],"versions":["3.7.1-5ubuntu1","3.7.2-2ubuntu1","3.7.2-4ubuntu1","3.7.2-5ubuntu1","3.7.3-4ubuntu1","3.7.3-4ubuntu1.1","3.7.3-4ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_name":"gnutls-bin","binary_version":"3.7.3-4ubuntu1.3"},{"binary_name":"guile-gnutls","binary_version":"3.7.3-4ubuntu1.3"},{"binary_name":"libgnutls-dane0","binary_version":"3.7.3-4ubuntu1.3"},{"binary_name":"libgnutls-openssl27","binary_version":"3.7.3-4ubuntu1.3"},{"binary_name":"libgnutls30","binary_version":"3.7.3-4ubuntu1.3"},{"binary_name":"libgnutlsxx28","binary_version":"3.7.3-4ubuntu1.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-5981.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}