Server exit via mishandled TLS accept error
Published Oct 1, 2024 · Updated Nov 21, 2024
Improper exception handling in Hyperium Tonic 0.12.2 allows remote attackers to stop a server through a malformed TLS connection. In tonic/src/transport/server/incoming.rs, handle_accept_error treats TLS InvalidData errors as fatal and breaks the accept loop instead of continuing. The service must use tonic::transport::Server with TCP/TLS, and successful exploitation terminates the server process without disclosing or modifying data.
Summary
What happened
Improper exception handling in Hyperium Tonic 0.12.2 allows remote attackers to stop a server through a malformed TLS connection. In tonic/src/transport/server/incoming.rs, handle_accept_error treats TLS InvalidData errors as fatal and breaks the accept loop instead of continuing. The service must use tonic::transport::Server with TCP/TLS, and successful exploitation terminates the server process without disclosing or modifying data.
The record
- CVE
- CVE-2024-47609
- Published
- Oct 1, 2024
- Updated
- Nov 21, 2024
- Vendor
- Hyperium
- Product
- Tonic
- Classifications
- CWE-755, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 1, 2024CVE publishedPublication date reported by the CVE source.
- Nov 21, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=0.12.2
- Affected versionversion=0 <=0.12.3
- Affected versionversion=>= 0.12.2, < 0.12.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Wrong TLS domain-name reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo