Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56667?format=api",
    "purl": "pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.0",
    "type": "maven",
    "namespace": "org.apache.qpid",
    "name": "apache-qpid-broker-j",
    "version": "7.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "7.0.1",
    "latest_non_vulnerable_version": "7.1.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40305?format=api",
            "vulnerability_id": "VCID-9tjj-h8mh-67ch",
            "summary": "Improper Input Validation\nA Denial of Service vulnerability was found in Apache Qpid Broker-J versions 7.0.0-7.0.4 when AMQP protocols 0-8, 0-9 or 0-91 are used to publish messages with size greater than allowed maximum message size limit (100MB by default). The broker crashes due to the defect. AMQP protocols 0-10 and 1.0 are not affected.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8030",
                    "reference_id": "CVE-2018-8030",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8030"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-7xr3-rgwh-pw22",
                    "reference_id": "GHSA-7xr3-rgwh-pw22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-7xr3-rgwh-pw22"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56668?format=api",
                    "purl": "pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.5"
                }
            ],
            "aliases": [
                "CVE-2018-8030",
                "GHSA-7xr3-rgwh-pw22"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9tjj-h8mh-67ch"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40380?format=api",
            "vulnerability_id": "VCID-ndcc-gmaq-bbg2",
            "summary": "Improper Input Validation\nA Denial of Service vulnerability was found in Apache Qpid Broker-J 7.0.0 in functionality for authentication of connections for AMQP protocols 0-8, 0-9, 0-91 and 0-10 when PLAIN or XOAUTH2 SASL mechanism is used. The vulnerability allows unauthenticated attacker to crash the broker instance. AMQP 1.0 and HTTP connections are not affected. An authentication of incoming AMQP connections in Apache Qpid Broker-J is performed by special entities called \"Authentication Providers\". Each Authentication Provider can support several SASL mechanisms which are offered to the connecting clients as part of SASL negotiation process. The client chooses the most appropriate SASL mechanism for authentication. Authentication Providers of following types supports PLAIN SASL mechanism: Plain, PlainPasswordFile, SimpleLDAP, Base64MD5PasswordFile, MD5, SCRAM-SHA-256, SCRAM-SHA-1. XOAUTH2 SASL mechanism is supported by Authentication Providers of type OAuth2. If an AMQP port is configured with any of these Authentication Providers, the Broker may be vulnerable.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1298",
                    "reference_id": "CVE-2018-1298",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1298"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6w3v-66mj-2qm6",
                    "reference_id": "GHSA-6w3v-66mj-2qm6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6w3v-66mj-2qm6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56876?format=api",
                    "purl": "pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.1"
                }
            ],
            "aliases": [
                "CVE-2018-1298",
                "GHSA-6w3v-66mj-2qm6"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ndcc-gmaq-bbg2"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.qpid/apache-qpid-broker-j@7.0.0"
}