Vulnerability · Published Feb 28, 2023 · Assigned by mitre
CVE-2023-27371
Medium 5.9
In plain English
A medium-severity security flaw in the libmicrohttpd package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libmicrohttpd | 1:0.9.59-3.el8 | ALSA-2023:7090 |
| AlmaLinux:9 | libmicrohttpd | 1:0.9.72-5.el9 | ALSA-2023:6566 |
| AlmaLinux:8 | libmicrohttpd-devel | 1:0.9.59-3.el8 | ALSA-2023:7090 |
| AlmaLinux:9 | libmicrohttpd-devel | 1:0.9.72-5.el9 | ALSA-2023:6566 |
| AlmaLinux:8 | libmicrohttpd-doc | 1:0.9.59-3.el8 | ALSA-2023:7090 |
| AlmaLinux:9 | libmicrohttpd-doc | 1:0.9.72-5.el9 | ALSA-2023:6566 |
| Debian:12 | libmicrohttpd | 0.9.75-6 | DEBIAN-CVE-2023-27371 |
| Debian:13 | libmicrohttpd | 0.9.75-6 | DEBIAN-CVE-2023-27371 |
| Debian:14 | libmicrohttpd | 0.9.75-6 | DEBIAN-CVE-2023-27371 |
| Rocky Linux:8 | libmicrohttpd | 1:0.9.59-3.el8 | RLSA-2023:7090 |
| Rocky Linux:9 | libmicrohttpd | 1:0.9.72-5.el9 | RLSA-2023:6566 |
| Ubuntu:22.04:LTS | libmicrohttpd | no fix listed | UBUNTU-CVE-2023-27371 |
| Ubuntu:24.04:LTS | libmicrohttpd | no fix listed | UBUNTU-CVE-2023-27371 |
Affected products (as reported)
References
- https://git.gnunet.org/libmicrohttpd.git/commit/?id=6d6846e20bfdf4b3eb1b592c97520a532f724238
- https://github.com/0xhebi/CVEs/tree/main/GNU%20Libmicrohttpd
- https://lists.gnu.org/archive/html/libmicrohttpd/2023-02/msg00000.html
- [debian-lts-announce] 20230330 [SECURITY] [DLA 3374-1] libmicrohttpd security update mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html