← Übersicht Red Hat Enterprise Linux

Quadratic time unique_items list validation in Pydantic V1

CVE-2026-133422

Mittel · CVSS 6.9 Red Hat: Moderate Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
20.11.2026 08:33
Zuletzt geändert
20.11.2026
EPSS (30 Tage)
unbekannt
CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

Validating an untrusted list into a field constrained with unique_items=True with Pydantic V1 takes quadratic time: an input of a few hundred kilobytes takes seconds to validate. The ConstrainedList.unique_items_validator validator (in pydantic/types.py) checks each item against all the following ones. For a list with no duplicates (the common, valid case), this results in a quadratic number of comparisons. The issue was fixed in commit 6ec75e57f277a820ec583e601167f25fe8dc7c87. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later. Impact: denial of service through validation of untrusted input. Affected are applications validating untrusted lists into fields constrained with unique_items=True (using conlist() or Field()). The fix only applies to lists of builtin scalar types (int, float, str, bytes, bool and None), for which duplicates can be detected in linear time. Lists of other types (e.g. models or dictionaries) are still checked in quadratic time, as their items aren't guaranteed to be hashable: bound their size using the max_items constraint. Pydantic V2 models are not affected.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 18 betroffen.

Ansible Automation Orchestrator 2026 BetroffenFix zurückgestellt ansible-automation-platform/automation-orchestrator-backend-rhel9, ansible-automation-platform/automation-orchestrator-execution-plane-rhel9
Exploit Intelligence BetroffenFix zurückgestellt exploit-intelligence/vulnerability-analysis-rhel9
Lightspeed Core BetroffenFix zurückgestellt lightspeed-core/lightspeed-stack-rhel9, lightspeed-core/rag-tool-cpu-rhel9, lightspeed-core/rag-tool-cuda-12.9-rhel9
Lightspeed Services for Advanced Cluster Management BetroffenFix zurückgestellt lightspeed-services-acm/ocp-rules-rhel9
Migration Toolkit for Applications 8 BetroffenFix zurückgestellt mta/mta-solution-server-rhel9
OpenShift Lightspeed BetroffenFix zurückgestellt openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9, openshift-lightspeed/lightspeed-agentic-sandbox-rhel9, openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9
Red Hat AI Inference Server BetroffenFix zurückgestellt rhaii-fast/model-opt-cuda-rhel9, rhaii-fast/vllm-cpu-rhel9, rhaii-fast/vllm-cuda-rhel9, rhaii-fast/vllm-gaudi-rhel9, rhaii-fast/vllm-neuron-rhel9, rhaii-fast/vllm-omni-cuda-rhel9, rhaii-fast/vllm-rocm-rhel9, rhaii-fast/vllm-spyre-rhel9, rhaii-fast/vllm-tpu-rhel9, rhaii/model-opt-cuda-rhel9, rhaii/vllm-cpu-rhel9, rhaii/vllm-cuda-rhel9, rhaii/vllm-gaudi-rhel9, rhaii/vllm-neuron-rhel9, rhaii/vllm-rocm-rhel9, rhaii/vllm-spyre-rhel9, rhaii/vllm-tpu-rhel9
Red Hat Ansible Automation Platform 2 BetroffenFix zurückgestellt ansible-automation-platform-24/controller-rhel8, ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/controller-rhel8, ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-25/lightspeed-rhel8, ansible-automation-platform-26/controller-rhel9, ansible-automation-platform-26/eda-controller-rhel9, ansible-automation-platform-26/ee-supported-rhel9, ansible-automation-platform-26/lightspeed-chatbot-rhel9, ansible-automation-platform-26/lightspeed-rhel9, ansible-automation-platform-26/mcp-tools-rhel9, ansible-automation-platform-27/eda-controller-rhel9, ansible-automation-platform-27/ee-supported-rhel9, ansible-automation-platform-27/hub-rhel9, ansible-automation-platform-27/lightspeed-chatbot-rhel9, ansible-automation-platform-27/lightspeed-rhel9, ansible-automation-platform-27/mcp-tools-rhel9, ansible-automation-platform/automation-dashboard-rhel9, automation-controller, python-pydantic, python3.11-pydantic, python3.12-pydantic, python3x-pydantic
Red Hat Discovery 2 BetroffenFix zurückgestellt discovery/discovery-server-rhel9
Red Hat Enterprise Linux 10 BetroffenFix zurückgestellt linux-mcp-server, rhel10/mcp-server-for-rhel
Red Hat Enterprise Linux 9 BetroffenFix zurückgestellt linux-mcp-server
Red Hat Enterprise Linux AI (RHEL AI) 3 BetroffenFix zurückgestellt rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, rhelai3/bootc-azure-rocm-rhel9, rhelai3/bootc-cuda-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/disk-image-cuda-rhel9
Red Hat Enterprise Linux command line assistant BetroffenFix zurückgestellt rhel-cla/installer-rhel10, rhel-cla/rhel-knowledge-bridge-rhel10
Red Hat OpenShift AI (RHOAI) BetroffenFix zurückgestellt rhai/guidellm-rhel9, rhoai/odh-automl-rhel9, rhoai/odh-autorag-rhel9, rhoai/odh-built-in-detector-rhel9, rhoai/odh-caikit-nlp-rhel9, rhoai/odh-caikit-tgis-serving-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-guardrails-detector-huggingface-runtime-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-autogluon-server-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-latency-predictor-prediction-rhel9, rhoai/odh-latency-predictor-training-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-llm-d-kv-cache-rhel9, rhoai/odh-ml-pipelines-runtime-generic-rhel9, rhoai/odh-mlflow-rhel9, rhoai/odh-mlserver-cuda-rhel9, rhoai/odh-mlserver-rhel9, rhoai/odh-model-registry-job-async-upload-rhel9, rhoai/odh-ogx-core-rhel9, rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9 und 33 weitere
Red Hat OpenShift Virtualization 4 BetroffenFix zurückgestellt container-native-virtualization/ocp-virt-validation-checkup-rhel9
Red Hat OpenShift Virtualization 5 BetroffenFix zurückgestellt container-native-virtualization/ocp-virt-validation-checkup-rhel9
Red Hat Satellite 6 BetroffenFix zurückgestellt python3.12-pydantic, satellite/foreman-mcp-server-rhel9, satellite/iop-advisor-backend-rhel9, satellite/iop-advisor-engine-rhel9
Red Hat Trusted Artifact Signer BetroffenFix zurückgestellt rhtas/model-transparency-rhel9, rhtas/rh-sigstore-a2a-rhel9

Betroffene Pakete im beobachteten Stack

Red Hat:ansible_automation_platform:2automation-controllerkein Fix bekanntCVE-2026-133422
Red Hat:ansible_automation_platform:2python-pydantickein Fix bekanntCVE-2026-133422
Red Hat:ansible_automation_platform:2python3.11-pydantickein Fix bekanntCVE-2026-133422
Red Hat:ansible_automation_platform:2python3.12-pydantickein Fix bekanntCVE-2026-133422
Red Hat:ansible_automation_platform:2python3x-pydantickein Fix bekanntCVE-2026-133422
Red Hat:enterprise_linux:10linux-mcp-serverkein Fix bekanntCVE-2026-133422
Red Hat:enterprise_linux:9linux-mcp-serverkein Fix bekanntCVE-2026-133422
Red Hat:satellite:6python3.12-pydantickein Fix bekanntCVE-2026-133422
Weitere betroffene Pakete (1)
CVEpydantic/pydantickein Fix bekanntCVE-2026-133422

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.