Out-of-bounds Read Affecting suricata package, versions [4.0.0,4.1.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.54% (67th 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-2384333
  • published26 Jan 2022
  • disclosed13 May 2019
  • creditUnknown

Introduced: 13 May 2019

CVE-2019-10050  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade suricata to version 4.1.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. A buffer over-read issue was discovered in Suricata 4.1.x before 4.1.4. If the input of the decode-mpls.c function DecodeMPLS is composed only of a packet of source address and destination address plus the correct type field and the right number for shim, an attacker can manipulate the control flow, such that the condition to leave the loop is true. After leaving the loop, the network packet has a length of 2 bytes. There is no validation of this length. Later on, the code tries to read at an empty position, leading to a crash.

References

CVSS Base Scores

version 3.1