CVE-2021-31893 Memory corruption in SIMATIC PCS 7 V8.2 and earlier

High 7.8 Published Updated

A buffer overflow in Siemens industrial software allows local attackers to cause denial of service or potentially execute remote code.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-31893?

CVE-2021-31893 is a high-severity memory corruption vulnerability in Siemens SIMATIC PCS 7 V8.2 and earlier, published on 13 Jul 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability has been identified in SIMATIC PCS 7 V8.2 and earlier (All versions), SIMATIC PCS 7 V9.0 (All versions < V9.0 SP3), SIMATIC PDM (All versions < V9.2), SIMATIC STEP 7 V5.X (All versions < V5.6 SP2 HF3), SINAMICS STARTER (containing STEP 7 OEM version) (All versions < V5.4 HF2). The affected software contains a buffer overflow vulnerability while handling certain files that could allow a local attacker to trigger a denial-of-service condition or potentially lead to remote code execution.

Weakness: CWE-120

Which versions are affected by CVE-2021-31893?

It affects 4 products.

Products include Siemens Simatic Pcs Firmware, Siemens Simatic Pdm Firmware, Siemens Simatic Step 7 Firmware, Siemens Sinamics Starter Firmware.

How do I fix CVE-2021-31893?

No fix has been published for CVE-2021-31893 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-2021-31893 being exploited?

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

Sources

Also known as GHSA-47m5-c425-v4ww.

Is CVE-2021-31893 in your software?

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

Check your SBOMs for free