Lucene search
K

Yubico YubiHSM 2 SDK YubiHSM Shell 2.4.0 Uninitialized Memory Read (YSA-2023-01)

🗓️ 10 Oct 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 4 Views

Uninitialized memory read in YubiHSM Shell 2.4.0 PKCS11 module (CVE-2023-39908).

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2023-39908
14 Aug 202319:15
attackerkb
Circl
CVE-2023-39908
14 Aug 202322:19
circl
CNNVD
Yubico YubiHSM 2 SDK Buffer Error Vulnerability
14 Aug 202300:00
cnnvd
CVE
CVE-2023-39908
14 Aug 202300:00
cve
Cvelist
CVE-2023-39908
14 Aug 202300:00
cvelist
EUVD
EUVD-2023-43608
3 Oct 202520:07
euvd
NVD
CVE-2023-39908
14 Aug 202319:15
nvd
OSV
CVE-2023-39908
14 Aug 202319:15
osv
Prion
Code injection
14 Aug 202319:15
prion
RedhatCVE
CVE-2023-39908
23 May 202505:42
redhatcve
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(269987);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/10/10");

  script_cve_id("CVE-2023-39908");
  script_xref(name:"IAVB", value:"2025-B-0169");

  script_name(english:"Yubico YubiHSM 2 SDK YubiHSM Shell 2.4.0 Uninitialized Memory Read (YSA-2023-01)");

  script_set_attribute(attribute:"synopsis", value:
"The Yubico YubiHSM Shell, a component of YubiHSM 2 SDK, installed on the remote host is affected by an uninitialized memory read vulnability.");
  script_set_attribute(attribute:"description", value:
"The version of Yubico YubiHSM Shell, a component of YubiHSM 2 SDK, installed on the remote host is 2.4.0. It is,
therefore, affected by an uninitlized memory read vulnerability:

  - The PKCS11 module of the YubiHSM 2 SDK through 2023.01 does not properly validate the length of specific read
    operations on object metadata. This may lead to disclosure of uninitialized and previously used memory.
    (CVE-2023-39908)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://www.yubico.com/support/security-advisories/ysa-2023-01/");
  script_set_attribute(attribute:"solution", value:
"Upgrade YubiHSM Shell by installing the latest verison of the YubiHSM 2 SDK.");
  script_set_attribute(attribute:"agent", value:"unix");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2023-39908");

  script_set_attribute(attribute:"vuln_publication_date", value:"2023/08/14");
  script_set_attribute(attribute:"patch_publication_date", value:"2023/08/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/10/10");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:yubico:yubihsm-shell");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:yubico:yubihsm_2_sdk");
  script_set_attribute(attribute:"stig_severity", value:"II");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("yubico_yubihsm_shell_nix_installed.nbin");
  script_require_keys("installed_sw/Yubico YubiHSM Shell");

  exit(0);
}

include('vdf.inc');

# @tvdl-content
var vuln_data = {
  'metadata': {'spec_version': '1.0'},
  'requires': [
    {'scope': 'target', 'match': {'os': 'linux'}}
  ],
  'checks': [
    {
      'product': {'name': 'Yubico YubiHSM Shell', 'type': 'app'},
      'check_algorithm': 'default',
      'constraints' : [
        { 'equal' : '2.4.0', 'fixed_display' : 'Upgrade YubiHSM Shell by installing the latest verison of the YubiHSM 2 SDK.' }
      ]
    }
  ]
};

var vdf_result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_WARNING);
vdf::handle_check_and_report_errors(vdf_result:vdf_result);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Oct 2025 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 3.17.5
EPSS0.00481
SSVC
4