CVE-2022-0367 Detail

Current Description

A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.

View Analysis Description

Analysis Description

A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-787 Out-of-bounds Write NIST  
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Red Hat, Inc.  

Change History

1 change records found show changes

Initial Analysis 9/01/2022 4:16:40 PM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:*
     *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Added CPE Configuration
OR
     *cpe:2.3:a:libmodbus:libmodbus:*:*:*:*:*:*:*:* versions up to (excluding) 3.1.7
Added CVSS V3.1
NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Added CWE
NIST CWE-787
Changed Reference Type
https://bugzilla.redhat.com/show_bug.cgi?id=2045571 No Types Assigned
https://bugzilla.redhat.com/show_bug.cgi?id=2045571 Issue Tracking, Third Party Advisory
Changed Reference Type
https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6 No Types Assigned
https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6 Patch, Third Party Advisory
Changed Reference Type
https://github.com/stephane/libmodbus/issues/614 No Types Assigned
https://github.com/stephane/libmodbus/issues/614 Exploit, Issue Tracking, Patch, Third Party Advisory

Quick Info

CVE Dictionary Entry:
CVE-2022-0367
NVD Published Date:
08/29/2022
NVD Last Modified:
09/01/2022
Source:
Red Hat, Inc.