Out-of-bounds Read Affecting libmicrohttpd package, versions [,0.9.76)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (22nd 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-LIBMICROHTTPD-3336587
  • published1 Mar 2023
  • disclosed28 Feb 2023
  • creditUnknown

Introduced: 28 Feb 2023

CVE-2023-27371  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade libmicrohttpd to version 0.9.76 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to improper parsing of a multipart/form-data boundary in the postprocessor.c file, via the MHD_create_post_processor() method. This allows an attacker to remotely send a malicious HTTP POST packet that includes one or more '\0' bytes in a multipart/form-data boundary field, which - assuming a specific heap layout - will result in an out-of-bounds read and a crash in the find_boundary() function.

CVSS Base Scores

version 3.1