CVE-2021-31893

Siemens SIMATIC PCS 7 V8.2 and earlier: Buffer Copy without Checking Size of Input

No CVSS score yet EPSS 0.56%

Published 13 Jul 2021 Updated 3 Aug 2024 CNA: siemens

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.

Exploitation

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

Weakness

  • CWE-120 Buffer Copy without Checking Size of Input

Affected products

As the CNA lists them.

ProductVersions
SIMATIC PCS 7 V8.2 and earlier
affected All versions
SIMATIC PCS 7 V9.0
affected All versions < V9.0 SP3
SIMATIC PDM
affected All versions < V9.2
SIMATIC STEP 7 V5.X
affected All versions < V5.6 SP2 HF3
SINAMICS STARTER (containing STEP 7 OEM version)
affected All versions < V5.4 HF2

Is my server affected?

This CVE is in SIMATIC PCS 7 V8.2 and earlier 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-2021-31893 of the CVE List (CVE Program), CVE Terms of Use; 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.