CVE-2026-10050
Eclipse Jetty Digest Authentication: ISO-8859-1 lossy encoding allows authentication bypass via character substitution
Auswirkung
In Eclipse Jetty, the Digest authentication server-side component uses ISO-8859-1 to encode the password as bytes. This was done because the initial specification for HTTP did not specify explicitly a charset, and it was assumed to be ISO-8859-1 for historical reasons. If the password contains characters that cannot be represented in ISO-8859-1, they are silently replaced by `?`. This happens with passwords that contain Chinese, Cyrillic or Greek characters, for example: `αβ123` converts to `??123`. An attacker can send a request with a digest `Authorization` header crafted with a password made of only `?` characters; the server would match any password of the same length that contains non-ISO-8859-1 characters. Recent HTTP Digest [RFC-7616](https://datatracker.ietf.org/doc/html/rfc7616) supports a `charset` parameters that defaults to UTF-8 that allows for correct encoding/decoding of passwords.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.eclipse.jetty:jetty-security | >= 9.4.0.v20161208, <= 9.4.58.v20250814 | 9.4.63 |
| maven | org.eclipse.jetty.ee8:jetty-ee8-security | >= 12.0.0, <= 12.0.35 | 12.0.36 |
| maven | org.eclipse.jetty.ee9:jetty-ee9-security | >= 12.0.0, <= 12.0.35 | 12.0.36 |
Betroffene Produkte · Eclipse
| Produkt | Betroffene Versionen |
|---|---|
| Jetty | ab 9.4.0 vor 9.4.63 ab 10.0.0 vor 10.0.31 ab 11.0.0 vor 11.0.31 ab 12.0.0 vor 12.0.36 ab 12.1.0 vor 12.1.10 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-2fvj-hgj9-j2gr
- https://github.com/jetty/jetty.project/security/advisories/GHSA-2fvj-hgj9-j2gr
- https://github.com/jetty/jetty.project/issues/15136
- https://github.com/jetty/jetty.project/pull/15160
- https://github.com/jetty/jetty.project/pull/15183
- https://github.com/jetty/jetty.project/commit/4bcdbc7db387ce9e20e2c7571a7250280466221d
- https://github.com/jetty/jetty.project/commit/d0bb829ccecbf19e3ad3d32f2649b2800f01222d
- https://github.com/jetty/jetty.project/releases/tag/jetty-12.0.36
- https://github.com/jetty/jetty.project/releases/tag/jetty-12.1.10
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/120