# CVE-2021-3820: Inefficient Regular Expression Complexity in pksunkara/inflect

- Severity: Medium 5.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.22%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-27T12:25:26.000Z
- Modified: 2026-06-17T04:05:50.110Z
- Also known as: GHSA-x55w-vjjp-222r
- Weaknesses: CWE-1333
- Assigned by: @huntrdev

## Description

inflect is vulnerable to Inefficient Regular Expression Complexity

(As written by CVE List.)

## Affected

- pksunkara pksunkara/inflect: from unspecified up to 0.3.6
- i (npm): before 0.3.7
- inflect_project inflect: before 0.3.7

## Every score

- @huntrdev: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://huntr.dev/bounties/4612b31a-072b-4f61-a916-c7e4cbc2042a> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/pksunkara/inflect/commit/a9a0a8e9561c3487854c7cae42565d9652ec858b> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3820> (advisory)
- <https://github.com/pksunkara/inflect> (package)

## Sources

- CVE List: [CVE-2021-3820](https://www.cve.org/CVERecord?id=CVE-2021-3820), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-x55w-vjjp-222r](https://github.com/advisories/GHSA-x55w-vjjp-222r), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3820](https://nvd.nist.gov/vuln/detail/CVE-2021-3820), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3820 · Whole record: https://cve.day/CVE-2021-3820.json · Rebuilt by cve.day 2026-11-25T22:58:04.167Z
