CVE-2021-40368
Siemens SIMATIC S7-400 CPU 412-1 DP V7: Improper Restriction of Operations within the Bounds of a Memory Buffer
Description
A vulnerability has been identified in SIMATIC S7-400 CPU 412-1 DP V7 (All versions), SIMATIC S7-400 CPU 412-2 DP V7 (All versions), SIMATIC S7-400 CPU 412-2 PN/DP V7 (All versions < V7.0.3), SIMATIC S7-400 CPU 414-2 DP V7 (All versions), SIMATIC S7-400 CPU 414-3 DP V7 (All versions), SIMATIC S7-400 CPU 414-3 PN/DP V7 (All versions < V7.0.3), SIMATIC S7-400 CPU 414F-3 PN/DP V7 (All versions < V7.0.3), SIMATIC S7-400 CPU 416-2 DP V7 (All versions), SIMATIC S7-400 CPU 416-3 DP V7 (All versions), SIMATIC S7-400 CPU 416-3 PN/DP V7 (All versions < V7.0.3), SIMATIC S7-400 CPU 416F-2 DP V7 (All versions), SIMATIC S7-400 CPU 416F-3 PN/DP V7 (All versions < V7.0.3), SIMATIC S7-400 CPU 417-4 DP V7 (All versions), SIMATIC S7-400 H V6 CPU family (incl. SIPLUS variants) (All versions < V6.0.10), SIMATIC S7-410 V10 CPU family (incl. SIPLUS variants) (All versions < V10.1), SIMATIC S7-410 V8 CPU family (incl. SIPLUS variants) (All versions < V8.2.3), SIPLUS S7-400 CPU 414-3 PN/DP V7 (All versions < V7.0.3), SIPLUS S7-400 CPU 416-3 PN/DP V7 (All versions < V7.0.3), SIPLUS S7-400 CPU 416-3 V7 (All versions), SIPLUS S7-400 CPU 417-4 V7 (All versions). Affected devices improperly handle specially crafted packets sent to port 102/tcp.
This could allow an attacker to create a Denial-of-Service condition. A restart is needed to restore normal operations.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.00%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 63.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 18 Apr 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| SIMATIC S7-400 CPU 412-1 DP V7 |
affected All versions
Other versions: unknown
|
| SIMATIC S7-400 CPU 412-2 DP V7 |
affected All versions
Other versions: unknown
|
| SIMATIC S7-400 CPU 412-2 PN/DP V7 |
affected All versions < V7.0.3
Other versions: unknown
|
| SIMATIC S7-400 CPU 414-2 DP V7 |
affected All versions
Other versions: unknown
|
| SIMATIC S7-400 CPU 414-3 DP V7 |
affected All versions
Other versions: unknown
|
| SIMATIC S7-400 CPU 414-3 PN/DP V7 |
affected All versions < V7.0.3
Other versions: unknown
|
| SIMATIC S7-400 CPU 414F-3 PN/DP V7 |
affected All versions < V7.0.3
Other versions: unknown
|
| SIMATIC S7-400 CPU 416-2 DP V7 |
affected All versions
Other versions: unknown
|
| SIMATIC S7-400 CPU 416-3 DP V7 |
affected All versions
Other versions: unknown
|
| SIMATIC S7-400 CPU 416-3 PN/DP V7 |
affected All versions < V7.0.3
Other versions: unknown
|
| SIMATIC S7-400 CPU 416F-2 DP V7 |
affected All versions
Other versions: unknown
|
| SIMATIC S7-400 CPU 416F-3 PN/DP V7 |
affected All versions < V7.0.3
Other versions: unknown
|
| SIMATIC S7-400 CPU 417-4 DP V7 |
affected All versions
Other versions: unknown
|
| SIMATIC S7-400 H V6 CPU family (incl. SIPLUS variants) |
affected All versions < V6.0.10
Other versions: unknown
|
| SIMATIC S7-410 V10 CPU family (incl. SIPLUS variants) |
affected All versions < V10.1
Other versions: unknown
|
| SIMATIC S7-410 V8 CPU family (incl. SIPLUS variants) |
affected All versions < V8.2.3
Other versions: unknown
|
| SIPLUS S7-400 CPU 414-3 PN/DP V7 |
affected All versions < V7.0.3
Other versions: unknown
|
| SIPLUS S7-400 CPU 416-3 PN/DP V7 |
affected All versions < V7.0.3
Other versions: unknown
|
| SIPLUS S7-400 CPU 416-3 V7 |
affected All versions
Other versions: unknown
|
| SIPLUS S7-400 CPU 417-4 V7 |
affected All versions
Other versions: unknown
|
Is my server affected?
This CVE is in SIMATIC S7-400 CPU 412-1 DP V7 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
- https://cert-portal.siemens.com/productcert/pdf/ssa-557541.pdf cert-portal.siemens.com
Source: the record CVE-2021-40368 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.
Vulnpocalypse