VDB
Sign up
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 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.

## Recommendation

Upgrade to version 3.2.0 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/chartkick
Introduced in: 0Fixed in: 3.3.0
Fixbundle update chartkick
npm/chartkick
Introduced in: 3.1.0Fixed in: 3.2.0
Fixnpm install chartkick@3.2.0

References