CVE-2020-15158

In libIEC61850 before version 1.4.3, when a message with COTP message length field with value < 4 is received an integer underflow will happen leading to heap buffer overflow. This can cause an application crash or on some platforms even the execution of remote code. If your application is used in open networks or there are untrusted nodes in the network it is highly recommend to apply the patch. This was patched with commit 033ab5b. Users of version 1.4.x should upgrade to version 1.4.3 when available. As a workaround changes of commit 033ab5b can be applied to older versions.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mz-automation:libiec61850:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:04

Type Values Removed Values Added
References () https://github.com/mz-automation/libiec61850/commit/033ab5b6488250c8c3b838f25a7cbc3e099230bb - Patch, Third Party Advisory () https://github.com/mz-automation/libiec61850/commit/033ab5b6488250c8c3b838f25a7cbc3e099230bb - Patch, Third Party Advisory
References () https://github.com/mz-automation/libiec61850/issues/250 - Third Party Advisory () https://github.com/mz-automation/libiec61850/issues/250 - Third Party Advisory
References () https://github.com/mz-automation/libiec61850/security/advisories/GHSA-pq77-fmf7-hjw8 - Third Party Advisory () https://github.com/mz-automation/libiec61850/security/advisories/GHSA-pq77-fmf7-hjw8 - Third Party Advisory
CVSS v2 : 7.5
v3 : 9.8
v2 : 7.5
v3 : 7.7

Information

Published : 2020-08-26 18:15

Updated : 2024-11-21 05:04


NVD link : CVE-2020-15158

Mitre link : CVE-2020-15158

CVE.ORG link : CVE-2020-15158


JSON object : View

Products Affected

mz-automation

  • libiec61850
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-122

Heap-based Buffer Overflow

CWE-191

Integer Underflow (Wrap or Wraparound)