Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63316?format=api",
    "purl": "pkg:maven/org.apache.tomcat/tomcat@7.0.4",
    "type": "maven",
    "namespace": "org.apache.tomcat",
    "name": "tomcat",
    "version": "7.0.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "7.0.5",
    "latest_non_vulnerable_version": "11.0.18",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44036?format=api",
            "vulnerability_id": "VCID-yvcg-96dp-r7e6",
            "summary": "Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat\nApache Tomcat 7.0.0 through 7.0.3, 6.0.x, and 5.5.x, when running within a SecurityManager, does not make the ServletContext attribute read-only, which allows local web applications to read or write files outside of the intended working directory, as demonstrated using a directory traversal attack.",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2011-04/msg00000.html"
                },
                {
                    "reference_url": "http://marc.info/?l=bugtraq&m=130168502603566&w=2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://marc.info/?l=bugtraq&m=130168502603566&w=2"
                },
                {
                    "reference_url": "http://marc.info/?l=bugtraq&m=132215163318824&w=2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://marc.info/?l=bugtraq&m=132215163318824&w=2"
                },
                {
                    "reference_url": "http://marc.info/?l=bugtraq&m=136485229118404&w=2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://marc.info/?l=bugtraq&m=136485229118404&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://securityreason.com/securityalert/8072",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://securityreason.com/securityalert/8072"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/65159",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/65159"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e@%3Cdev.tomcat.apache.org%3E"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf@%3Cdev.tomcat.apache.org%3E"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5@%3Cdev.tomcat.apache.org%3E"
                },
                {
                    "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12517",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12517"
                },
                {
                    "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A13969",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A13969"
                },
                {
                    "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19379",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19379"
                },
                {
                    "reference_url": "http://support.apple.com/kb/HT5002",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://support.apple.com/kb/HT5002"
                },
                {
                    "reference_url": "http://tomcat.apache.org/security-5.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://tomcat.apache.org/security-5.html"
                },
                {
                    "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.debian.org/security/2011/dsa-2160",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2011/dsa-2160"
                },
                {
                    "reference_url": "http://www.redhat.com/support/errata/RHSA-2011-0791.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.redhat.com/support/errata/RHSA-2011-0791.html"
                },
                {
                    "reference_url": "http://www.redhat.com/support/errata/RHSA-2011-0896.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.redhat.com/support/errata/RHSA-2011-0896.html"
                },
                {
                    "reference_url": "http://www.redhat.com/support/errata/RHSA-2011-0897.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.redhat.com/support/errata/RHSA-2011-0897.html"
                },
                {
                    "reference_url": "http://www.redhat.com/support/errata/RHSA-2011-1845.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.redhat.com/support/errata/RHSA-2011-1845.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2010-3718",
                    "reference_id": "CVE-2010-3718",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2010-3718"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fj6c-prgj-gr3r",
                    "reference_id": "GHSA-fj6c-prgj-gr3r",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fj6c-prgj-gr3r"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63316?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@7.0.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@7.0.4"
                }
            ],
            "aliases": [
                "CVE-2010-3718",
                "GHSA-fj6c-prgj-gr3r"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yvcg-96dp-r7e6"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@7.0.4"
}