Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/80456?format=api",
    "purl": "pkg:maven/com.vaadin/vaadin-text-field-flow@2.3.2",
    "type": "maven",
    "namespace": "com.vaadin",
    "name": "vaadin-text-field-flow",
    "version": "2.3.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.3.3",
    "latest_non_vulnerable_version": "23.0.9",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54370?format=api",
            "vulnerability_id": "VCID-6u53-7e1k-t7fg",
            "summary": "Regular expression denial of service (ReDoS) in EmailField component in Vaadin 14 and 15-17\nUnsafe validation RegEx in `EmailField` component in `com.vaadin:vaadin-text-field-flow` versions 2.0.4 through 2.3.2 (Vaadin 14.0.6 through 14.4.3), and 3.0.0 through 4.0.2 (Vaadin 15.0.0 through 17.0.10) allows attackers to cause uncontrolled resource consumption by submitting malicious email addresses.\n\n- https://vaadin.com/security/cve-2021-31405",
            "references": [
                {
                    "reference_url": "https://github.com/vaadin/flow-components",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/vaadin/flow-components"
                },
                {
                    "reference_url": "https://vaadin.com/security/cve-2021-31405",
                    "reference_id": "CVE-2021-31405",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://vaadin.com/security/cve-2021-31405"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-crh4-294p-vcfq",
                    "reference_id": "GHSA-crh4-294p-vcfq",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-crh4-294p-vcfq"
                },
                {
                    "reference_url": "https://github.com/vaadin/flow-components/security/advisories/GHSA-crh4-294p-vcfq",
                    "reference_id": "GHSA-crh4-294p-vcfq",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/vaadin/flow-components/security/advisories/GHSA-crh4-294p-vcfq"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80351?format=api",
                    "purl": "pkg:maven/com.vaadin/vaadin-text-field-flow@2.3.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/vaadin-text-field-flow@2.3.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80352?format=api",
                    "purl": "pkg:maven/com.vaadin/vaadin-text-field-flow@4.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/vaadin-text-field-flow@4.0.3"
                }
            ],
            "aliases": [
                "GHSA-crh4-294p-vcfq",
                "GMS-2021-144"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6u53-7e1k-t7fg"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54375?format=api",
            "vulnerability_id": "VCID-jnr3-zatb-d7bh",
            "summary": "Uncontrolled Resource Consumption\nUnsafe validation RegEx in EmailField component in com.vaadin:vaadin-text-field-flow versions 2.0.4 through 2.3.2 (Vaadin 14.0.6 through 14.4.3), and 3.0.0 through 4.0.2 (Vaadin 15.0.0 through 17.0.10) allows attackers to cause uncontrolled resource consumption by submitting malicious email addresses.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-31405",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00468",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64858",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00468",
                            "scoring_system": "epss",
                            "scoring_elements": "0.649",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-31405"
                },
                {
                    "reference_url": "https://github.com/vaadin/flow-components/pull/442",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/vaadin/flow-components/pull/442"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31405",
                    "reference_id": "CVE-2021-31405",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31405"
                },
                {
                    "reference_url": "https://vaadin.com/security/cve-2021-31405",
                    "reference_id": "CVE-2021-31405",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://vaadin.com/security/cve-2021-31405"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2wqp-jmcc-mc77",
                    "reference_id": "GHSA-2wqp-jmcc-mc77",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-2wqp-jmcc-mc77"
                },
                {
                    "reference_url": "https://github.com/vaadin/platform/security/advisories/GHSA-2wqp-jmcc-mc77",
                    "reference_id": "GHSA-2wqp-jmcc-mc77",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/vaadin/platform/security/advisories/GHSA-2wqp-jmcc-mc77"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80351?format=api",
                    "purl": "pkg:maven/com.vaadin/vaadin-text-field-flow@2.3.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/vaadin-text-field-flow@2.3.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80352?format=api",
                    "purl": "pkg:maven/com.vaadin/vaadin-text-field-flow@4.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/vaadin-text-field-flow@4.0.3"
                }
            ],
            "aliases": [
                "CVE-2021-31405",
                "GHSA-2wqp-jmcc-mc77"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jnr3-zatb-d7bh"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/vaadin-text-field-flow@2.3.2"
}