Buffer overflow in Mz-Automation Libiec61850

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.

Vulnerability class: Buffer Overflow

EPSS: 0.020 (79.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-15158?
CVE-2020-15158 is a high-severity vulnerability in Mz-Automation Libiec61850, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.7/10. Published 2020-08-26.
How severe is CVE-2020-15158?
High severity. CVSS v3 base score is 7.7 out of 10.