Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63550?format=api",
    "purl": "pkg:maven/org.apache.tomcat/tomcat@7.0.32",
    "type": "maven",
    "namespace": "org.apache.tomcat",
    "name": "tomcat",
    "version": "7.0.32",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "7.0.33",
    "latest_non_vulnerable_version": "11.0.18",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44179?format=api",
            "vulnerability_id": "VCID-redv-2x5y-8khx",
            "summary": "Cross-Site Request Forgery (CSRF)\norg/apache/catalina/filters/CsrfPreventionFilter.java in Apache Tomcat 6.x before 6.0.36 and 7.x before 7.0.32 allows remote attackers to bypass the cross-site request forgery (CSRF) protection mechanism via a request that lacks a session identifier.",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00051.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00051.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00080.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00080.html"
                },
                {
                    "reference_url": "http://marc.info/?l=bugtraq&m=136612293908376&w=2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://marc.info/?l=bugtraq&m=136612293908376&w=2"
                },
                {
                    "reference_url": "http://marc.info/?l=bugtraq&m=139344343412337&w=2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://marc.info/?l=bugtraq&m=139344343412337&w=2"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0267.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0267.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0268.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0268.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0647.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0647.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0648.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0648.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-1853.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-1853.html"
                },
                {
                    "reference_url": "https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03748878"
                },
                {
                    "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18541",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18541"
                },
                {
                    "reference_url": "http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/filters/CsrfPreventionFilter.java?r1=1393088&r2=1393087&pathrev=1393088"
                },
                {
                    "reference_url": "http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?r1=1393088&r2=1393087&pathrev=1393088"
                },
                {
                    "reference_url": "http://svn.apache.org/viewvc?view=revision&revision=1393088",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://svn.apache.org/viewvc?view=revision&revision=1393088"
                },
                {
                    "reference_url": "http://tomcat.apache.org/security-6.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://tomcat.apache.org/security-6.html"
                },
                {
                    "reference_url": "http://tomcat.apache.org/security-7.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://tomcat.apache.org/security-7.html"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-1685-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-1685-1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4431",
                    "reference_id": "CVE-2012-4431",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4431"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-76vr-72mv-mf3q",
                    "reference_id": "GHSA-76vr-72mv-mf3q",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-76vr-72mv-mf3q"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63549?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@6.0.36",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@6.0.36"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63550?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@7.0.32",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@7.0.32"
                }
            ],
            "aliases": [
                "CVE-2012-4431",
                "GHSA-76vr-72mv-mf3q"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-redv-2x5y-8khx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@7.0.32"
}