Eclipse Foundation Eclipse Jetty - EE8
Digest authentication lossy encoding
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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 12.0.0, <= 12.0.35
- >= 12.1.0, <= 12.1.9
- >= 12.0.0, <= 12.0.35
- >= 12.1.0, <= 12.1.9
- >= 9.4.0, <= 9.4.62
- >= 10.0.0, <= 10.0.30
- >= 11.0.0, <= 11.0.30
- >= 12.0.0, <= 12.0.35
- >= 12.1.0, <= 12.1.9
- >= 9.4.0.v20161208, < 9.4.63
Fixed in 9.4.63
from GitHub Security Advisory GHSA-2fvj-hgj9-j2gr
- >= 10.0.0, < 10.0.31
Fixed in 10.0.31
from GitHub Security Advisory GHSA-2fvj-hgj9-j2gr
- >= 11.0.0, < 11.0.31
Fixed in 11.0.31
from GitHub Security Advisory GHSA-2fvj-hgj9-j2gr
- >= 12.0.0, < 12.0.36
Fixed in 12.0.36
from GitHub Security Advisory GHSA-2fvj-hgj9-j2gr
- >= 12.0.0, < 12.0.36
Fixed in 12.0.36
from GitHub Security Advisory GHSA-2fvj-hgj9-j2gr
- >= 12.0.0, < 12.0.36
Fixed in 12.0.36
from GitHub Security Advisory GHSA-2fvj-hgj9-j2gr
- >= 12.1.0, < 12.1.10
Fixed in 12.1.10
from GitHub Security Advisory GHSA-2fvj-hgj9-j2gr
- >= 12.1.0, < 12.1.10
Fixed in 12.1.10
from GitHub Security Advisory GHSA-2fvj-hgj9-j2gr
- >= 12.1.0, < 12.1.10
Fixed in 12.1.10
from GitHub Security Advisory GHSA-2fvj-hgj9-j2gr
Mitigation
Upgrade org.eclipse.jetty:jetty-security to 9.4.63 or later.
Upgrade org.eclipse.jetty:jetty-security to 10.0.31 or later.
Upgrade org.eclipse.jetty:jetty-security to 11.0.31 or later.
Upgrade org.eclipse.jetty:jetty-security to 12.0.36 or later.
Upgrade org.eclipse.jetty.ee8:jetty-ee8-security to 12.0.36 or later.
Upgrade org.eclipse.jetty.ee9:jetty-ee9-security to 12.0.36 or later.
Upgrade org.eclipse.jetty:jetty-security to 12.1.10 or later.
Upgrade org.eclipse.jetty.ee8:jetty-ee8-security to 12.1.10 or later.
Upgrade org.eclipse.jetty.ee9:jetty-ee9-security to 12.1.10 or later.
References
- Vendor advisory github.com/jetty/jetty.project/security/adviso…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.