Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/908860?format=api",
    "purl": "pkg:npm/aws-sdk@2.1254.0",
    "type": "npm",
    "namespace": "",
    "name": "aws-sdk",
    "version": "2.1254.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/212492?format=api",
            "vulnerability_id": "VCID-wqmn-n4ac-5bb9",
            "summary": "JavaScript SDK v2 users should add validation to the region parameter value in or migrate to v3",
            "references": [
                {
                    "reference_url": "https://github.com/aws/aws-sdk-js",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/aws/aws-sdk-js"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-j965-2qgj-vjmq",
                    "reference_id": "GHSA-j965-2qgj-vjmq",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-j965-2qgj-vjmq"
                },
                {
                    "reference_url": "https://github.com/aws/aws-sdk-js/security/advisories/GHSA-j965-2qgj-vjmq",
                    "reference_id": "GHSA-j965-2qgj-vjmq",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/aws/aws-sdk-js/security/advisories/GHSA-j965-2qgj-vjmq"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "GHSA-j965-2qgj-vjmq"
            ],
            "risk_score": 1.4,
            "exploitability": "0.5",
            "weighted_severity": "2.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wqmn-n4ac-5bb9"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/aws-sdk@2.1254.0"
}