原始 OSV JSON{
"id": "GHSA-3qh4-r86r-grvm",
"aliases": [
"CVE-2017-1001004"
],
"details": "Versions of `typed-function` prior to 0.10.6 are vulnerable to Arbitrary JavaScript Execution. Function names are not properly sanitized and may allow an attacker to execute arbitrary code.\n\n\n## Recommendation\n\nUpgrade to version 0.10.6 or later.",
"summary": "Arbitrary JavaScript Execution in typed-function",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.10.6"
}
]
}
],
"package": {
"name": "typed-function",
"ecosystem": "npm"
}
}
],
"modified": "2020-08-31T18:36:57Z",
"severity": [],
"published": "2020-09-02T18:24:39Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1001004",
"type": "ADVISORY"
},
{
"url": "https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe",
"type": "WEB"
},
{
"url": "https://github.com/josdejong/typed-function/commit/6478ef4f2c3f3c2d9f2c820e2db4b4ba3425e6fe?diff=split#diff-9e1f22c2954a38db1fdf444dbc74e0a8",
"type": "WEB"
},
{
"url": "https://github.com/josdejong/typed-function/blob/master/HISTORY.md#2017-11-18-version-0106",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-TYPEDFUNCTION-174139",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/819",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-31T18:36:57Z"
}
}