CVE-2021-40142
mediumpriority · track · 31EPSS 0.026 · 85 %ileDEEURUUSEPSS · scored 2026-10-27
In OPC Foundation Local Discovery Server (LDS) before 1.04.402.463, remote attackers can cause a denial of service (DoS) by sending carefully crafted messages that lead to Access of a Memory Location After the End of a Buffer.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- FixedSIMATIC NET PC Software V14siemens_psirt
Update to V14 SP1 Update 14 or later version
https://support.industry.siemens.com/cs/ww/en/view/109807351/ - FixedSIMATIC NET PC Software V16siemens_psirt
Update to V16 Update 6 or later version
- FixedSIMATIC NET PC Software V17siemens_psirt
Update to V17 SP1 or later version
- FixedSIMATIC Process Historian OPC UA Serversiemens_psirt
For PCS 7: Update to PCS 7 V9.1 SP1 ( https://support.industry.siemens.com/cs/ww/en/view/109805073/)
- FixedSIMATIC WinCCsiemens_psirt
Update to V8.0 or later version
https://support.industry.siemens.com/cs/ww/en/view/109816599/ - FixedSIMATIC WinCC Runtime Professionalsiemens_psirt
Update to V18 or later version
https://support.industry.siemens.com/cs/ww/en/view/109813587/ - FixedSIMATIC WinCC Unified PC Runtime V18siemens_psirt
Update to V18 Update 1 or later version
https://support.industry.siemens.com/cs/ww/en/view/109807123/ - FixedTeleControl Server Basic V3siemens_psirt
Update to V3.1.1 or later version
https://support.industry.siemens.com/cs/ww/en/view/109812231/ - FixedSIMATIC NET PC Software V14cisa_csaf_ot
Update to V14 SP1 Update 14 or later version
https://support.industry.siemens.com/cs/ww/en/view/109807351/ - FixedSIMATIC NET PC Software V16cisa_csaf_ot
Update to V16 Update 6 or later version
- FixedSIMATIC NET PC Software V17cisa_csaf_ot
Update to V17 SP1 or later version
- FixedSIMATIC Process Historian OPC UA Servercisa_csaf_ot
For PCS 7: Update to PCS 7 V9.1 SP1 ( https://support.industry.siemens.com/cs/ww/en/view/109805073/)
- FixedSIMATIC WinCCcisa_csaf_ot
Update to V8.0 or later version
https://support.industry.siemens.com/cs/ww/en/view/109816599/ - FixedSIMATIC WinCC Runtime Professionalcisa_csaf_ot
Update to V18 or later version
https://support.industry.siemens.com/cs/ww/en/view/109813587/ - FixedSIMATIC WinCC Unified PC Runtime V18cisa_csaf_ot
Update to V18 Update 1 or later version
https://support.industry.siemens.com/cs/ww/en/view/109807123/ - FixedTeleControl Server Basic V3cisa_csaf_ot
Update to V3.1.1 or later version
https://support.industry.siemens.com/cs/ww/en/view/109812231/ - MitigationOpenPCS 7 V9.1siemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC NET PC Software V14siemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC NET PC Software V15siemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC NET PC Software V16siemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC NET PC Software V17siemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC Process Historian OPC UA Serversiemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC WinCCsiemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC WinCC Runtime Professionalsiemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC WinCC Unified PC Runtime V18siemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationTeleControl Server Basic V3siemens_psirt
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationOpenPCS 7 V9.1cisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC NET PC Software V14cisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC NET PC Software V15cisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC NET PC Software V16cisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC NET PC Software V17cisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC Process Historian OPC UA Servercisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC WinCCcisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC WinCC Runtime Professionalcisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationSIMATIC WinCC Unified PC Runtime V18cisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- MitigationTeleControl Server Basic V3cisa_csaf_ot
Deactivate the OPC LDS Service if supported by the product use case. The LDS service is not activated in the default configuration
- No fix plannedOpenPCS 7 V9.1siemens_psirt
Currently no fix is planned
- No fix plannedSIMATIC NET PC Software V15siemens_psirt
Currently no fix is planned
- No fix plannedOpenPCS 7 V9.1cisa_csaf_ot
Currently no fix is planned
- No fix plannedSIMATIC NET PC Software V15cisa_csaf_ot
Currently no fix is planned
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (52)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- SSA-321292SSA-321292: Denial of Service in the OPC Foundation Local Discovery Server (LDS) in Industrial Products2022-05-10csaf · siemens_psirtDE
A vulnerability has been identified in the OPC Foundation Local Discovery Server (LDS) [0] of several industrial products. The vulnerability could cause a denial of service condition on the service or the device. Siemens has released new versions for several affected products and recommends to update to the latest versions. Siemens recommends specific countermeasures for products where fixes are not, or not yet available. [0] https://files.opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2021-40142.pdf
- ICSA-22-132-12Siemens Industrial Products2022-05-10icsa · cisa_csaf_otUS
A vulnerability has been identified in the OPC Foundation Local Discovery Server (LDS) [0] of several industrial products. The vulnerability could cause a denial of service condition on the service or the device. Siemens has released new versions for several affected products and recommends to update to the latest versions. Siemens recommends specific countermeasures for products where fixes are not, or not yet available. [0] https://files.opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2021-40142.pdf
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cert-portal.siemens.com/productcert/pdf/ssa-321292.pdfcnnvd
- https://files.opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2021-40142.pdfcnnvd
- https://opcfoundation.org/developer-tools/samples-and-tools-unified-architecture/local-discovery-server-lds/。Patchcnnvd
- https://opcfoundation.org/security-bulletins/cnnvd
- https://us-cert.cisa.gov/ics/advisories/icsa-22-132-12cnnvd
- https://vigilance.fr/vulnerability/Siemens-SIMATIC-denial-of-service-via-OPC-Foundation-Local-Discovery-Server-38294cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022051720cnnvd
- https://cert-portal.siemens.com/productcert/pdf/ssa-321292.pdfenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan