What’s Vulnerable › Vulnerabilities
CVE-2021-40359
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-11-09 · updated 2026-06-17
- Weakness: CWE-22
Description
A vulnerability has been identified in OpenPCS 7 V8.2 (All versions), OpenPCS 7 V9.0 (All versions < V9.0 Upd4), OpenPCS 7 V9.1 (All versions), SIMATIC BATCH V8.2 (All versions), SIMATIC BATCH V9.0 (All versions), SIMATIC BATCH V9.1 (All versions), SIMATIC NET PC Software V14 (All versions), SIMATIC NET PC Software V15 (All versions), SIMATIC NET PC Software V16 (All versions < V16 Update 6), SIMATIC NET PC Software V17 (All versions < V17 SP1), SIMATIC PCS 7 V8.2 (All versions), SIMATIC PCS 7 V9.0 (All versions < V9.0 SP3 UC04), SIMATIC PCS 7 V9.1 (All versions < V9.1 SP1), SIMATIC Route Control V8.2 (All versions), SIMATIC Route Control V9.0 (All versions), SIMATIC Route Control V9.1 (All versions), SIMATIC WinCC V15 and earlier (All versions < V15 SP1 Update 7), SIMATIC WinCC V16 (All versions < V16 Update 5), SIMATIC WinCC V17 (All versions < V17 Update 2), SIMATIC WinCC V7.4 (All versions < V7.4 SP1 Update 19), SIMATIC WinCC V7.5 (All versions < V7.5 SP2 Update 5). When downloading files, the affected systems do not properly neutralize special elements within the pathname. An attacker could then cause the pathname to resolve to a location outside of the restricted directory on the server and read unexpected critical files.
Affected products
- Siemens Simatic Batch: 8.2, 8.2-upd_9, 9.0, 9.0-sp1, 9.0-sp1_update_1, 9.0-sp1_update_2 (+3)
- Siemens Simatic Net Pc: 14, 15, 16, 16-update1, 17
- Siemens Simatic Route Control: 8.2, 9.0, 9.1
- Siemens Simatic Wincc: through 7.4; 7.5, 7.5-sp1, 7.5-sp1_update1, 7.5-sp1_update2, 7.5-sp2, 7.5-sp2_update1 (+11)
- Siemens Simaticpcs 7: through 8.2; from 9.0 before 9.1; 9.1 — fixed in 9.1
How to fix
Upgrade to a fixed version: Siemens Simaticpcs 7 9.1. Check the vendor advisory for mitigations.
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-840188.pdf
Get alerted when CVE-2021-40359 or the next vulnerability affects your stack