CVE-2023-42797

Siemens CP-8031 MASTER MODULE: Use of Uninitialized Resource

6.6 medium EPSS 0.55%

Published 9 Jan 2024 Updated 3 Jun 2025 CNA: siemens

Description

A vulnerability has been identified in CP-8031 MASTER MODULE (All versions < CPCI85 V05.20), CP-8050 MASTER MODULE (All versions < CPCI85 V05.20). The network configuration service of affected devices contains a flaw in the conversion of ipv4 addresses that could lead to an uninitialized variable being used in succeeding validation steps.

By uploading specially crafted network configuration, an authenticated remote attacker could be able to inject commands that are executed on the device with root privileges during device startup.

Severity (CVSS)

6.6 medium CVSS 3.1 from siemens (CNA)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.55%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 47.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 8 May 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-908 Use of Uninitialized Resource

Affected products

As the CNA lists them.

ProductVersions
CP-8031 MASTER MODULE
affected All versions < CPCI85 V05.20
Other versions: unknown
CP-8050 MASTER MODULE
affected All versions < CPCI85 V05.20
Other versions: unknown

Is my server affected?

This CVE is in CP-8031 MASTER MODULE of Siemens, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2023-42797 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.