Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/317921?format=api",
    "purl": "pkg:maven/org.apache.nifi.registry/nifi-registry-web-api@1.16.3",
    "type": "maven",
    "namespace": "org.apache.nifi.registry",
    "name": "nifi-registry-web-api",
    "version": "1.16.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54176?format=api",
            "vulnerability_id": "VCID-xhjy-xmhq-abh7",
            "summary": "Code injection in Apache NiFi and NiFi Registry\nThe optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16.2 and Apache NiFi Registry 0.6.0 to 1.16.2 does not neutralize arguments for group resolution commands, allowing injection of operating system commands on Linux and macOS platforms. The ShellUserGroupProvider is not included in the default configuration. Command injection requires ShellUserGroupProvider to be one of the enabled User Group Providers in the Authorizers configuration. Command injection also requires an authenticated user with elevated privileges. Apache NiFi requires an authenticated user with authorization to modify access policies in order to execute the command. Apache NiFi Registry requires an authenticated user with authorization to read user groups in order to execute the command. The resolution removes command formatting based on user-provided arguments.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-33140",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88366",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88262",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8828",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88285",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88287",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88299",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88315",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88327",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88325",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88338",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.882",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88215",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88221",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88241",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88247",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88258",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88251",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8825",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88264",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.03884",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88263",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-33140"
                },
                {
                    "reference_url": "https://github.com/apache/nifi",
                    "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"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr",
                    "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/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr"
                },
                {
                    "reference_url": "https://nifi.apache.org/security.html#CVE-2022-33140",
                    "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-2022-33140"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-33140",
                    "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://nvd.nist.gov/vuln/detail/CVE-2022-33140"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-77hf-23pq-2g7c",
                    "reference_id": "GHSA-77hf-23pq-2g7c",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-77hf-23pq-2g7c"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/317921?format=api",
                    "purl": "pkg:maven/org.apache.nifi.registry/nifi-registry-web-api@1.16.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi.registry/nifi-registry-web-api@1.16.3"
                }
            ],
            "aliases": [
                "CVE-2022-33140",
                "GHSA-77hf-23pq-2g7c"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xhjy-xmhq-abh7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi.registry/nifi-registry-web-api@1.16.3"
}