CVE-2022-2970CWE-121

MZ Automation libIEC61850 Stack-Based Buffer Overflow

Critical · published September 23, 2022

CVSS v3.1
10.0
EPSS
1%
Percentile
73.5
In the wild
Unconfirmed
What it is

🔥 A missing input sanitization in MZ Automation's libIEC61850 could allow attackers to execute code remotely or send the device crashing down! Think of it like a restaurant kitchen without a quality control check on ingredients — if a chef blindly uses whatever comes in, it could lead to a disastrous meal (or in this case, a major security breach). An attacker could exploit this vulnerability to gain control over the device, potentially leading to unauthorized access or a complete system crash. The stakes are high, as this could disrupt critical operations and put sensitive data at risk.

Put simply

Think of it like a restaurant kitchen without a quality control check on ingredients — if a chef blindly uses whatever comes in, it could lead to a disastrous meal (or in this case, a major security breach). This vulnerability arises from improper handling of unsanitized input before executing memcpy, which can create opportunities for arbitrary code execution or device crashes in libIEC61850 versions 1.4 and prior (including version 1.5 before a specific commit).

What to do

An attacker could exploit this vulnerability to gain control over the device, potentially leading to unauthorized access or a complete system crash. The stakes are high, as this could disrupt critical operations and put sensitive data at risk. To mitigate this risk, immediately upgrade to libIEC61850 version 1.5 post-commit a3b04b7bc4872a5a39e5de3fdc5fbde52c09e10e. Additionally, ensure that all input is properly sanitized before processing to enhance security across the board. You've got this! With these steps, you can lock down your systems and keep things running smoothly. 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01465 · 73.5th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2022-09-23T15:28Z
EPSS history
Timeline
  • 23 SEP 15:28Z
    MZ Automation libIEC61850 Stack-Based Buffer Overflow
    cvelistv5