What’s Vulnerable › Vulnerabilities
CVE-2021-3820: Inefficient Regular Expression Complexity in pksunkara/inflect
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-09-27 · updated 2026-06-17
- Weakness: CWE-1333
Description
inflect is vulnerable to Inefficient Regular Expression Complexity
Affected products
- pksunkara/inflect: before 0.3.7 — fixed in 0.3.7
- Npm I: before 0.3.7 — fixed in 0.3.7
How to fix
Upgrade to a fixed version: pksunkara/inflect 0.3.7; Npm I 0.3.7. Check the vendor advisory for mitigations.
References
- https://github.com/pksunkara/inflect/commit/a9a0a8e9561c3487854c7cae42565d9652ec858b
- https://huntr.dev/bounties/4612b31a-072b-4f61-a916-c7e4cbc2042a
- https://github.com/pksunkara/inflect/commit/a9a0a8e9561c3487854c7cae42565d9652ec858b
- https://huntr.dev/bounties/4612b31a-072b-4f61-a916-c7e4cbc2042a
Get alerted when CVE-2021-3820 or the next vulnerability affects your stack