{"id":"GHSA-5pm8-492c-92p5","summary":"Prototype Pollution in chartkick","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.","aliases":["CVE-2019-18841"],"modified":"2024-12-04T05:31:46.722797Z","published":"2019-12-02T18:04:11Z","database_specific":{"nvd_published_at":"2019-11-11T01:15:00Z","cwe_ids":[],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2019-11-27T02:43:23Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18841"},{"type":"WEB","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"}],"affected":[{"package":{"name":"chartkick","ecosystem":"RubyGems","purl":"pkg:gem/chartkick"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.5.0","1.5.1","1.5.2","2.0.0","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2","2.1.3","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","3.0.0","3.0.1","3.0.2","3.1.0","3.2.0","3.2.1","3.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/12/GHSA-5pm8-492c-92p5/GHSA-5pm8-492c-92p5.json"}},{"package":{"name":"chartkick","ecosystem":"npm","purl":"pkg:npm/chartkick"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.1.0"},{"fixed":"3.2.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 3.1.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/12/GHSA-5pm8-492c-92p5/GHSA-5pm8-492c-92p5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}