Vulnerability · Published Aug 24, 2021 · Assigned by snyk
CVE-2021-23406Remote Code Execution (RCE)
High 8.1
In plain English
A high-severity security flaw in pac-resolver. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)2.9%top 12.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | degenerator | 3.0.1 | GHSA-9j49-mfvp-vmhm |
| npm | pac-resolver | 5.0.0 | GHSA-9j49-mfvp-vmhm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | pac-resolver | unspecified – before 5.0.0 |
References
- https://snyk.io/vuln/SNYK-JS-PACRESOLVER-1564857 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1568506 x_refsource_MISC
- https://github.com/TooTallNate/node-degenerator/commit/ccc3445354135398b6eb1a04c7d27c13b833f2d5 x_refsource_MISC
- https://github.com/TooTallNate/node-degenerator/commit/9d25bb67d957bc2e5425fea7bf7a58b3fc64ff9e x_refsource_MISC
- https://github.com/TooTallNate/node-pac-resolver/releases/tag/5.0.0 x_refsource_MISC