Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65375?format=api",
    "purl": "pkg:maven/org.apache.nifi/nifi@1.22.0",
    "type": "maven",
    "namespace": "org.apache.nifi",
    "name": "nifi",
    "version": "1.22.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.23.0",
    "latest_non_vulnerable_version": "1.24.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45757?format=api",
            "vulnerability_id": "VCID-mm3u-4acx-e3hj",
            "summary": "Apache NiFi Code Injection vulnerability\nApache NiFi 0.0.2 through 1.22.0 include Processors and Controller Services that support HTTP URL references for retrieving drivers, which allows an authenticated and authorized user to configure a location that enables custom code execution. The resolution introduces a new Required Permission for referencing remote resources, restricting configuration of these components to privileged users. The permission prevents unprivileged users from configuring Processors and Controller Services annotated with the new Reference Remote Resources restriction. Upgrading to Apache NiFi 1.23.0 is the recommended mitigation.",
            "references": [
                {
                    "reference_url": "http://seclists.org/fulldisclosure/2023/Jul/43",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/fulldisclosure/2023/Jul/43"
                },
                {
                    "reference_url": "https://github.com/apache/nifi",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/nifi"
                },
                {
                    "reference_url": "https://github.com/apache/nifi/commit/532578799c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/nifi/commit/532578799c"
                },
                {
                    "reference_url": "https://issues.apache.org/jira/browse/NIFI-11744",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/NIFI-11744"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbof",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread/swnly3dzhhq9zo3rofc8djq77stkhbof"
                },
                {
                    "reference_url": "https://nifi.apache.org/security.html#CVE-2023-36542",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nifi.apache.org/security.html#CVE-2023-36542"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2023/07/29/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2023/07/29/1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36542",
                    "reference_id": "CVE-2023-36542",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36542"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-r969-8v3h-23v9",
                    "reference_id": "GHSA-r969-8v3h-23v9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-r969-8v3h-23v9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/66337?format=api",
                    "purl": "pkg:maven/org.apache.nifi/nifi@1.23.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.23.0"
                }
            ],
            "aliases": [
                "CVE-2023-36542",
                "GHSA-r969-8v3h-23v9"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mm3u-4acx-e3hj"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45352?format=api",
            "vulnerability_id": "VCID-qkvt-fdp4-uyd6",
            "summary": "Deserialization of Untrusted Data\nThe JndiJmsConnectionFactoryProvider Controller Service, along with the ConsumeJMS and PublishJMS Processors, in Apache NiFi 1.8.0 through 1.21.0 allow an authenticated and authorized user to configure URL and library properties that enable deserialization of untrusted data from a remote location.\n\nThe resolution validates the JNDI URL and restricts locations to a set of allowed schemes.\n\nYou are recommended to upgrade to version 1.22.0 or later which fixes this issue.",
            "references": [
                {
                    "reference_url": "https://github.com/apache/nifi",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/nifi"
                },
                {
                    "reference_url": "https://github.com/apache/nifi/commit/3fcb82ee4509d1ad73893d8dca003be6d086c5d6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/nifi/commit/3fcb82ee4509d1ad73893d8dca003be6d086c5d6"
                },
                {
                    "reference_url": "https://github.com/apache/nifi/pull/7313",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/nifi/pull/7313"
                },
                {
                    "reference_url": "https://issues.apache.org/jira/browse/NIFI-11614",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/NIFI-11614"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/w5rm46fxmvxy216tglf0dv83wo6gnzr5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread/w5rm46fxmvxy216tglf0dv83wo6gnzr5"
                },
                {
                    "reference_url": "https://nifi.apache.org/security.html#CVE-2023-34212",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nifi.apache.org/security.html#CVE-2023-34212"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2023/06/12/2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2023/06/12/2"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34212",
                    "reference_id": "CVE-2023-34212",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34212"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-65wh-g8x8-gm2h",
                    "reference_id": "GHSA-65wh-g8x8-gm2h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-65wh-g8x8-gm2h"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65375?format=api",
                    "purl": "pkg:maven/org.apache.nifi/nifi@1.22.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-mm3u-4acx-e3hj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.22.0"
                }
            ],
            "aliases": [
                "CVE-2023-34212",
                "GHSA-65wh-g8x8-gm2h"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qkvt-fdp4-uyd6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45353?format=api",
            "vulnerability_id": "VCID-uwnc-5qk4-eqgw",
            "summary": "Apache NiFi vulnerable to Code Injection\nThe DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution.\n\nThe resolution validates the Database URL and rejects H2 JDBC locations.\n\nYou are recommended to upgrade to version 1.22.0 or later which fixes this issue.",
            "references": [
                {
                    "reference_url": "https://exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468"
                },
                {
                    "reference_url": "https://github.com/apache/nifi",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/nifi"
                },
                {
                    "reference_url": "https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361"
                },
                {
                    "reference_url": "https://github.com/apache/nifi/pull/7349",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/nifi/pull/7349"
                },
                {
                    "reference_url": "https://issues.apache.org/jira/browse/NIFI-11653",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/NIFI-11653"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8"
                },
                {
                    "reference_url": "https://nifi.apache.org/security.html#CVE-2023-34468",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nifi.apache.org/security.html#CVE-2023-34468"
                },
                {
                    "reference_url": "https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2023/06/12/3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2023/06/12/3"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34468",
                    "reference_id": "CVE-2023-34468",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34468"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xm2m-2q6h-22jw",
                    "reference_id": "GHSA-xm2m-2q6h-22jw",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xm2m-2q6h-22jw"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65375?format=api",
                    "purl": "pkg:maven/org.apache.nifi/nifi@1.22.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-mm3u-4acx-e3hj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.22.0"
                }
            ],
            "aliases": [
                "CVE-2023-34468",
                "GHSA-xm2m-2q6h-22jw"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uwnc-5qk4-eqgw"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.22.0"
}