{
  "schema_version": "1.4.0",
  "id": "GHSA-prv2-xwr7-hr57",
  "modified": "2021-04-08T20:19:06Z",
  "published": "2021-04-13T15:23:21Z",
  "aliases": [
    "CVE-2019-10798"
  ],
  "summary": "Uncontrolled Resource Consumption in rdf-graph-array",
  "details": "rdf-graph-array through 0.3.0-rc6 manipulation of JavaScript objects resutling in Prototype Pollution. The rdf.Graph.prototype.add method could be tricked into adding or modifying properties of Object.prototype.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "rdf-graph-array"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.3.0-rc6"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10798"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rdf-ext-archive/rdf-graph-array/blob/master/index.js#L211"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-RDFGRAPHARRAY-551803"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-04-08T20:19:06Z",
    "nvd_published_at": "2020-02-24T18:15:00Z"
  }
}