CVE-2021-40895
HIGHCVSS 7.5/10EPSS 0.98%
Last modified
CVE-2021-40895 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in todo-regex v0.1.1 when matching crafted invalid TODO statements.. EPSS estimates a 0.98% chance of exploitation in the next 30 days.
Description
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in todo-regex v0.1.1 when matching crafted invalid TODO statements.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Todo-Regex Project | Todo-Regex | 0.1.1 |
References
- https://github.com/yetingli/SaveResults/blob/main/js/todo-regex.jsExploit, Third Party Advisory
- https://github.com/yetingli/SaveResults/blob/main/js/todo-regex.jsExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-40895?
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in todo-regex v0.1.1 when matching crafted invalid TODO statements.
How severe is CVE-2021-40895?
CVE-2021-40895 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 0.98% probability of exploitation in the next 30 days.
How do I fix CVE-2021-40895?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
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 2021
- CVE-2021-40888Projectsend version r1295 is affected by Cross Site Scriptin…5.4
- CVE-2021-40889CMSUno version 1.7.2 is affected by a PHP code execution vul…9.8
- CVE-2021-4089snipe-it is vulnerable to Improper Access Control4.3
- CVE-2021-40892A Regular Expression Denial of Service (ReDOS) vulnerability…7.5
- CVE-2021-40893A Regular Expression Denial of Service (ReDOS) vulnerability…7.5
- CVE-2021-40894A Regular Expression Denial of Service (ReDOS) vulnerability…7.5
- CVE-2021-40896A Regular Expression Denial of Service (ReDOS) vulnerability…7.5
- CVE-2021-40897A Regular Expression Denial of Service (ReDOS) vulnerability…7.5
- CVE-2021-40898A Regular Expression Denial of Service (ReDOS) vulnerability…7.5
- CVE-2021-40899A Regular Expression Denial of Service (ReDOS) vulnerability…7.5
- CVE-2021-4090An out-of-bounds (OOB) memory write flaw was found in the NF…7.1
- CVE-2021-40900A Regular Expression Denial of Service (ReDOS) vulnerability…7.5
Are you affected by CVE-2021-40895?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
