# CVE-2021-23392: Regular Expression Denial of Service (ReDoS)

- Severity: Medium 5.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/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.94%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-08T07:45:11.449Z
- Modified: 2026-07-08T06:49:50.117Z
- Also known as: GHSA-39q4-p535-c852, SNYK-JS-LOCUTUS-1090597
- Weaknesses: CWE-400
- Assigned by: snyk

## Description

The package locutus before 2.0.15 are vulnerable to Regular Expression Denial of Service (ReDoS) via the gopher_parsedir function.

(As written by CVE List.)

## Affected

- locutus: from unspecified before 2.0.15
- locutus (npm): before 2.0.15
- locutus locutus: before 2.0.15

## Every score

- snyk: CVSS:3.1 5.3 Medium `CVSS:3.1/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://snyk.io/vuln/SNYK-JS-LOCUTUS-1090597> (exploit, patch, third-party-advisory, web)
- <https://github.com/locutusjs/locutus/pull/446> (patch, third-party-advisory, web)
- <https://github.com/locutusjs/locutus/commit/eb863321990e7e5514aa14f68b8d9978ece9e65e> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23392> (advisory)

## Sources

- CVE List: [CVE-2021-23392](https://www.cve.org/CVERecord?id=CVE-2021-23392), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-39q4-p535-c852](https://github.com/advisories/GHSA-39q4-p535-c852), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-23392](https://nvd.nist.gov/vuln/detail/CVE-2021-23392), Public domain, modified 2026-06-17

---

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