]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_dav: Fix security issue in unreleased MS-WDV support: trunk trunk
authorJoe Orton <jorton@apache.org>
Tue, 6 Jan 2026 11:02:20 +0000 (11:02 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 6 Jan 2026 11:02:20 +0000 (11:02 +0000)
commitbd61fb9492465e7702eac6036b33466495a01cf9
tree634d1e45bac2155854513cc80566961c030fd9ce
parent9d749066e2da7222208bcbeb992a2de324d6bc27
mod_dav: Fix security issue in unreleased MS-WDV support:

* modules/dav/main/ms_wdv.c (mswdv_combined_proppatch):
  The MS-WDV combined PROPPATCH handler reads a 16-byte hex length
  prefix from the request body and uses it directly for memory
  allocation without bounds checking. An attacker can specify an
  extremely large value to trigger OOM and crash the worker process.

  This patch validates the parsed length against LimitXMLRequestBody
  and APR_SIZE_MAX before allocation.

Reported by: Pavel Kohout, Aisle Research, www.aisle.com
Submitted by: Pavel Kohout, jorton
Github: closes #592

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1931148 13f79535-47bb-0310-9956-ffa450edef68
modules/dav/main/ms_wdv.c