Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/373040?format=api",
    "purl": "pkg:golang/google.golang.org/grpc@1.64.1",
    "type": "golang",
    "namespace": "google.golang.org",
    "name": "grpc",
    "version": "1.64.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.79.3",
    "latest_non_vulnerable_version": "1.79.3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/359734?format=api",
            "vulnerability_id": "VCID-nncd-yw5m-m3b2",
            "summary": "Private tokens could appear in logs if context containing gRPC metadata is logged in github.com/grpc/grpc-go\n### Impact\nThis issue represents a potential PII concern.  If applications were printing or logging a context containing gRPC metadata, the affected versions will contain all the metadata, which may include private information.\n\n### Patches\nThe issue first appeared in 1.64.0 and is patched in 1.64.1 and 1.65.0\n\n### Workarounds\nIf using an affected version and upgrading is not possible, ensuring you do not log or print contexts will avoid the problem.",
            "references": [
                {
                    "reference_url": "https://github.com/grpc/grpc-go",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/grpc/grpc-go"
                },
                {
                    "reference_url": "https://github.com/grpc/grpc-go/commit/ab292411ddc0f3b7a7786754d1fe05264c3021eb",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/grpc/grpc-go/commit/ab292411ddc0f3b7a7786754d1fe05264c3021eb"
                },
                {
                    "reference_url": "https://github.com/grpc/grpc-go/security/advisories/GHSA-xr7q-jx4m-x55m",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/grpc/grpc-go/security/advisories/GHSA-xr7q-jx4m-x55m"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/373040?format=api",
                    "purl": "pkg:golang/google.golang.org/grpc@1.64.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/google.golang.org/grpc@1.64.1"
                }
            ],
            "aliases": [
                "GHSA-xr7q-jx4m-x55m"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nncd-yw5m-m3b2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/google.golang.org/grpc@1.64.1"
}