FreeRDP proxy retains unbounded static-channel data while backend is pending
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-3wx3-895w-2f4x. Fix status from GitHub. Impact type from CWE-400.
Summary
FreeRDP proxy, through 3.33.1, queues accepted frontend static-channel data in unbounded memory while its backend RDP connection is still pending. A frontend peer can retain chosen bytes for each session while a backend handshake stalls, which is CWE-400 (Uncontrolled Resource Consumption). The queue has no item or byte budget, and the advisory states that no unrestricted production outage was demonstrated.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the GitHub advisory
### Summary The FreeRDP proxy deep-copies accepted frontend static-channel fragments into an automatically growing queue before its backend RDP connection is ready. The queue has no item or byte budget and is drained only after backend PostConnect. A frontend peer can retain chosen bytes while a backend handshake stalls. Bounded native Current/Fixed tests measured queue-attributable retention; a separate third-client canary failed only under an artificial 64 MiB Job Object limit. No unrestricted production outage or generally applicable traffic threshold was demonstrated. ### Details `pf_server_receive_channel_data_hook()` forwards a permitted passthrough fragment to `pf_client_send_channel_data()`, which enqueues it in `cached_server_channel_data`. The queue is created with `Queue_New(TRUE, -1, -1)` and deep-copies each fragment. `sendQueuedChannelData()` is gated by `pc->connected`, set only after outbound PostConnect. Dynamic routing can let a frontend select a controlled endpoint that accepts the backend connection and withholds handshake progress. The source path is present in all 53 published stable 3.x tags reviewed from 3.0.0 through 3.32.2 and official master `b7002e31bc2451a02eb33b6671e39a2fa3ae0f46`. Debian ships a 3.32.2 proxy component. Public FreeRDP maintainer guidance recommends permissive channel passthrough, and a user configuration shows it with frontend NLA disabled; neither establishes a stalled backend or a production memory limit. Installed and reachable deployments and the exact affected binary range remain unverified. Upstream's 4096-message `server_messages` cap applies to a different queue. Please assess per-session and aggregate queue budgets, backpressure and supported proxy deployments. The attached dossier separates one-session retention from the conditional multi-session canary and includes the Fixed test guard. No CVSS is assigned because production availability impact remains unmeasured. ### Proof of concept Use the attached `tools/d777-proxy-queue/README.md` only in the isolated loopback lab. Pin the FreeRDP source and binary hashes, permit one synthetic static channel, connect a local synthetic backend that stalls before PostConnect, and send the bounded valid fragments from the local frontend. D-795's matched 8 MiB Current/Fixed schedule measured retained memory against a test-only 1 MiB queue guard. D-847's separate 64 MiB Job Object canary used two 24 MiB senders and a zero-payload third client, with Fixed, no-load and 128 MiB headroom controls. The D-847 Fixed DLL also contains an unrelated D-796 INI parser change; its queue guard disconnects the load clients early, so Current and Fixed do not have identical live session counts at the canary step. The artificial cap is a lab condition, not a production threshold. Do not scale traffic to OOM. ### Impact Confirmed: remotely influenced, unbounded per-session proxy memory retention while a backend remains pending, and a conditional third-client failure under an imposed 64 MiB lab cap. Unconfirmed: a deployed whole-service outage, normal production resource threshold or process-wide availability loss. A quickly failing backend limits the window; NLA or restrictive channel policy may add prerequisites. No code execution or data disclosure is claimed.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | freerdp-proxy (c) | <= 3.33.1 | 3.34.0 | Patch available | GHSA-3wx3-895w-2f4x |
- freerdp-proxy (c) Vendor— Affected <= 3.33.1 Fixed in 3.34.0 Patch available GHSA-3wx3-895w-2f4x
Remediation
Upgrade freerdp-proxy to 3.34.0 or later. The sources list no advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · GHSA-3wx3-895w-2f4x freerdp-proxy (c) Fixed in 3.34.0 Advisory →
Timeline
- 2026-12-02 Threatist record created from GHSA-3wx3-895w-2f4x
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences