Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/transformers@4.49.0
Typepypi
Namespace
Nametransformers
Version4.49.0
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version4.49.0
Latest_non_vulnerable_version4.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
0
reference_url https://github.com/huggingface/transformers/commit/8cb522b4190bd556ce51be04942720650b1a3e57
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
url https://github.com/huggingface/transformers/commit/8cb522b4190bd556ce51be04942720650b1a3e57
1
reference_url https://huntr.com/bounties/97b780f3-ffca-424f-ad5d-0e1c57a5bde4
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
url https://huntr.com/bounties/97b780f3-ffca-424f-ad5d-0e1c57a5bde4
fixed_packages
0
url pkg:pypi/transformers@4.49.0
purl pkg:pypi/transformers@4.49.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/transformers@4.49.0
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_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/transformers@4.49.0