Heap-based Buffer Overflow Affecting suricata package, versions [6.0.0,6.0.19)[7.0.0,7.0.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SURICATA-6814541
  • published8 May 2024
  • disclosed7 May 2024
  • creditEvgeny Legerov

Introduced: 7 May 2024

CVE-2024-32664  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade suricata to version 6.0.19, 7.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to the base64_decode function. An attacker can cause a limited buffer overflow by sending specially crafted traffic or datasets.

Workaround

This vulnerability can be mitigated by not using 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.

CVSS Base Scores

version 3.1