CVE-2021-23406
CRITICAL 9.8CVSS 3.1Code Injection in pac-resolver
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.
- Published
- 24 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-9j49-mfvp-vmhm
- Sources
- NVDJSONOSV GHSA-9j49-mfvp-vmhmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pac-resolver_project | pac-resolvercpe:2.3:a:pac-resolver_project:pac-resolver:*:*:*:*:*:node.js:*:* |
< 5.0.0 | 5.0.0 |
| OSV | npm | pac-resolver | < 5.0.0 | 5.0.0 |
| OSV | npm | degenerator | < 3.0.1 | 3.0.1 |
References
- https://github.com/TooTallNate/node-degenerator/commit/9d25bb67d957bc2e5425fea7bf7a58b3fc64ff9e · Patch, Third Party Advisory, WEB
- https://github.com/TooTallNate/node-degenerator/commit/ccc3445354135398b6eb1a04c7d27c13b833f2d5 · 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://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1568506 · Exploit, Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-PACRESOLVER-1564857 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23406 · ADVISORY
- https://github.com/TooTallNate · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 24 Aug 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Sep 2021)