GNU libmicrohttpd before 0.9.76 allows remote DoS (Denial of Service) due to improper parsing of a multipart/form-data boundary in the postprocessor.c 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.
CVE-2023-27371 - Medium Severity Vulnerability
Vulnerable Library - libmicrohttpdlibmicrohttpd-0.9.66
Gnu Distributions
Library home page: https://ftp.gnu.org/gnu/libmicrohttpd?wsslib=libmicrohttpd
Found in HEAD commit: 30207a8f9a2b5d0b116c65f1e59dfdeba6de5c3e
Found in base branch: main
Vulnerable Source Files (1)
/edrav2/eprj/libmicrohttpd/src/microhttpd/postprocessor.c
Vulnerability Details
GNU libmicrohttpd before 0.9.76 allows remote DoS (Denial of Service) due to improper parsing of a multipart/form-data boundary in the postprocessor.c 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.
Publish Date: 2023-02-28
URL: CVE-2023-27371
CVSS 3 Score Details (5.9)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-27371
Release Date: 2023-02-28
Fix Resolution: v0.9.76