Vulnerability Details : CVE-2022-0367
A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2022-0367
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:a:libmodbus:libmodbus:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-0367
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 35 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-0367
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2022-0367
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: secalert@redhat.com (Secondary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-0367
-
https://github.com/stephane/libmodbus/issues/614
Heap-based Buffer Overflow in modbus_reply · Issue #614 · stephane/libmodbus · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=2045571
2045571 – (CVE-2022-0367) CVE-2022-0367 libmodbus: Heap-based Buffer Overflow in modbus_replyIssue Tracking;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2022/09/msg00007.html
[SECURITY] [DLA 3098-1] libmodbus security updateMailing List;Third Party Advisory
-
https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6
modbus_reply: fix copy & paste error in sanity check (fixes #614) · stephane/libmodbus@b4ef4c1 · GitHubPatch;Third Party Advisory
Jump to