CVE-2023-54365·Traefik vulnerability
Traefik before 2.10.5 and 3.0.0-beta4 is affected by a denial-of-service vulnerability in HTTP/2 request handling inherited from the Go standard library's HTTP/2 implementation (CVE-2023-44487 / CVE-2023-39325, the 'Rapid Reset' technique). A remote attacker can rapidly create and cancel HTTP/2 streams to exhaust server resources and cause service unavailability.
- Severity
- high
- Software
- Traefik
- Fixed in
- 2.10.5
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.77% — higher than 54% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2023-54365 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.77%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 3.0.0-beta1
Until: 2.10.5
Fixed in: 2.10.5
How to fix this CVE
Upgrade Traefik to version 2.10.5 or later to patch the HTTP/2 stream handling vulnerability that allows denial-of-service attacks. This update incorporates upstream fixes from the Go standard library to mitigate resource exhaustion from rapid stream creation and cancellation. Organizations running Traefik in production should prioritize this update to prevent potential service disruptions.
sudo dnf update traefikDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST|GET|HEAD|OPTIONS|PUT|DELETE HTTP/2.*RST_STREAM|GOAWAY.*RST_STREAM|multiple stream creation within <1 second followed by immediate RST_STREAM framesWAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Implement HTTP/2 connection limits and stream rate limiting: restrict the maximum number of concurrent streams per connection (e.g., max_concurrent_streams = 50), enforce timeouts on stream creation, and monitor for connections that rapidly open and close streams without sending request bodies.How to check if you are affected
- Check the installed Traefik version: traefik version | grep Version
- Verify if your Traefik instance accepts HTTP/2 connections: grep -i 'http2\|h2' /etc/traefik/traefik.yml or check your entrypoint configuration for HTTP/2 enablement
- Monitor access logs for patterns of rapid stream requests followed by resets: grep 'RST_STREAM\|GOAWAY' /var/log/traefik/access.log or check metrics for abnormal stream closure rates
- Confirm the patch is applied: traefik version and verify the version is >= 2.10.5
FAQ
What is CVE-2023-54365?
This vulnerability allows attackers to send specially crafted HTTP/2 requests that create and immediately cancel multiple streams, consuming server memory and CPU resources until the service becomes unresponsive. It stems from a weakness in Go's HTTP/2 implementation that Traefik inherited.
Is CVE-2023-54365 being actively exploited?
No, this vulnerability is not listed in the CISA KEV catalog and no public exploits are currently available, though the underlying HTTP/2 Rapid Reset technique has been documented in the security community.
What versions of Traefik are affected by CVE-2023-54365?
All versions of Traefik 3.0.0-beta1 through 2.10.4 are vulnerable; versions 2.10.5 and later contain the fix.
How do I check if my server is vulnerable to CVE-2023-54365?
Run 'traefik version' and compare the output to version 2.10.5; if your version is earlier, you are vulnerable. Additionally, confirm HTTP/2 is enabled in your Traefik configuration.
Does Defensia detect CVE-2023-54365?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Traefik is installed on a monitored server, CVE-2023-54365 will appear in your dashboard with remediation steps.
Related Traefik CVEs
References
- https://github.com/traefik/traefik/security/advisories/GHSA-7v4p-328v-8v5g
- https://www.vulncheck.com/advisories/traefik-denial-of-service-via-http-2-request-handling
- https://access.redhat.com/security/cve/CVE-2023-54365
- https://bugzilla.redhat.com/show_bug.cgi?id=2491710
- https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-54365.json
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2023-54365. Free for 1 server.
Get started free