Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/28549?format=api",
    "purl": "pkg:pypi/octobot@0.4.0a6",
    "type": "pypi",
    "namespace": "",
    "name": "octobot",
    "version": "0.4.0a6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.4.4",
    "latest_non_vulnerable_version": "0.4.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36144?format=api",
            "vulnerability_id": "VCID-s9jw-h6yv-cbh9",
            "summary": "WebInterface in OctoBot before 0.4.4 allows remote code execution because Tentacles upload is mishandled.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-fr75-x856-q6j8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fr75-x856-q6j8"
                },
                {
                    "reference_url": "https://github.com/Drakkar-Software/OctoBot/blob/master/CHANGELOG.md",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Drakkar-Software/OctoBot/blob/master/CHANGELOG.md"
                },
                {
                    "reference_url": "https://github.com/Drakkar-Software/OctoBot/issues/1966",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Drakkar-Software/OctoBot/issues/1966"
                },
                {
                    "reference_url": "https://github.com/Nwqda/Sashimi-Evil-OctoBot-Tentacle",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Nwqda/Sashimi-Evil-OctoBot-Tentacle"
                },
                {
                    "reference_url": "https://packetstormsecurity.com/files/167721/Sashimi-Evil-OctoBot-Tentacle.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://packetstormsecurity.com/files/167721/Sashimi-Evil-OctoBot-Tentacle.html"
                },
                {
                    "reference_url": "https://www.octobot.online/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.octobot.online/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/28589?format=api",
                    "purl": "pkg:pypi/octobot@0.4.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/octobot@0.4.4"
                }
            ],
            "aliases": [
                "CVE-2021-36711",
                "GHSA-fr75-x856-q6j8",
                "PYSEC-2022-235"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-s9jw-h6yv-cbh9"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/octobot@0.4.0a6"
}