CVE-2019-18841
HIGH7.3EPSS 0.62%Prototype Pollution in chartkick
Published: 12/2/2019Modified: 12/4/2024
Also known as:GHSA-5pm8-492c-92p5
Description
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. ## Recommendation Upgrade to version 3.2.0 or later.
Affected packages (2)
- npm/chartkick>= 3.1.0, < 3.2.0
- RubyGems/chartkickfrom 0, < 3.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-18841
- WEBhttps://chartkick.com
- WEBhttps://github.com/ankane/chartkick/blob/master/CHANGELOG.md
- WEBhttps://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa
- WEBhttps://github.com/ankane/chartkick/commits/master
- WEBhttps://github.com/ankane/chartkick.js/issues/117
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/chartkick/CVE-2019-18841.yml
- WEBhttps://rubygems.org/gems/chartkick