Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/40419?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40419?format=api",
    "vulnerability_id": "VCID-kp77-nwjw-rfgy",
    "summary": "Missing Authorization\nThe Hive `EXPLAIN` operation does not check for necessary authorization of involved entities in a query. An unauthorized user can do `EXPLAIN` on arbitrary table or view and expose table metadata and statistics.",
    "aliases": [
        {
            "alias": "CVE-2018-1314"
        },
        {
            "alias": "GHSA-jmf4-pq78-f8vj"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56971?format=api",
            "purl": "pkg:maven/org.apache.hive/hive@2.3.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive@2.3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56972?format=api",
            "purl": "pkg:maven/org.apache.hive/hive@3.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive@3.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57045?format=api",
            "purl": "pkg:maven/org.apache.hive/hive-jdbc@2.3.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive-jdbc@2.3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57046?format=api",
            "purl": "pkg:maven/org.apache.hive/hive-jdbc@3.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive-jdbc@3.1.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55325?format=api",
            "purl": "pkg:maven/org.apache.hive/hive@2.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c6s8-kd2p-b3cn"
                },
                {
                    "vulnerability": "VCID-kp77-nwjw-rfgy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive@2.3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56969?format=api",
            "purl": "pkg:maven/org.apache.hive/hive@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c6s8-kd2p-b3cn"
                },
                {
                    "vulnerability": "VCID-kp77-nwjw-rfgy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56970?format=api",
            "purl": "pkg:maven/org.apache.hive/hive@3.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c6s8-kd2p-b3cn"
                },
                {
                    "vulnerability": "VCID-kp77-nwjw-rfgy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive@3.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57044?format=api",
            "purl": "pkg:maven/org.apache.hive/hive-jdbc@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kp77-nwjw-rfgy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive-jdbc@3.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://lists.apache.org/thread.html/3da47dbcbf09697387f29d2f1aed970523b6b334d93afd3cced23727@%3Cdev.hive.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/3da47dbcbf09697387f29d2f1aed970523b6b334d93afd3cced23727@%3Cdev.hive.apache.org%3E"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/105884",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/105884"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1314",
            "reference_id": "CVE-2018-1314",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1314"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-jmf4-pq78-f8vj",
            "reference_id": "GHSA-jmf4-pq78-f8vj",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-jmf4-pq78-f8vj"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 862,
            "name": "Missing Authorization",
            "description": "The product does not perform an authorization check when an actor attempts to access a resource or perform an action."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kp77-nwjw-rfgy"
}