First published: Tue Jan 25 2022(Updated: )
A flaw was found in libmodbus. A heap-based buffer overflow in _modbus_receive_msg. References: <a href="https://github.com/stephane/libmodbus/issues/614">https://github.com/stephane/libmodbus/issues/614</a>
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Libmodbus Libmodbus | <3.1.7 | |
Fedoraproject Extra Packages For Enterprise Linux | =7.0 | |
Fedoraproject Fedora | =35 | |
Debian Debian Linux | =10.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-0367 is a heap-based buffer overflow vulnerability found in libmodbus.
The vulnerability is located in the modbus_reply() function in src/modbus.c of the libmodbus library.
The vulnerability affects libmodbus version up to and excluding 3.1.7, Fedoraproject Extra Packages For Enterprise Linux 7.0, Fedoraproject Fedora 35, and Debian Debian Linux 10.0.
The severity of CVE-2022-0367 is high with a score of 7.8 (CVSS base score).
To fix CVE-2022-0367, users should update to a version of libmodbus higher than 3.1.7 or apply the necessary patches provided by the vendor.