High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-1001004
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:48 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-1001004
Complete source record
{
"id": "c625a8e957cd556245b6707c5ac34d0268e1fb5d5edbe103d63e5b773a419f4b",
"url": "https://osv.dev/vulnerability/CVE-2017-1001004",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-1001004",
"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.",
"evidence": "osv:CVE-2017-1001004",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-1001004",
"aliases": [
"CVE-2017-1001004",
"GHSA-3qh4-r86r-grvm"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/josdejong/typed-function",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "3dab82ee255af173e295ddfb70e2646723d7917a"
},
{
"fixed": "6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:typed_function_project:typed_function:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.10.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.10.5",
"v0.10.4",
"v0.10.3",
"v0.10.2",
"v0.10.1",
"v0.10.0",
"v0.9.0",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.6.3",
"v0.8.0",
"v0.7.0",
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.3.1",
"v0.3.0",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1001004.json"
}
}
],
"modified": "2026-10-20T10:48:01.140899179Z",
"provider": "osv",
"references": [
"https://github.com/josdejong/typed-function/blob/master/HISTORY.md#2017-11-18-version-0106",
"https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-1001004",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379937,
"published_at": "2017-11-27T14:29:00.333+00:00"
}