Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/54815?format=api",
    "purl": "pkg:maven/org.ldaptive/ldaptive@1.0.5",
    "type": "maven",
    "namespace": "org.ldaptive",
    "name": "ldaptive",
    "version": "1.0.5",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.0.5",
    "latest_non_vulnerable_version": "1.0.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39276?format=api",
            "vulnerability_id": "VCID-enff-2dm6-ybfa",
            "summary": "Hostname verification susceptible to MITM attack\nThe implementation used this package to check that the server hostname matches the domain name in the subject's CN field was flawed. This can be exploited by a Man-in-the-middle (MITM) attack, where the attacker can spoof a valid certificate using a specially crafted subject.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1140438",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1140438"
                },
                {
                    "reference_url": "https://code.google.com/archive/p/vt-middleware/issues/226",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/archive/p/vt-middleware/issues/226"
                },
                {
                    "reference_url": "https://code.google.com/archive/p/vt-middleware/issues/227",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/archive/p/vt-middleware/issues/227"
                },
                {
                    "reference_url": "https://code.google.com/archive/p/vt-middleware/issues/228",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/archive/p/vt-middleware/issues/228"
                },
                {
                    "reference_url": "https://code.google.com/archive/p/vt-middleware/source/default/commits",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/archive/p/vt-middleware/source/default/commits"
                },
                {
                    "reference_url": "https://code.google.com/p/vt-middleware/source/detail?r=3046",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://code.google.com/p/vt-middleware/source/detail?r=3046"
                },
                {
                    "reference_url": "http://shibboleth.net/community/advisories/secadv_20140919.txt",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://shibboleth.net/community/advisories/secadv_20140919.txt"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/CVE-2014-3607",
                    "reference_id": "CVE-2014-3607",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/CVE-2014-3607"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-3607",
                    "reference_id": "CVE-2014-3607",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-3607"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-273v-g3x4-r3rc",
                    "reference_id": "GHSA-273v-g3x4-r3rc",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-273v-g3x4-r3rc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/54815?format=api",
                    "purl": "pkg:maven/org.ldaptive/ldaptive@1.0.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.ldaptive/ldaptive@1.0.5"
                }
            ],
            "aliases": [
                "CVE-2014-3607",
                "GHSA-273v-g3x4-r3rc"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-enff-2dm6-ybfa"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.ldaptive/ldaptive@1.0.5"
}