Skip to content

New Vuln: DoS in cloudwego/hertz #585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions vulnerabilities/AIKIDO-2025-10432.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"package_name": "github.com/cloudwego/hertz",
"patch_versions": [
"0.10.1"
],
"vulnerable_ranges": [
[
"0.8.0",
"0.10.0"
]
],
"cwe": [
"CWE-40"
],
"tldr": "Affected versions of this package are vulnerable to HTTP connections deadlock, leading to resource exhaustion, where the server fails to handle connection state transitions during ambiguous client interactions. It manifests in two exploitable scenarios: (1) when clients connect without sending data and disconnect prematurely, causing the server to maintain idle connections until timeout; and (2) when clients send TLS ClientHello messages to HTTP ports, creating a mutual deadlock, the server waits indefinitely for HTTP request lines while the client waits for TLS negotiation. Attackers exploit both scenarios by flooding servers with either rapid-fire empty connections or deliberate HTTPS-to-HTTP port mismatches, consuming connection slots and worker resources to induce denial-of-service with minimal traffic.",
"doest_this_affect_me": "You are affected if you are using a version that falls within the vulnerable range.",
"how_to_fix": "Upgrade the `github.com/cloudwego/hertz` library to the patch version.",
"vulnerable_to": "Denial of service (DoS)",
"related_cve_id": "",
"language": "go",
"severity_class": "MEDIUM",
"aikido_score": 40,
"changelog": "https://github.com/cloudwego/hertz/releases/tag/v0.10.1",
"last_modified": "2025-07-02",
"published": "2025-07-02"
}