- Veröffentlicht
- 19.05.2025 13:22
- Zuletzt geändert
- 10.06.2026
- EPSS (30 Tage)
- 0.6 %
- CVSS-Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Beschreibung
Originaltext der Quelle, nicht übersetzt.
A vulnerability in the `preprocess_string()` function of the `transformers.testing_utils` module in huggingface/transformers version v4.48.3 allows for a Regular Expression Denial of Service (ReDoS) attack. The regular expression used to process code blocks in docstrings contains nested quantifiers, leading to exponential backtracking when processing input with a large number of newline characters. An attacker can exploit this by providing a specially crafted payload, causing high CPU usage and potential application downtime, effectively resulting in a Denial of Service (DoS) scenario.
Status beim Hersteller
Red Hat stuft seine Produktlinien ein: 2 betroffen, 1 behoben, 6 nicht betroffen.
Red Hat Ansible Automation Platform
Betroffen
Red Hat Enterprise Linux AI (RHEL AI)
BetroffenFix ausstehend
rhelai1/bootc-intel-rhel9, rhelai1/instructlab-intel-rhel9
Red Hat Enterprise Linux AI (RHEL AI)
Betroffenwird nicht behoben
rhelai1/docling-serve-rhel9, rhelai1/ui-rhel9
Red Hat Ansible Automation Platform 2.5 for RHEL 8
Behoben
ansible-automation-platform-25/lightspeed-chatbot-rhel8
RHSA-2025:12791
Nicht betroffen (6)
OpenShift LightspeedNicht betroffenverwundbarer Code nicht enthaltenopenshift-lightspeed-tech-preview/lightspeed-service-api-rhel9
Red Hat Ansible Automation Platform 2Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-25/de-minimal-rhel8, ansible-automation-platform-25/de-minimal-rhel9
Red Hat Ansible Automation Platform 2.5 for RHEL 8Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-25/aap-cloud-billing-rhel8, ansible-automation-platform-25/aap-cloud-billing-rhel8-operator, ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8, ansible-automation-platform-25/aap-cloud-ui-rhel8, ansible-automation-platform-25/aap-cloud-ui-rhel8-operator, ansible-automation-platform-25/aap-must-gather-rhel8, ansible-automation-platform-25/ansible-builder-rhel8, ansible-automation-platform-25/ansible-dev-tools-rhel8, ansible-automation-platform-25/ansible-python-base-rhel8, ansible-automation-platform-25/ansible-python-toolkit-rhel8, ansible-automation-platform-25/controller-rhel8, ansible-automation-platform-25/controller-rhel8-operator, ansible-automation-platform-25/de-minimal-rhel8, ansible-automation-platform-25/de-supported-rhel8, ansible-automation-platform-25/eda-controller-rhel8, ansible-automation-platform-25/eda-controller-rhel8-operator, ansible-automation-platform-25/eda-controller-ui-rhel8, ansible-automation-platform-25/ee-minimal-rhel8, ansible-automation-platform-25/ee-supported-rhel8, ansible-automation-platform-25/gateway-proxy-rhel8, ansible-automation-platform-25/gateway-rhel8, ansible-automation-platform-25/gateway-rhel8-operator, ansible-automation-platform-25/hub-rhel8, ansible-automation-platform-25/hub-rhel8-operator, ansible-automation-platform-25/hub-web-rhel8 und 7 weitere
Red Hat Ansible Automation Platform 2.5 for RHEL 9Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-25/ansible-builder-rhel9, ansible-automation-platform-25/ansible-python-base-rhel9, ansible-automation-platform-25/ansible-python-toolkit-rhel9, ansible-automation-platform-25/de-minimal-rhel9, ansible-automation-platform-25/de-supported-rhel9, ansible-automation-platform-25/ee-cloud-services-rhel9, ansible-automation-platform-25/ee-minimal-rhel9, ansible-automation-platform-25/ee-supported-rhel9
Red Hat Enterprise Linux AI (RHEL AI)Nicht betroffenverwundbarer Code nicht enthaltenrhelai1/bootc-amd-rhel9, rhelai1/bootc-aws-nvidia-rhel9, rhelai1/bootc-azure-amd-rhel9, rhelai1/bootc-azure-nvidia-rhel9, rhelai1/bootc-gcp-nvidia-rhel9, rhelai1/bootc-nvidia-rhel9, rhelai1/instructlab-amd-rhel9, rhelai1/instructlab-nvidia-rhel9
Red Hat OpenShift AI (RHOAI)Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-training-operator-rhel8
Weitere betroffene Pakete (4)
CVEhuggingface/huggingface/transformers4.50.0CVE-2025-2099
NVDhuggingface:transformerskein Fix bekanntCVE-2025-2099
PyPItransformers4.50.0GHSA-qq3j-4f4f-9583
PyPItransformers4.49.0PYSEC-2025-40
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- 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.
Referenzen
- huntr.com/bounties/97b780f3-ffca-424f-ad5d-0e1c57a5bde4
- github.com/huggingface/transformers/commit/8cb522b4190bd556ce51be04942720650b1a3e57
- wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1707.json
- wid.cert-bund.de/portal/wid/securityadvisory
- access.redhat.com/errata/RHSA-2025:12791
- nvd.nist.gov/vuln/detail/CVE-2025-2099
- github.com/huggingface/transformers/pull/36648
- github.com/huggingface/transformers
- github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2025-40.yaml
- github.com/advisories/GHSA-qq3j-4f4f-9583
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-2099.json
- access.redhat.com/security/cve/CVE-2025-2099
- bugzilla.redhat.com/show_bug.cgi
- www.cve.org/CVERecord