Siemens SIMATIC, SCALANCE and RUGGEDCOM Devices Use After Free (CVE-2023-5178)

high Tenable OT Security Plugin ID 503845

Synopsis

The remote OT asset is affected by a vulnerability.

Description

A use-after-free vulnerability was found in drivers/nvme/target/tcp.c` in `nvmet_tcp_free_crypto` due to a logical bug in the NVMe-oF/TCP subsystem in the Linux kernel. This issue may allow a malicious local privileged user to cause a use-after-free and double-free problem, which may permit remote code execution or lead to local privilege escalation problem.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

Refer to the vendor advisory.

See Also

https://cert-portal.siemens.com/productcert/pdf/ssa-794697.pdf

https://cert-portal.siemens.com/productcert/html/ssa-613116.html

https://support.industry.siemens.com/cs/ww/en/view/109977557/

https://support.industry.siemens.com/cs/ww/en/view/109827684/

Plugin Details

Severity: High

ID: 503845

Version: 1.1

Type: remote

Family: Tenable.ot

Published: 10/29/2025

Updated: 10/29/2025

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:siemens:scalance_xr-500wg_series_firmware, cpe:/o:siemens:scalance_xc-400_series_firmware, cpe:/o:siemens:scalance_xc-300_series_firmware, cpe:/o:siemens:scalance_xr-300_series_firmware, cpe:/o:siemens:ruggedcom_rst2428p_firmware:3.1, cpe:/o:siemens:scalance_xrm-300_series_firmware, cpe:/o:siemens:scalance_xcm-300_series_firmware, cpe:/o:siemens:scalance_xrh-300_series_firmware, cpe:/o:siemens:scalance_xr-500_series_firmware, cpe:/o:siemens:scalance_xch-300_series_firmware, cpe:/o:siemens:simatic_s7-1500_tm_mfp_firmware

Required KB Items: Tenable.ot/Siemens

Exploit Ease: No known exploits are available

Patch Publication Date: 6/13/2023

Vulnerability Publication Date: 6/13/2023

Reference Information

CVE: CVE-2023-5178

CWE: 416