{"url":"http://public2.vulnerablecode.io/api/packages/55634?format=json","purl":"pkg:npm/pg@2.0.0","type":"npm","namespace":"","name":"pg","version":"2.0.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"2.11.2","latest_non_vulnerable_version":"7.1.2","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/39804?format=json","vulnerability_id":"VCID-yrg7-471n-d3fg","summary":"Code Injection\nA remote code execution vulnerability was found within the pg module when the remote database or query specifies a specially crafted column name. There are 2 likely scenarios in which one would likely be vulnerable. 1) Executing unsafe, user-supplied sql which contains a malicious column name. 2) Connecting to an untrusted database and executing a query which returns results where any of the column names are malicious.","references":[{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16082","reference_id":"CVE-2017-16082","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16082"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/53979?format=json","purl":"pkg:npm/pg@2.11.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/pg@2.11.2"},{"url":"http://public2.vulnerablecode.io/api/packages/53980?format=json","purl":"pkg:npm/pg@3.6.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/pg@3.6.4"},{"url":"http://public2.vulnerablecode.io/api/packages/53981?format=json","purl":"pkg:npm/pg@4.5.7","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/pg@4.5.7"},{"url":"http://public2.vulnerablecode.io/api/packages/53982?format=json","purl":"pkg:npm/pg@5.2.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/pg@5.2.1"},{"url":"http://public2.vulnerablecode.io/api/packages/53987?format=json","purl":"pkg:npm/pg@6.4.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/pg@6.4.2"},{"url":"http://public2.vulnerablecode.io/api/packages/53989?format=json","purl":"pkg:npm/pg@7.1.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/pg@7.1.2"}],"aliases":["CVE-2017-16082"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-yrg7-471n-d3fg"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/pg@2.0.0"}