Skip to content

modbus: txs without responses are never freed

High
victorjulien published GHSA-59qg-h357-69fq Jul 11, 2024

Package

suricata

Affected versions

<=7.0.5

Patched versions

7.0.6

Description

Impact

Crafted modbus traffic can lead to unlimited resource accumulation within a flow.

Patches

Upgrade to 7.0.6.

Workarounds

Disable the modbus parser if it is enabled. It is disabled by default.
Set a limited stream.reassembly.depth to reduce the issue.

References

https://redmine.openinfosecfoundation.org/issues/6987 (master)
https://redmine.openinfosecfoundation.org/issues/6988 (7.0.x)
These tickets are private until about 2 weeks after release.

Credits

Found by OSS-Fuzz

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2024-38534

Weaknesses