Improper Handling of Exceptional Conditions Affecting spiderlabs/modsecurity package, versions [3.0.0,3.0.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (59th 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-SPIDERLABSMODSECURITY-2364490
  • published26 Jan 2022
  • disclosed6 May 2021
  • creditUnknown

Introduced: 6 May 2021

CVE-2019-25043  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade spiderlabs/modsecurity to version 3.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions. ModSecurity 3.x before 3.0.4 mishandles key-value pair parsing, as demonstrated by a "string index out of range" error and worker-process crash for a "Cookie: =abc" header.

References

CVSS Base Scores

version 3.1