Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57298?format=api",
    "purl": "pkg:maven/org.apache.thrift/libthrift@0.12.0",
    "type": "maven",
    "namespace": "org.apache.thrift",
    "name": "libthrift",
    "version": "0.12.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "0.9.3",
    "latest_non_vulnerable_version": "0.12.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40585?format=api",
            "vulnerability_id": "VCID-1r1s-a76q-33fu",
            "summary": "Improper Input Validation\nAn Apache Thrift Java client library can bypass SASL negotiation validation in the `org.apache.thrift.transport.TSaslTransport` class.",
            "references": [
                {
                    "reference_url": "http://www.securityfocus.com/bid/106551",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/106551"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1320",
                    "reference_id": "CVE-2018-1320",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1320"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57298?format=api",
                    "purl": "pkg:maven/org.apache.thrift/libthrift@0.12.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.12.0"
                }
            ],
            "aliases": [
                "CVE-2018-1320"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1r1s-a76q-33fu"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40583?format=api",
            "vulnerability_id": "VCID-8d5y-gcyh-bubh",
            "summary": "File and Directory Information Exposure\nThe Apache Thrift Node.js static web server contains a security vulnerability in which a remote user has the ability to access files outside the set webservers `docroot` path.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1545",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1545"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:3140",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:3140"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/6e9edd282684896cedf615fb67a02bebfe6007f2d5baf03ba52e34fd@%3Cuser.thrift.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/6e9edd282684896cedf615fb67a02bebfe6007f2d5baf03ba52e34fd@%3Cuser.thrift.apache.org%3E"
                },
                {
                    "reference_url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/106501",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/106501"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11798",
                    "reference_id": "CVE-2018-11798",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11798"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vx85-mj8c-4qm6",
                    "reference_id": "GHSA-vx85-mj8c-4qm6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vx85-mj8c-4qm6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57298?format=api",
                    "purl": "pkg:maven/org.apache.thrift/libthrift@0.12.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.12.0"
                }
            ],
            "aliases": [
                "CVE-2018-11798",
                "GHSA-vx85-mj8c-4qm6"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8d5y-gcyh-bubh"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.12.0"
}