# CVE-2021-23406: Remote Code Execution (RCE)

- Severity: High 8.1 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- 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): 2.94%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-08-24T07:45:13.637Z
- Modified: 2026-06-17T03:38:42.293Z
- Also known as: GHSA-9j49-mfvp-vmhm
- Weaknesses: CWE-94
- Assigned by: snyk

## Description

This affects the package pac-resolver before 5.0.0. This can occur when used with untrusted input, due to unsafe PAC file handling. **NOTE:** The fix for this vulnerability is applied in the node-degenerator library, a dependency written by the same maintainer.

(As written by CVE List.)

## Affected

- pac-resolver: from unspecified before 5.0.0
- pac-resolver (npm): before 5.0.0
- degenerator (npm): before 3.0.1
- pac-resolver_project pac-resolver: before 5.0.0

## Every score

- snyk: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-PACRESOLVER-1564857> (exploit, patch, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1568506> (exploit, patch, third-party-advisory, web)
- <https://github.com/TooTallNate/node-degenerator/commit/ccc3445354135398b6eb1a04c7d27c13b833f2d5> (patch, third-party-advisory, web)
- <https://github.com/TooTallNate/node-degenerator/commit/9d25bb67d957bc2e5425fea7bf7a58b3fc64ff9e> (patch, third-party-advisory, web)
- <https://github.com/TooTallNate/node-pac-resolver/releases/tag/5.0.0> (patch, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23406> (advisory)
- <https://github.com/TooTallNate> (web)

## Sources

- CVE List: [CVE-2021-23406](https://www.cve.org/CVERecord?id=CVE-2021-23406), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-9j49-mfvp-vmhm](https://github.com/advisories/GHSA-9j49-mfvp-vmhm), CC-BY-4.0, modified 2025-01-14
- NVD: [CVE-2021-23406](https://nvd.nist.gov/vuln/detail/CVE-2021-23406), Public domain, modified 2026-06-17

---

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