Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/11135?format=api",
    "purl": "pkg:pypi/sickrage@9.2.65",
    "type": "pypi",
    "namespace": "",
    "name": "sickrage",
    "version": "9.2.65",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "10.0.12.dev1",
    "latest_non_vulnerable_version": "2018.3.9.post1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35194?format=api",
            "vulnerability_id": "VCID-grxf-8nqh-7yfp",
            "summary": "SickRage before v2018.03.09-1 includes cleartext credentials in HTTP responses.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/sickrage/PYSEC-2018-101.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/sickrage/PYSEC-2018-101.yaml"
                },
                {
                    "reference_url": "https://github.com/SickRage/SickRage",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/SickRage/SickRage"
                },
                {
                    "reference_url": "https://github.com/SickRage/SickRage/commit/8156a74a68aea930d1e1047baba8b115c3abfc44",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/SickRage/SickRage/commit/8156a74a68aea930d1e1047baba8b115c3abfc44"
                },
                {
                    "reference_url": "https://github.com/SickRage/sickrage.github.io/blob/master/sickrage-news/CHANGES.md",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/SickRage/sickrage.github.io/blob/master/sickrage-news/CHANGES.md"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/44545",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/44545"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/44545/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/44545/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-9160",
                    "reference_id": "CVE-2018-9160",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-9160"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jrcv-3c5h-rh3q",
                    "reference_id": "GHSA-jrcv-3c5h-rh3q",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jrcv-3c5h-rh3q"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11165?format=api",
                    "purl": "pkg:pypi/sickrage@9.3.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-u7hx-ewzk-37c2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/sickrage@9.3.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62790?format=api",
                    "purl": "pkg:pypi/sickrage@2018.3.9.post1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/sickrage@2018.3.9.post1"
                }
            ],
            "aliases": [
                "CVE-2018-9160",
                "GHSA-jrcv-3c5h-rh3q",
                "PYSEC-2018-101"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-grxf-8nqh-7yfp"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35772?format=api",
            "vulnerability_id": "VCID-u7hx-ewzk-37c2",
            "summary": "in SiCKRAGE, versions 4.2.0 to 10.0.11.dev1 are vulnerable to Stored Cross-Site-Scripting (XSS) due to user input not being validated properly when processed by the server. Therefore, an attacker can inject arbitrary JavaScript code inside the application, and possibly steal a user’s sensitive information.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-rmp7-f2vp-3rq4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-rmp7-f2vp-3rq4"
                },
                {
                    "reference_url": "https://github.com/SiCKRAGE/SiCKRAGE/commit/9f42426727e16609ad3d1337f6637588b8ed28e4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/SiCKRAGE/SiCKRAGE/commit/9f42426727e16609ad3d1337f6637588b8ed28e4"
                },
                {
                    "reference_url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25925",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25925"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/21483?format=api",
                    "purl": "pkg:pypi/sickrage@10.0.12.dev1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/sickrage@10.0.12.dev1"
                }
            ],
            "aliases": [
                "CVE-2021-25925",
                "GHSA-rmp7-f2vp-3rq4",
                "PYSEC-2021-147"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u7hx-ewzk-37c2"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/sickrage@9.2.65"
}