Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/197622?format=api",
    "purl": "pkg:maven/org.apache.nifi/nifi-web-security@1.9.2",
    "type": "maven",
    "namespace": "org.apache.nifi",
    "name": "nifi-web-security",
    "version": "1.9.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.12.0",
    "latest_non_vulnerable_version": "1.12.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52496?format=api",
            "vulnerability_id": "VCID-cg2v-phw4-ake2",
            "summary": "Missing Authentication for Critical Function in Apache NiFi\nIn Apache NiFi 1.0.0 to 1.11.4, the NiFi download token (one-time password) mechanism used a fixed cache size and did not authenticate a request to create a download token, only when attempting to use the token to access the content. An unauthenticated user could repeatedly request download tokens, preventing legitimate users from requesting download tokens.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-9487",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70443",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70364",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70351",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70394",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70403",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70384",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70434",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70444",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70288",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70301",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70318",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70296",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70341",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70356",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70379",
                            "published_at": "2026-04-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-9487"
                },
                {
                    "reference_url": "https://github.com/apache/nifi/commit/01e42dfb3291c3a3549023edadafd2d8023f3042",
                    "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/apache/nifi/commit/01e42dfb3291c3a3549023edadafd2d8023f3042"
                },
                {
                    "reference_url": "https://github.com/apache/nifi/pull/4271",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/nifi/pull/4271"
                },
                {
                    "reference_url": "https://nifi.apache.org/security#CVE-2020-9487",
                    "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://nifi.apache.org/security#CVE-2020-9487"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-9487",
                    "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://nvd.nist.gov/vuln/detail/CVE-2020-9487"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3pp3-77j6-8ph6",
                    "reference_id": "GHSA-3pp3-77j6-8ph6",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-3pp3-77j6-8ph6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/215699?format=api",
                    "purl": "pkg:maven/org.apache.nifi/nifi-web-security@1.12.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-web-security@1.12.0"
                }
            ],
            "aliases": [
                "CVE-2020-9487",
                "GHSA-3pp3-77j6-8ph6"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cg2v-phw4-ake2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50591?format=api",
            "vulnerability_id": "VCID-mrb8-sr51-vkep",
            "summary": "Apache NiFi user log out issue\nWhen using an authentication mechanism other than PKI, when the user clicks Log Out in NiFi versions 1.0.0 to 1.9.2, NiFi invalidates the authentication token on the client side but not on the server side. This permits the user's client-side token to be used for up to 12 hours after logging out to make API requests to NiFi.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12421",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68321",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68214",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68191",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68242",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68257",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68282",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68269",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68235",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68275",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68286",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68266",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6831",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68318",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68174",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00559",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68196",
                            "published_at": "2026-04-02T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12421"
                },
                {
                    "reference_url": "https://github.com/apache/nifi/commit/cf6f5172503ce438c6c22c334c9367f774db7b24",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/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/apache/nifi/commit/cf6f5172503ce438c6c22c334c9367f774db7b24"
                },
                {
                    "reference_url": "https://github.com/apache/nifi/pull/3362",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/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/apache/nifi/pull/3362"
                },
                {
                    "reference_url": "https://issues.apache.org/jira/browse/NIFI-6085",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/NIFI-6085"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b%40%3Ccommits.nifi.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b%40%3Ccommits.nifi.apache.org%3E"
                },
                {
                    "reference_url": "https://nifi.apache.org/security.html#CVE-2019-12421",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nifi.apache.org/security.html#CVE-2019-12421"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-12421",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:S/C:P/I:P/A:P"
                        },
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/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-2019-12421"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fmqw-vqh5-cwq9",
                    "reference_id": "GHSA-fmqw-vqh5-cwq9",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-fmqw-vqh5-cwq9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/78877?format=api",
                    "purl": "pkg:maven/org.apache.nifi/nifi-web-security@1.10.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cg2v-phw4-ake2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-web-security@1.10.0"
                }
            ],
            "aliases": [
                "CVE-2019-12421",
                "GHSA-fmqw-vqh5-cwq9"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mrb8-sr51-vkep"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-web-security@1.9.2"
}