Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/34?format=api",
    "purl": "pkg:hex/plug@0.13.0",
    "type": "hex",
    "namespace": "",
    "name": "plug",
    "version": "0.13.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.0.6",
    "latest_non_vulnerable_version": "1.19.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7?format=api",
            "vulnerability_id": "VCID-2472-zjtv-afd6",
            "summary": "Plug.Static is used for serving static assets, and is vulnerable to null\nbyte injection. If file upload functionality is provided, this can allow\nusers to bypass filetype restrictions.\n\nWe recommend all applications that provide file upload functionality and\nserve those uploaded files locally with Plug.Static to upgrade immediately\nor include the fix below. If uploaded files are rather stored and served\nfrom S3 or any other cloud storage, you are not affected.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000052",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00246",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4813",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00246",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48267",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00246",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48284",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.00246",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48269",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000052"
                },
                {
                    "reference_url": "https://elixirforum.com/t/security-releases-for-plug/3913",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://elixirforum.com/t/security-releases-for-plug/3913"
                },
                {
                    "reference_url": "https://elixirforum.com/t/static-and-session-security-fixes-for-plug/3913",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://elixirforum.com/t/static-and-session-security-fixes-for-plug/3913"
                },
                {
                    "reference_url": "https://github.com/elixir-plug/plug",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/elixir-plug/plug"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000052",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000052"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4?format=api",
                    "purl": "pkg:hex/plug@1.0.4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9pgh-kne9-vyf6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.0.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5?format=api",
                    "purl": "pkg:hex/plug@1.1.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9pgh-kne9-vyf6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.1.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/6?format=api",
                    "purl": "pkg:hex/plug@1.2.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9pgh-kne9-vyf6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.2.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/111?format=api",
                    "purl": "pkg:hex/plug@1.3.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9pgh-kne9-vyf6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.3.2"
                }
            ],
            "aliases": [
                "CVE-2017-1000052",
                "GHSA-2q6v-32mr-8p8x"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2472-zjtv-afd6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6?format=api",
            "vulnerability_id": "VCID-9pgh-kne9-vyf6",
            "summary": "Cookie headers were not validated",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000883",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0025",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48524",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.0025",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48661",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.0025",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4868",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.0025",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48666",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000883"
                },
                {
                    "reference_url": "https://github.com/dependabot/elixir-security-advisories/blob/master/packages/plug/2017-04-17.yml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dependabot/elixir-security-advisories/blob/master/packages/plug/2017-04-17.yml"
                },
                {
                    "reference_url": "https://github.com/elixir-plug/plug",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/elixir-plug/plug"
                },
                {
                    "reference_url": "https://github.com/elixir-plug/plug/commit/8857f8ab4acf9b9c22e80480dae2636692f5f573",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/elixir-plug/plug/commit/8857f8ab4acf9b9c22e80480dae2636692f5f573"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000883",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000883"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/7?format=api",
                    "purl": "pkg:hex/plug@1.0.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.0.6"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8?format=api",
                    "purl": "pkg:hex/plug@1.1.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.1.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9?format=api",
                    "purl": "pkg:hex/plug@1.2.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.2.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/383794?format=api",
                    "purl": "pkg:hex/plug@1.3.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.3.5"
                }
            ],
            "aliases": [
                "CVE-2018-1000883",
                "GHSA-9h73-w7ch-rh73"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9pgh-kne9-vyf6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5?format=api",
            "vulnerability_id": "VCID-t4rs-7hwa-9bdg",
            "summary": "The default serialization used by Plug session may result in code execution\nin certain situations. Keep in mind, however, the session cookie is signed\nand this attack can only be exploited if the attacker has access to your\nsecret key as well as your signing/encryption salts. We recommend users to\nchange their secret key base and salts if they suspect they have been leaked,\nregardless of this vulnerability.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000053",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01075",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78203",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.01075",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7827",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.01075",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78284",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.01075",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78279",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000053"
                },
                {
                    "reference_url": "https://elixirforum.com/t/security-releases-for-plug/3913",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://elixirforum.com/t/security-releases-for-plug/3913"
                },
                {
                    "reference_url": "https://elixirforum.com/t/static-and-session-security-fixes-for-plug/3913",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://elixirforum.com/t/static-and-session-security-fixes-for-plug/3913"
                },
                {
                    "reference_url": "https://github.com/elixir-plug/plug",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/elixir-plug/plug"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000053",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000053"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4?format=api",
                    "purl": "pkg:hex/plug@1.0.4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9pgh-kne9-vyf6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.0.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5?format=api",
                    "purl": "pkg:hex/plug@1.1.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9pgh-kne9-vyf6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.1.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/6?format=api",
                    "purl": "pkg:hex/plug@1.2.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9pgh-kne9-vyf6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.2.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/111?format=api",
                    "purl": "pkg:hex/plug@1.3.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9pgh-kne9-vyf6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@1.3.2"
                }
            ],
            "aliases": [
                "CVE-2017-1000053",
                "GHSA-5v4m-c73v-c7gq"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t4rs-7hwa-9bdg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:hex/plug@0.13.0"
}