Resource Exhaustion Affecting kafka package, versions <3.4.0-r2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (69th 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-KAFKA-5847200
  • published21 Aug 2023
  • disclosed18 Apr 2023

Introduced: 18 Apr 2023

CVE-2023-26048  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Wolfi kafka to version 3.4.0-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kafka package and not the kafka package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

Jetty is a java based web server and servlet engine. In affected versions servlets with multipart support (e.g. annotated with @MultipartConfig) that call HttpServletRequest.getParameter() or HttpServletRequest.getParts() may cause OutOfMemoryError when the client sends a multipart request with a part that has a name but no filename and very large content. This happens even with the default settings of fileSizeThreshold=0 which should stream the whole part content to disk. An attacker client may send a large multipart request and cause the server to throw OutOfMemoryError. However, the server may be able to recover after the OutOfMemoryError and continue its service -- although it may take some time. This issue has been patched in versions 9.4.51, 10.0.14, and 11.0.14. Users are advised to upgrade. Users unable to upgrade may set the multipart parameter maxRequestSize which must be set to a non-negative value, so the whole multipart content is limited (although still read into memory).

CVSS Base Scores

version 3.1