原始 OSV JSON{
"id": "GHSA-5pm8-492c-92p5",
"aliases": [
"CVE-2019-18841"
],
"details": "Affected versions of `@polymer/polymer` are vulnerable to prototype pollution. The package fails to prevent modification of object prototypes through chart options containing a payload such as `{\"__proto__\": {\"polluted\": true}}`. It is possible to achieve the same results if a chart loads data from a malicious server.\n\n\n## Recommendation\n\nUpgrade to version 3.2.0 or later.",
"summary": "Prototype Pollution in chartkick",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.0"
}
]
}
],
"package": {
"name": "chartkick",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.1.0"
},
{
"fixed": "3.2.0"
}
]
}
],
"package": {
"name": "chartkick",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "<= 3.1.3"
}
}
],
"modified": "2023-01-26T20:23:44Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"published": "2019-12-02T18:04:11Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-18841",
"type": "ADVISORY"
},
{
"url": "https://github.com/ankane/chartkick.js/issues/117",
"type": "WEB"
},
{
"url": "https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa",
"type": "WEB"
},
{
"url": "https://chartkick.com",
"type": "WEB"
},
{
"url": "https://github.com/ankane/chartkick/blob/master/CHANGELOG.md",
"type": "WEB"
},
{
"url": "https://github.com/ankane/chartkick/commits/master",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/chartkick/CVE-2019-18841.yml",
"type": "WEB"
},
{
"url": "https://rubygems.org/gems/chartkick",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2019-11-11T01:15:00Z",
"github_reviewed_at": "2019-11-27T02:43:23Z"
}
}