fastify versions before 5.12.2 decide whether to compile a request schema based on JavaScript truthiness, but JSON Schema Draft 7 defines the boolean false as a valid schema that rejects every instance. When an application assigns false to a routes body, querystring, params, or headers schema to deny all input, fastify treats it as a missing schema, compiles no validator, and runs the route handler on any request. An unauthenticated remote client can therefore reach a handler that a valid deny-all schema was intended to make unreachable, a complete validation bypass that can lead to unauthorized state changes or execution of disabled operations. Users should upgrade to fastify 5.12.2 or later.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
| 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 | * |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.