Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65964?format=api",
    "purl": "pkg:maven/org.apache.sshd/sshd@2.9.3",
    "type": "maven",
    "namespace": "org.apache.sshd",
    "name": "sshd",
    "version": "2.9.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45596?format=api",
            "vulnerability_id": "VCID-kqua-31gy-6qdx",
            "summary": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nExposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Software Foundation Apache MINA.\n\nIn SFTP servers implemented using Apache MINA SSHD that use a RootedFileSystem, logged users may be able to discover \"exists/does not exist\" information about items outside the rooted tree via paths including parent navigation (\"..\") beyond the root, or involving symlinks.\n\nThis issue affects Apache MINA: from 1.0 before 2.10. Users are recommended to upgrade to 2.10",
            "references": [
                {
                    "reference_url": "https://github.com/apache/mina-sshd/commit/10de190e7d3f9189deb76b8d08c72334a1fe2df0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/mina-sshd/commit/10de190e7d3f9189deb76b8d08c72334a1fe2df0"
                },
                {
                    "reference_url": "https://github.com/apache/mina-sshd/commit/a61e93035f06bff8fc622ad94870fb773d48b9f0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/mina-sshd/commit/a61e93035f06bff8fc622ad94870fb773d48b9f0"
                },
                {
                    "reference_url": "https://github.com/apache/mina-sshd/pull/362",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/mina-sshd/pull/362"
                },
                {
                    "reference_url": "https://issues.apache.org/jira/browse/SSHD-1324",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/SSHD-1324"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/b9qgtqvhnvgfpn0w1gz918p21p53tqk2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread/b9qgtqvhnvgfpn0w1gz918p21p53tqk2"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35887",
                    "reference_id": "CVE-2023-35887",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35887"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mjmq-gwgm-5qhm",
                    "reference_id": "GHSA-mjmq-gwgm-5qhm",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-mjmq-gwgm-5qhm"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65964?format=api",
                    "purl": "pkg:maven/org.apache.sshd/sshd@2.9.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.sshd/sshd@2.9.3"
                }
            ],
            "aliases": [
                "CVE-2023-35887",
                "GHSA-mjmq-gwgm-5qhm"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kqua-31gy-6qdx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.sshd/sshd@2.9.3"
}