GSD-2019-18841

Vulnerability from gsd - Updated: 2019-11-09 00:00
Details
A specially crafted response in data loaded via URL can cause prototype pollution in JavaScript.
Aliases

{
  "GSD": {
    "alias": "CVE-2019-18841",
    "description": "Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution.",
    "id": "GSD-2019-18841"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "chartkick",
            "purl": "pkg:gem/chartkick"
          }
        }
      ],
      "aliases": [
        "CVE-2019-18841",
        "GHSA-5pm8-492c-92p5"
      ],
      "details": "A specially crafted response in data loaded via URL\ncan cause prototype pollution in JavaScript.\n",
      "id": "GSD-2019-18841",
      "modified": "2019-11-09T00:00:00.000Z",
      "published": "2019-11-09T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/ankane/chartkick.js/issues/117"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 7.3,
          "type": "CVSS_V3"
        }
      ],
      "summary": "Prototype Pollution in Chartkick.js 3.1.x"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2019-18841",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://rubygems.org/gems/chartkick/",
            "refsource": "MISC",
            "url": "https://rubygems.org/gems/chartkick/"
          },
          {
            "name": "https://github.com/ankane/chartkick/commits/master",
            "refsource": "MISC",
            "url": "https://github.com/ankane/chartkick/commits/master"
          },
          {
            "name": "https://chartkick.com",
            "refsource": "MISC",
            "url": "https://chartkick.com"
          },
          {
            "name": "https://github.com/ankane/chartkick/blob/master/CHANGELOG.md",
            "refsource": "MISC",
            "url": "https://github.com/ankane/chartkick/blob/master/CHANGELOG.md"
          },
          {
            "name": "https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa",
            "refsource": "CONFIRM",
            "url": "https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa"
          },
          {
            "name": "https://github.com/ankane/chartkick.js/issues/117",
            "refsource": "MISC",
            "url": "https://github.com/ankane/chartkick.js/issues/117"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2019-18841",
      "cvss_v3": 7.3,
      "date": "2019-11-09",
      "description": "A specially crafted response in data loaded via URL\ncan cause prototype pollution in JavaScript.\n",
      "gem": "chartkick",
      "ghsa": "5pm8-492c-92p5",
      "patched_versions": [
        "\u003e= 3.3.0"
      ],
      "title": "Prototype Pollution in Chartkick.js 3.1.x",
      "unaffected_versions": [
        "\u003c 3.1.0"
      ],
      "url": "https://github.com/ankane/chartkick.js/issues/117"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=3.1.0 \u003c=3.1.3",
          "affected_versions": "All versions starting from 3.1.0 up to 3.1.3",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2020-08-24",
          "description": "Chartkick.js, as used in the Chartkick gem for Ruby, allows prototype pollution.",
          "fixed_versions": [
            "3.2.0"
          ],
          "identifier": "CVE-2019-18841",
          "identifiers": [
            "CVE-2019-18841"
          ],
          "not_impacted": "All versions before 3.1.0, all versions after 3.1.3",
          "package_slug": "gem/chartkick",
          "pubdate": "2019-11-11",
          "solution": "Upgrade to version 3.2.0 or above.",
          "title": "Prototype Pollution",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2019-18841",
            "https://chartkick.com",
            "https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa",
            "https://rubygems.org/gems/chartkick/",
            "https://github.com/ankane/chartkick/commits/master",
            "https://github.com/ankane/chartkick/blob/master/CHANGELOG.md",
            "https://github.com/ankane/chartkick.js/issues/117"
          ],
          "uuid": "cb96cc49-95c3-4aa9-acb7-9033e49ca3fe"
        },
        {
          "affected_range": "\u003e=3.1.0 \u003c=3.1.3",
          "affected_versions": "All versions starting from 3.1.0 up to 3.1.3",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2021-09-22",
          "description": "Chartkick.js, as used in the Chartkick gem for Ruby, allows prototype pollution.",
          "fixed_versions": [
            "3.2.0"
          ],
          "identifier": "CVE-2019-18841",
          "identifiers": [
            "GHSA-5pm8-492c-92p5",
            "CVE-2019-18841"
          ],
          "not_impacted": "All versions before 3.1.0, all versions after 3.1.3",
          "package_slug": "npm/chartkick",
          "pubdate": "2019-12-02",
          "solution": "Upgrade to version 3.2.0 or above.",
          "title": "Prototype Pollution in chartkick",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2019-18841",
            "https://github.com/ankane/chartkick.js/issues/117",
            "https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa",
            "https://chartkick.com",
            "https://github.com/ankane/chartkick/blob/master/CHANGELOG.md",
            "https://github.com/ankane/chartkick/commits/master",
            "https://rubygems.org/gems/chartkick/",
            "https://www.npmjs.com/advisories/1312",
            "https://github.com/advisories/GHSA-5pm8-492c-92p5"
          ],
          "uuid": "7586ea24-f0d1-4906-8f19-eaf3e4ac37ce"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:chartkick:chartkick.js:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "3.1.3",
                "versionStartIncluding": "3.1.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2019-18841"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://chartkick.com",
              "refsource": "MISC",
              "tags": [
                "Product"
              ],
              "url": "https://chartkick.com"
            },
            {
              "name": "https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa",
              "refsource": "CONFIRM",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/ankane/chartkick/commit/b810936bbf687bc74c5b6dba72d2397a399885fa"
            },
            {
              "name": "https://rubygems.org/gems/chartkick/",
              "refsource": "MISC",
              "tags": [
                "Product",
                "Release Notes"
              ],
              "url": "https://rubygems.org/gems/chartkick/"
            },
            {
              "name": "https://github.com/ankane/chartkick/commits/master",
              "refsource": "MISC",
              "tags": [
                "Patch"
              ],
              "url": "https://github.com/ankane/chartkick/commits/master"
            },
            {
              "name": "https://github.com/ankane/chartkick/blob/master/CHANGELOG.md",
              "refsource": "MISC",
              "tags": [
                "Product",
                "Release Notes"
              ],
              "url": "https://github.com/ankane/chartkick/blob/master/CHANGELOG.md"
            },
            {
              "name": "https://github.com/ankane/chartkick.js/issues/117",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/ankane/chartkick.js/issues/117"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 7.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "HIGH",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.4
        }
      },
      "lastModifiedDate": "2020-08-24T17:37Z",
      "publishedDate": "2019-11-11T01:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…