HIGH7.3
GHSA-5pm8-492c-92p5
Prototype Pollution in chartkick
Quick fix
GHSA-5pm8-492c-92p5 — chartkick: upgrade to the fixed version with the command below.
bundle update chartkickDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-18841[ADVISORY]
- https://github.com/ankane/chartkick.js/issues/117[WEB]
- https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa[WEB]
- https://chartkick.com[WEB]
- https://github.com/ankane/chartkick/blob/master/CHANGELOG.md[WEB]
- https://github.com/ankane/chartkick/commits/master[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/chartkick/CVE-2019-18841.yml[WEB]
- https://rubygems.org/gems/chartkick[WEB]