Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/302840?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/302840?format=api", "purl": "pkg:maven/com.vaadin/flow@2.8.0", "type": "maven", "namespace": "com.vaadin", "name": "flow", "version": "2.8.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.0.14", "latest_non_vulnerable_version": "6.0.7", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54399?format=api", "vulnerability_id": "VCID-hqrf-7nbq-9bdw", "summary": "Information Exposure Through Discrepancy\nA non-constant-time comparison of CSRF tokens in UIDL request handler in `com.vaadin:flow-server` allows attacker to guess a security token via timing attack.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-31404", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00045", "scoring_system": "epss", "scoring_elements": "0.14389", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-31404" }, { "reference_url": "https://github.com/vaadin/flow/pull/9875", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/vaadin/flow/pull/9875" }, { "reference_url": "https://github.com/vaadin/flow/security/advisories/GHSA-xwg3-qrcg-w9x6", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/vaadin/flow/security/advisories/GHSA-xwg3-qrcg-w9x6" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31404", "reference_id": "CVE-2021-31404", "reference_type": "", "scores": [ { "value": "4.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31404" }, { "reference_url": "https://vaadin.com/security/cve-2021-31404", "reference_id": "CVE-2021-31404", "reference_type": "", "scores": [ { "value": "4.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://vaadin.com/security/cve-2021-31404" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/80483?format=api", "purl": "pkg:maven/com.vaadin/flow@5.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-2fz6-rucr-xqax" }, { "vulnerability": "VCID-93dy-76qc-8fb7" }, { "vulnerability": "VCID-bud2-81n2-wyhc" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/flow@5.0.0" } ], "aliases": [ "CVE-2021-31404", "GHSA-xwg3-qrcg-w9x6" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hqrf-7nbq-9bdw" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/flow@2.8.0" }