Advisory

GHSA-5pm8-492c-92p5

Also known as: CVE-2019-18841

Summary

Prototype Pollution in 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-12-02 18:04 UTC
Modified
2024-12-04 05:31 UTC

Affected packages and fixes

chartkick

RubyGems · All systems

Affected

  • introduced 0, fixed 3.3.0 (ecosystem)

Fixed versions

3.3.0

Fix

The export has no generic command for this ecosystem.

chartkick

npm · All systems

Affected

  • introduced 3.1.0, fixed 3.2.0 (semver)

Fixed versions

3.2.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences