fastify versions before 5.12.2 treat the object resolved by a successful Ajv async validator as the value result protocol used by custom validator compilers. If a request that passes its route schema contains a property named value at the root, fastify replaces the entire request body with that propertys value before the handler runs, so the handler receives a different object than the one that satisfied the schema. An authenticated low-privilege caller can use this to make nested data replace the validated body and trigger an operation the route schema did not authorize, leading to unauthorized state changes and data disclosure. 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.