Daptin: ParseAcceptLanguage `_` separator bypass enables >250x CPU amplification via Accept-Language header in LanguageMiddleware
影響: go:github.com/daptin/daptin <= 0.12.15
Daptin's LanguageMiddleware (registered as a global gin middleware) calls golang.org/x/text/language.ParseAcceptLanguage on the raw Accept-Language header of every HTTP request without imposing any size or shape filter. The underlying parser has quadratic-time behaviour on long lists of malformed language tags. The CVE-2022-32149 guard that golang.org/x/text added in v0.3.8 caps the number of - characters in the input at 1000, but it does not cap _ characters even though the parser's internal s…
Read on GitHub Advisory Database
| CVE | CVE-2026-62160 |
|---|---|
| Source | GitHub Advisory Database |
| Fetched | 10/30/2026, 01:37 AM |
| Data | Markdown JSON |
On 10/30/2026, 01:33 AM, GitHub Advisory Database published "Daptin: ParseAcceptLanguage `_` separator bypass enables >250x CPU amplification via Accept-Language header in LanguageMiddleware" (type: Advisory). Severity is "High" (high). Related technologies: Go, GitHub. CVE: CVE-2026-62160.