ID

VAR-202108-2032


CVE

CVE-2021-40142


TITLE

OPC Foundation Local Discovery Server  Buffer error vulnerability in

Trust: 0.8

sources: JVNDB: JVNDB-2021-010007

DESCRIPTION

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. The Local Discovery Server provides the necessary infrastructure to publicly expose the OPC UA servers available on a given computer

Trust: 1.8

sources: NVD: CVE-2021-40142 // JVNDB: JVNDB-2021-010007 // VULHUB: VHN-397219 // VULMON: CVE-2021-40142

AFFECTED PRODUCTS

vendor:siemensmodel:simatic wincc runtimescope:eqversion: -

Trust: 1.0

vendor:opcfoundationmodel:local discover serverscope:ltversion:1.04.402.463

Trust: 1.0

vendor:siemensmodel:simatic net pcscope:eqversion:15

Trust: 1.0

vendor:siemensmodel:telecontrol server basicscope:eqversion:3.0

Trust: 1.0

vendor:siemensmodel:simatic net pcscope:eqversion:17

Trust: 1.0

vendor:siemensmodel:simatic process historian opc ua serverscope:ltversion:2022

Trust: 1.0

vendor:siemensmodel:simatic winccscope:eqversion: -

Trust: 1.0

vendor:siemensmodel:simatic wincc unified scada runtimescope:eqversion: -

Trust: 1.0

vendor:siemensmodel:simatic process historian opc ua serverscope:eqversion:2022

Trust: 1.0

vendor:siemensmodel:simatic net pcscope:eqversion:16

Trust: 1.0

vendor:siemensmodel:simatic net pcscope:eqversion:14

Trust: 1.0

vendor:opcmodel:local discovery serverscope:eqversion: -

Trust: 0.8

vendor:opcmodel:local discovery serverscope:eqversion:1.04.402.463

Trust: 0.8

sources: JVNDB: JVNDB-2021-010007 // NVD: CVE-2021-40142

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2021-40142
value: HIGH

Trust: 1.0

cve@mitre.org: CVE-2021-40142
value: HIGH

Trust: 1.0

NVD: CVE-2021-40142
value: HIGH

Trust: 0.8

CNNVD: CNNVD-202108-2640
value: HIGH

Trust: 0.6

VULHUB: VHN-397219
value: MEDIUM

Trust: 0.1

VULMON: CVE-2021-40142
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2021-40142
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.9

VULHUB: VHN-397219
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

nvd@nist.gov: CVE-2021-40142
baseSeverity: HIGH
baseScore: 7.5
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: 3.9
impactScore: 3.6
version: 3.1

Trust: 2.0

OTHER: JVNDB-2021-010007
baseSeverity: HIGH
baseScore: 7.5
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: VULHUB: VHN-397219 // VULMON: CVE-2021-40142 // JVNDB: JVNDB-2021-010007 // CNNVD: CNNVD-202108-2640 // NVD: CVE-2021-40142 // NVD: CVE-2021-40142

PROBLEMTYPE DATA

problemtype:CWE-119

Trust: 1.1

problemtype:Buffer error (CWE-119) [NVD evaluation ]

Trust: 0.8

sources: VULHUB: VHN-397219 // JVNDB: JVNDB-2021-010007 // NVD: CVE-2021-40142

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202108-2640

TYPE

buffer error

Trust: 0.6

sources: CNNVD: CNNVD-202108-2640

PATCH

title:Security Update for Local Discovery Server (LDS) OPC Foundation Security Bulletinurl:https://files.opcfoundation.org/SecurityBulletins/OPC%20Foundation%20Security%20Bulletin%20CVE-2021-40142.pdf

Trust: 0.8

title:Local Discovery Server Buffer error vulnerability fixurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=161299

Trust: 0.6

sources: JVNDB: JVNDB-2021-010007 // CNNVD: CNNVD-202108-2640

EXTERNAL IDS

db:NVDid:CVE-2021-40142

Trust: 3.4

db:SIEMENSid:SSA-321292

Trust: 1.8

db:JVNDBid:JVNDB-2021-010007

Trust: 0.8

db:CNNVDid:CNNVD-202108-2640

Trust: 0.7

db:ICS CERTid:ICSA-22-132-12

Trust: 0.7

db:CS-HELPid:SB2022051720

Trust: 0.6

db:VULHUBid:VHN-397219

Trust: 0.1

db:VULMONid:CVE-2021-40142

Trust: 0.1

sources: VULHUB: VHN-397219 // VULMON: CVE-2021-40142 // JVNDB: JVNDB-2021-010007 // CNNVD: CNNVD-202108-2640 // NVD: CVE-2021-40142

REFERENCES

url:https://cert-portal.siemens.com/productcert/pdf/ssa-321292.pdf

Trust: 1.8

url:https://files.opcfoundation.org/securitybulletins/opc%20foundation%20security%20bulletin%20cve-2021-40142.pdf

Trust: 1.8

url:https://opcfoundation.org/security-bulletins/

Trust: 1.8

url:https://nvd.nist.gov/vuln/detail/cve-2021-40142

Trust: 0.8

url:https://vigilance.fr/vulnerability/siemens-simatic-denial-of-service-via-opc-foundation-local-discovery-server-38294

Trust: 0.6

url:https://us-cert.cisa.gov/ics/advisories/icsa-22-132-12

Trust: 0.6

url:https://www.cybersecurity-help.cz/vdb/sb2022051720

Trust: 0.6

url:https://cwe.mitre.org/data/definitions/119.html

Trust: 0.1

url:https://github.com/live-hack-cve/cve-2021-40142

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

url:https://www.cisa.gov/uscert/ics/advisories/icsa-22-132-12

Trust: 0.1

sources: VULHUB: VHN-397219 // VULMON: CVE-2021-40142 // JVNDB: JVNDB-2021-010007 // CNNVD: CNNVD-202108-2640 // NVD: CVE-2021-40142

CREDITS

Siemens reported this vulnerability to CISA.

Trust: 0.6

sources: CNNVD: CNNVD-202108-2640

SOURCES

db:VULHUBid:VHN-397219
db:VULMONid:CVE-2021-40142
db:JVNDBid:JVNDB-2021-010007
db:CNNVDid:CNNVD-202108-2640
db:NVDid:CVE-2021-40142

LAST UPDATE DATE

2024-08-14T15:27:37.861000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-397219date:2022-09-03T00:00:00
db:VULMONid:CVE-2021-40142date:2022-09-03T00:00:00
db:JVNDBid:JVNDB-2021-010007date:2022-06-13T08:39:00
db:CNNVDid:CNNVD-202108-2640date:2022-05-18T00:00:00
db:NVDid:CVE-2021-40142date:2022-09-03T03:54:54.180

SOURCES RELEASE DATE

db:VULHUBid:VHN-397219date:2021-08-27T00:00:00
db:VULMONid:CVE-2021-40142date:2021-08-27T00:00:00
db:JVNDBid:JVNDB-2021-010007date:2022-06-13T00:00:00
db:CNNVDid:CNNVD-202108-2640date:2021-08-27T00:00:00
db:NVDid:CVE-2021-40142date:2021-08-27T07:15:08.630