Bug 2284259 (CVE-2024-36845)

Summary: CVE-2024-36845 libmodbus: denial of service
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: esandeen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-17 16:23:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2284260, 2284261    
Bug Blocks:    

Description ybuenos 2024-06-02 14:16:17 UTC
An invalid pointer in the modbus_receive() function of libmodbus v3.1.6 allows attackers to cause a Denial of Service (DoS) via a crafted message sent to the unit-test-server.

https://github.com/stephane/libmodbus/issues/750

Comment 1 ybuenos 2024-06-02 14:16:37 UTC
Created libmodbus tracking bugs for this issue:

Affects: epel-all [bug 2284260]
Affects: fedora-all [bug 2284261]

Comment 2 Eric Sandeen 2024-07-17 16:23:44 UTC
This is a duplicate of CVE-2024-36843 (and of bug #2284252), see discussion in https://github.com/stephane/libmodbus/issues/750.

The flaw is fixed in version 3.1.7 which is already present in all supported distributions, so closing NOTABUG.