~ / search / GHSA-5pm8-492c-92p5

GHSA-5pm8-492c-92p5

Prototype Pollution in chartkick

Source: GitHub Advisory Database (reviewed) High CVE-2019-18841

Packages

EcosystemPackageAffectedFixed in
RubyGems chartkick < 3.3.0 3.3.0
npm chartkick >= 3.1.0, < 3.2.0 3.2.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.