Bug 1225826 (CVE-2024-36843) - VUL-0: CVE-2024-36843: libmodbus: heap overflow via the modbus_mapping_free() function
Summary: VUL-0: CVE-2024-36843: libmodbus: heap overflow via the modbus_mapping_free()...
Status: CONFIRMED
Alias: CVE-2024-36843
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P3 - Medium : Major (vote)
Target Milestone: ---
Assignee: Stanislav Brabec
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/408370/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-36843:8.2:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-03 11:31 UTC by SMASH SMASH
Modified: 2024-06-11 18:03 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-03 11:31:27 UTC
libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-36843
https://www.cve.org/CVERecord?id=CVE-2024-36843
https://github.com/stephane/libmodbus/issues/748
https://bugzilla.redhat.com/show_bug.cgi?id=2284252
Comment 2 Stanislav Brabec 2024-06-11 18:03:16 UTC
Checking the upstream, there is no fix. The upstream issue has no progress. Redhat Bugzilla has no progress yet.

It looks either like a double free() or a memory corruption that could be possibly found by valgring.

Is it serious enough to start a research? Note that we have no Modbus testing hardware.