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 supports a charset parameters that defaults to UTF-8 that allows for correct encoding/decoding of passwords.
The product does not properly handle when an input uses an alternate encoding that is valid for the control sphere to which the input is being sent.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Jetty | Eclipse | 9.4.0 (including) | 9.4.63 (excluding) |
| Jetty | Eclipse | 10.0.0 (including) | 10.0.31 (excluding) |
| Jetty | Eclipse | 11.0.0 (including) | 11.0.31 (excluding) |
| Jetty | Eclipse | 12.0.0 (including) | 12.0.36 (excluding) |
| Jetty | Eclipse | 12.1.0 (including) | 12.1.10 (excluding) |
| Red Hat AMQ Broker 7.13.6 | RedHat | jetty-security | * |
| Red Hat AMQ Broker 7.14.1 | RedHat | jetty-security | * |
| Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16 | RedHat | jetty-security | * |
| Red Hat Build of Debezium 3.6 | RedHat | * | |
| OpenShift Developer Tools and Services 4.12 | RedHat | ocp-tools-4/jenkins-rhel8:1792044326 | * |
| OpenShift Developer Tools and Services 4.13 | RedHat | ocp-tools-4/jenkins-rhel8:1792044327 | * |
| OpenShift Developer Tools and Services 4.14 | RedHat | ocp-tools-4/jenkins-rhel8:1792044382 | * |
| OpenShift Developer Tools and Services 4.15 | RedHat | ocp-tools-4/jenkins-rhel8:1792044386 | * |
| OpenShift Developer Tools and Services 4.16 | RedHat | ocp-tools-4/jenkins-rhel9:1792040287 | * |
| OpenShift Developer Tools and Services 4.17 | RedHat | ocp-tools-4/jenkins-rhel9:1792040131 | * |
| OpenShift Developer Tools and Services 4.18 | RedHat | ocp-tools-4/jenkins-rhel9:1792041514 | * |
| OpenShift Developer Tools and Services 4.19 | RedHat | ocp-tools-4/jenkins-rhel9:1792040733 | * |
| OpenShift Developer Tools and Services 4.20 | RedHat | ocp-tools-4/jenkins-rhel9:1792040081 | * |
| OpenShift Developer Tools and Services 4.21 | RedHat | ocp-tools-4/jenkins-rhel9:1792040096 | * |
| OpenShift Developer Tools and Services 4.22 | RedHat | ocp-tools-4/jenkins-rhel9:1792040428 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-th06-cpu-torch210-py312-rhel9:1791874335 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-th06-cuda130-torch210-py312-rhel9:1791961113 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-th06-rocm64-torch291-py312-rhel9:1791872119 | * |
| Red Hat OpenShift Dev Spaces 3.30 | RedHat | devspaces/openvsx-rhel9:1787759145 | * |
| Red Hat OpenShift Dev Spaces 3.30 | RedHat | devspaces/pluginregistry-rhel9:1787759723 | * |