Lookup for vulnerable packages by Package URL.
| Purl | pkg:pypi/transformers@4.49.0 |
| Type | pypi |
| Namespace | |
| Name | transformers |
| Version | 4.49.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | false |
| Next_non_vulnerable_version | 4.49.0 |
| Latest_non_vulnerable_version | 4.53.0 |
| Affected_by_vulnerabilities |
|
| Fixing_vulnerabilities |
| 0 |
| url |
VCID-7chd-q1tt-7fck |
| vulnerability_id |
VCID-7chd-q1tt-7fck |
| summary |
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. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2025-2099, PYSEC-2025-40
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-7chd-q1tt-7fck |
|
|
| Risk_score | null |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:pypi/transformers@4.49.0 |