fastify versions before 5.12.2 implement the case-insensitive nature of HTTP header names by lowercasing names in a routes header schema before compiling it, but the transformation is incomplete: it lowercases the properties keys and the root-level required array, and does not lowercase the trigger and dependent names inside the JSON Schema Draft 7 dependencies keyword. Because Node stores request header names in lowercase, a canonical-case dependency such as requiring an authentication header whenever a privileged-mode header is present never matches, and the presence assertion is silently skipped. An unauthenticated remote client can therefore send the header that activates a privileged branch while omitting the header the dependency was meant to require, bypassing the conditional check. Users should upgrade to fastify 5.12.2 or later.
The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Fastify | Fastify | * | 5.12.2 (excluding) |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-dashboard-rhel9:1791853525 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-mod-arch-model-registry-rhel9:1791853432 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-dashboard-rhel9:1791861020 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-automl-rhel9:1791861032 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-autorag-rhel9:1791860994 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-eval-hub-rhel9:1791861214 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-gen-ai-rhel9:1791861479 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-maas-rhel9:1791860708 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-mlflow-rhel9:1791861383 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-model-registry-rhel9:1791860918 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-core-bff-rhel9:1791945789 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-dashboard-operator-rhel9:1791947102 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-dashboard-rhel9:1791945160 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-agent-ops-rhel9:1791945066 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-automl-rhel9:1791945173 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-autorag-rhel9:1791945509 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-eval-hub-rhel9:1791946472 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-gen-ai-rhel9:1791944979 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-maas-rhel9:1791945249 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-mlflow-rhel9:1791945636 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-model-registry-rhel9:1791945940 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/dashboard-rhel9:1791945540 | * |
Improperly handled case sensitive data can lead to several possible consequences, including: