CVE-2021-23406 json
Remote Code Execution (RCE)
published 2021-08-24 5 y ago modified 2026-06-17 4 mo ago also GHSA-9j49-mfvp-vmhm , EUVD-2021-2025
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm pac-resolver 5.0.0
- npm degenerator 3.0.1
- n/a pac-resolver 5.0.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-23406 updated cvss 8.1
nodejs-pac-resolver: remote code execution when used with untrusted input due to unsafe PAC file handling
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/application-ui-rhel8affected: no fix available “Fix deferred”
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-rhel8, rhacm2/mcm-topology-rhel8, rhacm2/console-header-rhel8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.94% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | pac-resolver | <5.0.0 |
5.0.0 |
| npm | degenerator | <3.0.1 |
3.0.1 |
Affected products
- n/a pac-resolver
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/TooTallNate/node-degenerator/commit/ccc3445354135398b6eb1a04c7d27c13b833f2d5
web, patch, third-party-advisory
-
github.com
/TooTallNate/node-degenerator/commit/9d25bb67d957bc2e5425fea7bf7a58b3fc64ff9e
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-PACRESOLVER-1564857
web, exploit, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1568506
web, exploit, patch, third-party-advisory
-
github.com
/TooTallNate/node-pac-resolver/releases/tag/5.0.0
web, patch, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23406
advisory
-
github.com
/TooTallNate
web
Sources
- CVE List CVE-2021-23406
- GitHub Advisory GHSA-9j49-mfvp-vmhm
- NVD CVE-2021-23406
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.