#2027 Doubled responses to certain HTTP requests

Reporter MattJ
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Milestone-13.0
  • Status-Fixed
  • Priority-High
  • Type-Defect
  • Security
  1. MattJ on

    **Description** In some circumstances, Prosody's HTTP server might emit multiple responses to the same request. This can cause undesired behaviour when a HTTP client or reverse proxy reuses a HTTP connection. **Affected configurations** The issue affects HTTP endpoints that respond to the early, headers-only dispatch of a chunked request, including missing-handler responses and mod_http_file_share rejecting an upload. **Mitigation** Operators who cannot upgrade immediately should disable mod_http_file_share or restrict upload access to trusted users. If using a reverse proxy, ensure it does not reuse the same backend connection across multiple frontend requests. **Fixes** The HTTP server now remembers an early response and does not dispatch the completed request again. Commits: 4fa97a839d7a **Attribution** This issue was identified in an external security review.

  2. MattJ on

    Changes
    • tags Hidden

New comment

Not published. Used for spam prevention and optional update notifications.