Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2023-34468"
        },
        {
            "alias": "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65360?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-base@1.22.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-base@1.22.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65362?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-nar@1.22.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-nar@1.22.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65358?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-hikari-dbcp-service@1.22.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-hikari-dbcp-service@1.22.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65376?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi@0.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mm3u-4acx-e3hj"
                },
                {
                    "vulnerability": "VCID-uwnc-5qk4-eqgw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@0.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65359?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-base@0.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-uwnc-5qk4-eqgw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-base@0.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65361?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-nar@0.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-uwnc-5qk4-eqgw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-nar@0.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65357?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-hikari-dbcp-service@0.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mm3u-4acx-e3hj"
                },
                {
                    "vulnerability": "VCID-uwnc-5qk4-eqgw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-hikari-dbcp-service@0.0.2"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uwnc-5qk4-eqgw"
}