Security release fixing three vulnerabilities in request-directive handling, all reported by Alexandre Daubois (Les-Tilleuls.coop). Users on 1.4.1 and earlier should upgrade.
🔒 Security Fixes
- High (GHSA-qwqr-3x94-53xc): Fix quadratic (O(N²)) response rebuild on wildcard
Preload/Fieldsmatch against large arrays, which enabled a low-bandwidth algorithmic-complexity denial of service. Rebuild is now a single O(N) pass. by @dunglas - Medium (GHSA-7825-cqgv-jjqr): Bound JSON-pointer recursion depth, preventing ~100× memory amplification from directives with many
/-delimited segments.partsToTreeis now iterative. by @dunglas - Low (GHSA-gqmm-v8j2-px6g): Close a TOCTOU data race on the shared push counter that let concurrent HTTP/2 pushes marginally exceed
maxPushes. Counter check now holds the mutex. by @dunglas
Full Changelog: v1.4.1...v1.4.2