ewe: Loop with Unreachable Exit Condition ('Infinite Loop')
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| vshakitskiy | ewe | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vshakitskiy | Ewe |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4w98-xf39-23gp | Loop with Unreachable Exit Condition ('Infinite Loop') in ewe |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.623% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-835 | |
| CPEs | cpe:2.3:a:vshakitskiy:ewe:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Vshakitskiy
Vshakitskiy ewe |
|
| Vendors & Products |
Vshakitskiy
Vshakitskiy ewe |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | ewe is a Gleam web server. Versions 0.8.0 through 3.0.4 contain a bug in the handle_trailers function where rejected trailer headers (forbidden or undeclared) cause an infinite loop. When handle_trailers encounters such a trailer, three code paths (lines 520, 523, 526) recurse with the original buffer (rest) instead of advancing past the rejected header (Buffer(header_rest, 0)), causing decoder.decode_packet to re-parse the same header on every iteration. The resulting loop has no timeout or escape — the BEAM process permanently wedges at 100% CPU. Any application that calls ewe.read_body on chunked requests is affected, and this is exploitable by any unauthenticated remote client before control returns to application code, making an application-level workaround impossible. This issue is fixed in version 3.0.5. | |
| Title | ewe: Loop with Unreachable Exit Condition ('Infinite Loop') | |
| Weaknesses | CWE-825 | |
| References |
| |
| Metrics |
cvssV3_1
|