Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/46294?format=api",
    "purl": "pkg:pypi/couchbase@3.2.5.dev1",
    "type": "pypi",
    "namespace": "",
    "name": "couchbase",
    "version": "3.2.5.dev1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.2.6",
    "latest_non_vulnerable_version": "3.2.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37101?format=api",
            "vulnerability_id": "VCID-bnvg-c9hg-dqas",
            "summary": "An issue was discovered in Couchbase Sync Gateway before 3.2.6. In sgcollect_info_options.log and sync_gateway.log, there are cleartext passwords in redacted and unredacted output.",
            "references": [
                {
                    "reference_url": "https://docs.couchbase.com/server/current/release-notes/relnotes.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://docs.couchbase.com/server/current/release-notes/relnotes.html"
                },
                {
                    "reference_url": "https://forums.couchbase.com/tags/security",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://forums.couchbase.com/tags/security"
                },
                {
                    "reference_url": "https://www.couchbase.com/alerts/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://www.couchbase.com/alerts/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/46297?format=api",
                    "purl": "pkg:pypi/couchbase@3.2.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/couchbase@3.2.6"
                }
            ],
            "aliases": [
                "CVE-2025-52490",
                "PYSEC-2025-101"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bnvg-c9hg-dqas"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/couchbase@3.2.5.dev1"
}