Repository navigation
Security fix
Fix a denial-of-service vulnerability where deeply nested XML in PROPFIND, PROPPATCH, or LOCK requests could overflow a worker stack and abort the server process. XML tree parsing now rejects nesting beyond 64 element levels across request and stored-property paths.
Upgrade to dav-server 0.12.0. See GHSA-jj29-x8v4-w733 (High, CVSS 7.5).
Discovered and privately reported by KimiChen (@KimiChen).
What's Changed
- Fix #37 - "Symlinked dir is readable when hide_symlinks is true" by @LuceusXylian in #61
- Fix #55, #38 by @LuceusXylian in #62
- Fix #15 - Wrong quota-used-bytes returned for collections in LocalFs by @LuceusXylian in #63
- Make PatchProps optional, fix if-match header for caldav by @LuceusXylian in #64
- Skip some tests if required features are disabled by @kpcyrd in #65
- Fix clippy warnings by @kpcyrd in #66
- Fix build for WASI targets by @Heap-Hop in #67
- Document X-OC-MTime, X-OC-CTime, and Win32LastModifiedTime in README (#68) by @BradKollmyer in #72
- Create public LocalFs files and dirs with 0o666/0o777 so umask applies by @BradKollmyer in #69
- prevent changing the namespace prefix mid document by @themasch in #73
- Add support for X-OC-MTime and X-OC-CTime headers (#68) by @BradKollmyer in #71
- Apply Win32LastModifiedTime on PROPPATCH via set_modified (#68) by @BradKollmyer in #70
- WebDAV principal support (RFC5397, RFC3744) with metadata handling by @LuceusXylian in #74
- Fix typo: seperate → separate in TODO.md by @CC11001100 in #75
- Emit getetag as a quoted entity-tag, the same as the ETag header by @grf53 in #77
- Fix #78 PROPFIND default depth out-of-spec by adding default_depth by @LuceusXylian in #79
- Report properties requested by name that do not exist in a 404 propstat by @KimiChen in #80
New Contributors
- @kpcyrd made their first contribution in #65
- @Heap-Hop made their first contribution in #67
- @BradKollmyer made their first contribution in #72
- @themasch made their first contribution in #73
- @CC11001100 made their first contribution in #75
- @grf53 made their first contribution in #77
- @KimiChen made their first contribution in #80
Full Changelog: v0.11.0...v0.12.0