CVE-2021-23406
Remote Code Execution (RCE)
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
Remote Code Execution (RCE)
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.
- Record
CVE-2021-23406- 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 - Updated
- 2026-11-02
EUVDEUVD-2021-2025
8.1
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.
- Record
EUVD-2021-2025- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9j49-mfvp-vmhm
8.1
Code 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.
- Record
GHSA-9j49-mfvp-vmhm- 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 - Weakness
- CWE-94
- Updated
- 2026-11-02
NVD
8.1
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.
- Record
CVE-2021-23406- 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 - 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 - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2021-23406- 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 - Updated
- 2026-11-02
OSVGHSA-9j49-mfvp-vmhm
8.1
Code 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.
- Record
GHSA-9j49-mfvp-vmhm- 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 - Weakness
- CWE-94
- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2021-23406
9.8
CVE-2021-23406 in pac-resolver - Patched by Root
Root has patched CVE-2021-23406 in the pac-resolver package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2021-23406- 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 - Updated
- 2026-11-06
OSVCLSA-2026-1790104586 No score
TuxCare security update for pac-resolver (1 CVE)
TuxCare rebuilt pac-resolver to address 1 CVE. Fixed in 4.2.0-tuxcare.1.
- Record
CLSA-2026-1790104586- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pac-resolvernpm |
before 5.0.0 | 5.0.0 |
degeneratornpm |
before 3.0.1 | 3.0.1 |
pac-resolverTuxCare:npm |
4.2.0-tuxcare.0 up to 4.2.0-tuxcare.1, plus listed versions 4.2.0 |
4.2.0-tuxcare.1 |
pac-resolverRoot:npm |
before 3.0.0-aikido.1 | 3.0.0-aikido.1 |
@rootio/pac-resolverRoot:npm |
before 3.0.0-root.io.1 | 3.0.0-root.io.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, facts | OSV | |
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-23406 is a high vulnerability (CVSS 8.1) in Pac-resolver Project Pac-resolver, published August 24, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.94%, the 87th percentile. Fixed in pac-resolver 5.0.0.
References
snyk.io/vuln/SNYK-JS-PACRESOLVER-1564857
snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1568506
github.com/TooTallNate/node-degenerator/commit/ccc3445354135398b6eb1a04c7d27c13b833f2d5
github.com/TooTallNate/node-degenerator/commit/9d25bb67d957bc2e5425fea7bf7a58b3fc64ff9e
github.com/TooTallNate/node-pac-resolver/releases/tag/5.0.0
nvd.nist.gov/vuln/detail/CVE-2021-23406
github.com/advisories/GHSA-9j49-mfvp-vmhm
github.com/TooTallNate