Bug 2284255 (CVE-2024-36844)

Summary: CVE-2024-36844 libmodbus: use after free
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
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:35:17 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: 2284257, 2284258    
Bug Blocks:    

Description ybuenos 2024-06-02 14:15:06 UTC
libmodbus v3.1.6 was discovered to contain a use-after-free via the ctx->backend pointer. This vulnerability 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/749

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

Affects: epel-all [bug 2284257]
Affects: fedora-all [bug 2284258]

Comment 2 Eric Sandeen 2024-07-17 16:35:17 UTC
This is yet another duplicate of CVE-2024-36843, see discussion in https://github.com/stephane/libmodbus/issues/750 and https://github.com/stephane/libmodbus/issues/749

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