GitHub Advisoryadvisory · RubyGems, npm

GHSA-5pm8-492c-92p5 Prototype Pollution in chartkick

HIGH Published 2019-12-02 Modified 2023-01-26 Official page ↗
Aliases
CVE-2019-18841
Ecosystem
RubyGems, npm
Packages
chartkick
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Reviewed
2019-11-27

Affected packages

• RubyGems chartkick: < 3.3.0 → fixed in 3.3.0 • npm chartkick: >= 3.1.0, < 3.2.0 → fixed in 3.2.0

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.

Related

Alias · CVE (1)

  • CVE-2019-18841 Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution. vulnerability

References