Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-yrg7-471n-d3fg
Summary
Code Injection
A 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.
Aliases
0
alias CVE-2017-16082
Fixed_packages
0
url pkg:npm/pg@2.11.2
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
1
url pkg:npm/pg@3.6.4
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
2
url pkg:npm/pg@4.5.7
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
3
url pkg:npm/pg@5.2.1
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
4
url pkg:npm/pg@6.4.2
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
5
url pkg:npm/pg@7.1.2
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
Affected_packages
0
url pkg:npm/pg@2.0.0
purl pkg:npm/pg@2.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-yrg7-471n-d3fg
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/pg@2.0.0
1
url pkg:npm/pg@3.0.0
purl pkg:npm/pg@3.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-mu5a-vc5u-z7dv
1
vulnerability VCID-yrg7-471n-d3fg
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/pg@3.0.0
2
url pkg:npm/pg@4.0.0
purl pkg:npm/pg@4.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-mu5a-vc5u-z7dv
1
vulnerability VCID-yrg7-471n-d3fg
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/pg@4.0.0
3
url pkg:npm/pg@6.0.0
purl pkg:npm/pg@6.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-mu5a-vc5u-z7dv
1
vulnerability VCID-yrg7-471n-d3fg
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/pg@6.0.0
4
url pkg:npm/pg@7.0.0
purl pkg:npm/pg@7.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-mu5a-vc5u-z7dv
1
vulnerability VCID-yrg7-471n-d3fg
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/pg@7.0.0
References
0
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
Weaknesses
0
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
1
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
2
cwe_id 94
name Improper Control of Generation of Code ('Code Injection')
description The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Exploits
Severity_range_scorenull
Exploitabilitynull
Weighted_severitynull
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-yrg7-471n-d3fg