CVE-2022-34819 Memory corruption in SIMATIC CP 1242-7 V2

Critical 10.0 Published Updated

Heap-based buffer overflow in Siemens SIMATIC CP devices allows remote attackers to execute arbitrary code via crafted messages.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-34819?

CVE-2022-34819 is a critical memory corruption vulnerability in Siemens SIMATIC CP 1242-7 V2, published on 12 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability has been identified in SIMATIC CP 1242-7 V2 (All versions < V3.3.46), SIMATIC CP 1243-1 (All versions < V3.3.46), SIMATIC CP 1243-7 LTE EU (All versions < V3.3.46), SIMATIC CP 1243-7 LTE US (All versions < V3.3.46), SIMATIC CP 1243-8 IRC (All versions < V3.3.46), SIMATIC CP 1542SP-1 IRC (All versions >= V2.0 < V2.2.28), SIMATIC CP 1543-1 (All versions < V3.0.22), SIMATIC CP 1543SP-1 (All versions >= V2.0 < V2.2.28), SIPLUS ET 200SP CP 1542SP-1 IRC TX RAIL (All versions >= V2.0 < V2.2.28), SIPLUS ET 200SP CP 1543SP-1 ISEC (All versions >= V2.0 < V2.2.28), SIPLUS ET 200SP CP 1543SP-1 ISEC TX RAIL (All versions >= V2.0 < V2.2.28), SIPLUS NET CP 1242-7 V2 (All versions < V3.3.46), SIPLUS NET CP 1543-1 (All versions < V3.0.22), SIPLUS S7-1200 CP 1243-1 (All versions < V3.3.46), SIPLUS S7-1200 CP 1243-1 RAIL (All versions < V3.3.46). The application lacks proper validation of user-supplied data when parsing specific messages. This could result in a heap-based buffer overflow. An attacker could leverage this vulnerability to execute code in the context of device.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2022-34819?

It affects 15 products.

Products include Siemens Simatic Cp 1242-7 V2 Firmware, Siemens Simatic Cp 1243-1 Firmware, Siemens Simatic Cp 1243-7 Lte Eu Firmware, Siemens Simatic Cp 1243-7 Lte Us Firmware, Siemens Simatic Cp 1243-8 Irc Firmware, Siemens Simatic Cp 1542sp-1 Irc Firmware and 9 more.

How do I fix CVE-2022-34819?

No fix has been published for CVE-2022-34819 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-34819 being exploited?

There is no known exploitation of CVE-2022-34819 in the wild and no public exploit code.

Sources

Also known as GHSA-x7cp-9x6c-2mm8.

Is CVE-2022-34819 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free