p PatchFirst

CVE-2026-133421

CVE-2026-133421 · Quadratic time timedelta validation in Pydantic V1

CVSS 6.9 · Mittel · EPSS 0,5% · Korrektur verfügbar

Vergleichen Sie mit Ihrer installierten Version

Betroffene Produkte und bekannte korrigierte Versionen sind öffentlich. Vergleichen Sie diese mit Ihrer installierten Version.

  • pydanticKeine Korrektur veröffentlicht
  • pydantic Debian 12Keine Korrektur veröffentlicht
  • pydantic Debian 13Auf 2.4.2-1 aktualisieren
  • pydantic Debian 14Auf 2.4.2-1 aktualisieren
  • und 3 weitere

Installierte Version prüfen:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pydantic"'

Bewerten Sie die Risiken Ihres Servers

Die kostenlose Prüfung liefert ohne Registrierung eine Bewertung und eine Risikoübersicht nach Technologie-Stacks. Sie beantwortet nicht, ob diese einzelne Schwachstelle Sie betrifft.

Die Überwachung gleicht öffentliche Informationen mit der Software Ihrer Server ab. Sie erhalten detaillierte Funde und eine Reihenfolge für Updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Server kostenlos prüfen →

Kanäle bieten allgemeine Nachrichten zu Technologien; neue Funde auf Ihren Servern meldet die Überwachung im Dashboard, per Browser-Benachrichtigung, in Telegram oder über einen Webhook.

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an input of a few dozen kilobytes takes seconds to validate.

The iso8601_duration_re regular expression used to parse ISO 8601 durations (in pydantic/datetime_parse.py) contains an unescaped ".", which also matches digits. On a string of digits, the repeated groups overlap and the regex engine backtracks in quadratic time.

The issue was fixed in commit 62791e66a9f8f118e465ed760c9e2ede9ae3055e. 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 strings into timedelta fields.

Veröffentlicht
Aktualisiert

Technologie-Stack: system

Betroffene Produkte und Versionen

  • pydantic

    Softwareversionen
    • ≥ 0, ≤ 1.10.26: Betroffen (python)

    Keine Korrektur veröffentlicht

  • pydantic Debian 12

    Softwareversionen
    • 1.10.13-0.1
    • 1.10.14-1
    • 1.10.17-1
    • 1.10.4-1
    • 1.10.4-1+deb12u1
    • 2.10.1-1
    Alle Versionen (36)
    • 2.10.2-1
    • 2.10.3-1
    • 2.10.4-1
    • 2.10.4-2
    • 2.10.5-1
    • 2.10.6-1
    • 2.10.6-2
    • 2.12.0~a1-1
    • 2.12.2-1
    • 2.12.3-1
    • 2.12.3-2
    • 2.12.4-1
    • 2.12.5-1
    • 2.12.5-2
    • 2.13.3-1
    • 2.13.4-1
    • 2.13.4-3
    • 2.13.4-4
    • 2.13.5-1
    • 2.13.5-2
    • 2.14.0-1
    • 2.14.1-1
    • 2.4.2-1
    • 2.4.2-2
    • 2.4.2-3
    • 2.8.2-1
    • 2.9.1-1
    • 2.9.1-2
    • 2.9.2-1
    • 2.9.2-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • pydantic Debian 13

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.4.2-1

    Auf 2.4.2-1 aktualisieren

  • pydantic Debian 14

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.4.2-1

    Auf 2.4.2-1 aktualisieren

  • pydantic Ubuntu Pro 20.04 LTS

    Softwareversionen
    • 0.30.1-1
    • 1.2-1
    • 1.2-1ubuntu0.1~esm1
    • 1.2-1ubuntu0.1~esm3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • pydantic Ubuntu Pro 22.04 LTS

    Softwareversionen
    • 1.7.4-1
    • 1.8.2-1
    • 1.8.2-1ubuntu0.1~esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • pydantic Ubuntu 24.04 LTS

    Softwareversionen
    • 1.10.4-1ubuntu1
    • 1.10.13-0ubuntu1
    • 1.10.14-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →