CVE-2017-1001004 json
Arbitrary JavaScript Execution in typed-function
published 2017-11-27 8 y ago modified 2026-06-17 4 mo ago also GHSA-3qh4-r86r-grvm , EUVD-2020-0712
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
typed-function before 0.10.6 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.
Patch / fix
- npm typed-function 0.10.6
- typed_function_project typed_function 0.10.6
Exploit prediction
1.88% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | typed-function | <0.10.6 |
0.10.6 |
Affected products
- typed-function typed-function
Classification
References
-
github.com
/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe
web
-
github.com
/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe?diff=split#diff-9e1f22c2954a38db1fdf
web
-
github.com
/josdejong/typed-function/blob/master/HISTORY.md#2017-11-18-version-0106
web
-
nvd.nist.gov
/vuln/detail/CVE-2017-1001004
advisory
-
snyk.io
/vuln/SNYK-JS-TYPEDFUNCTION-174139
web
-
npmjs.com
/advisories/819
web
Sources
- CVE List CVE-2017-1001004
- GitHub Advisory GHSA-3qh4-r86r-grvm
- NVD CVE-2017-1001004
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.