Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to 7.0.5 and 6.0.19, specially crafted traffic or datasets can cause a limited buffer overflow. This vulnerability is fixed in 7.0.5 and 6.0.19. Workarounds include not use rules with base64_decode
keyword with bytes
option with value 1, 2 or 5 and for 7.0.x, setting app-layer.protocols.smtp.mime.body-md5
to false.
{ "vanir_signatures": [ { "signature_version": "v1", "deprecated": false, "target": { "file": "src/util-base64.c" }, "source": "https://github.com/oisf/suricata/commit/d5ffecf11ad2c6fe89265e518f5d7443caf26ba4", "digest": { "line_hashes": [ "46679933959011915951402130356142014458", "152686793277762586364556378538153723005", "24712848685648214478961238615451827358", "299308388501023117808097698127344830766", "308754288649312340994858895020941377081", "254300812950586756234475076883955935037", "241421372473962255925250380684720938406", "34126542032130551298903788104990888268", "201108913660986669710285444166741733136", "164794786683505136590423059992333542084", "239127772975049259354514938513769890836" ], "threshold": 0.9 }, "signature_type": "Line", "id": "CVE-2024-32664-416a8d97" }, { "signature_version": "v1", "deprecated": false, "target": { "file": "src/util-base64.c" }, "source": "https://github.com/oisf/suricata/commit/311002baf288a225f62cf18a90c5fdd294447379", "digest": { "line_hashes": [ "46679933959011915951402130356142014458", "152686793277762586364556378538153723005", "24712848685648214478961238615451827358", "299308388501023117808097698127344830766", "308754288649312340994858895020941377081", "254300812950586756234475076883955935037", "241421372473962255925250380684720938406", "34126542032130551298903788104990888268", "201108913660986669710285444166741733136", "164794786683505136590423059992333542084", "239127772975049259354514938513769890836" ], "threshold": 0.9 }, "signature_type": "Line", "id": "CVE-2024-32664-9abca188" }, { "signature_version": "v1", "deprecated": false, "target": { "file": "src/util-base64.c", "function": "DecodeBase64" }, "source": "https://github.com/oisf/suricata/commit/311002baf288a225f62cf18a90c5fdd294447379", "digest": { "length": 1735.0, "function_hash": "29055727341352579509934896304558138383" }, "signature_type": "Function", "id": "CVE-2024-32664-ad1ac9eb" }, { "signature_version": "v1", "deprecated": false, "target": { "file": "src/util-base64.c", "function": "DecodeBase64" }, "source": "https://github.com/oisf/suricata/commit/d5ffecf11ad2c6fe89265e518f5d7443caf26ba4", "digest": { "length": 1725.0, "function_hash": "212927719737738737265170887986709280404" }, "signature_type": "Function", "id": "CVE-2024-32664-e2392738" } ] }