Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Untriaged
created 2 weeks, 1 day ago
Multipart form body parser bypasses body size limits in wisp

Allocation of Resources Without Limits or Throttling vulnerability in gleam-wisp wisp allows a denial of service via multipart form body parsing. The multipart_body function bypasses configured max_body_size and max_files_size limits. When a multipart boundary is not present in a chunk, the parser takes the MoreRequiredForBody path, which appends the chunk to the output but passes the quota unchanged to the recursive call. Only the final chunk containing the boundary is counted via decrement_quota. The same pattern exists in multipart_headers, where MoreRequiredForHeaders recurses without calling decrement_body_quota. An unauthenticated attacker can exhaust server memory or disk by sending arbitrarily large multipart form submissions in a single HTTP request. This issue affects wisp: from 0.2.0 before 2.2.2.

Affected products

wisp
  • <pkg:hex/wisp@2.2.2
  • <2.2.2
gleam-wisp/wisp
  • <7a978748e12ab29db232c222254465890e1a4a90
  • <pkg:github/gleam-wisp/wisp@7a978748e12ab29db232c222254465890e1a4a90

Matching in nixpkgs

pkgs.gnomeExtensions.openwispr-gnome-extension

AI-powered voice-to-text dictation for GNOME. Requires the openwispr companion engine service for recording/transcription. Uses clipboard copy/paste for output (optional auto-paste). Optional remote STT/LLM requests are sent only to user-configured providers.

  • nixos-unstable 3
    • nixpkgs-unstable 3
    • nixos-unstable-small 3

Package maintainers