CVE-2024-12720
Last modified
CVE-2024-12720 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file tokenization_nougat_fast.py. The vulnerability occurs in the post_process_single() function, where a regular expression processes specially crafted input. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
Description
A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file tokenization_nougat_fast.py. The vulnerability occurs in the post_process_single() function, where a regular expression processes specially crafted input. The issue stems from the regex exhibiting exponential time complexity under certain conditions, leading to excessive backtracking. This can result in significantly high CPU usage and potential application downtime, effectively creating a Denial of Service (DoS) scenario. The affected version is v4.46.3 (latest).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Huggingface | Transformers | < 4.48.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-12720?
How severe is CVE-2024-12720?
How do I fix CVE-2024-12720?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-12715The Asgard Security Scanner WordPress plugin through 0.7 doe…6.1
- CVE-2024-12716The Simple Basic Contact Form WordPress plugin before 202501…4.8
- CVE-2024-12717The Aklamator INfeed WordPress plugin through 2.0.0 does not…4.8
- CVE-2024-12718Allows modifying some file metadata (e.g. last modified) wit…5.3
- CVE-2024-12719The WordPress File Upload plugin for WordPress is vulnerable…4.3
- CVE-2024-1272Inclusion of Sensitive Information in Source Code vulnerabil…7.5
- CVE-2024-12721The Custom Product Tabs For WooCommerce plugin for WordPress…7.2
- CVE-2024-12722The Twitter Bootstrap Collapse aka Accordian Shortcode WordP…5.4
- CVE-2024-12723The Infility Global WordPress plugin through 2.9.8 does not …6.1
- CVE-2024-12724The WP DeskLite WordPress plugin through 1.0.0 does not san…6.1
- CVE-2024-12725The Clasify Classified Listing WordPress plugin through 1.0.…6.1
- CVE-2024-12726The ClipArt WordPress plugin through 0.2 does not sanitise a…6.1
Are you affected by CVE-2024-12720?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
