Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18765?format=api",
    "vulnerability_id": "VCID-ues1-6z47-q7hc",
    "summary": "Incorrect Comparison\nApache NiFi 1.21.0 through 1.23.0 support JDBC and JNDI JMS access in several Processors and Controller Services with connection URL validation that does not provide sufficient protection against crafted inputs. An authenticated and authorized user can bypass connection URL validation using custom input formatting. The resolution enhances connection URL validation and introduces validation for additional related properties. Upgrading to Apache NiFi 1.23.1 is the recommended mitigation.",
    "aliases": [
        {
            "alias": "CVE-2023-40037"
        },
        {
            "alias": "GHSA-23qf-3jf9-h3q9"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59524?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi@1.23.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hy35-v2p5-2ycq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.23.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59530?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-base@1.23.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-base@1.23.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59532?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-api@1.23.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-api@1.23.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59528?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-bundle@1.23.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-bundle@1.23.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59526?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-jms-processors@1.23.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-jms-processors@1.23.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57916?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi@1.21.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3eka-p4cs-f3dz"
                },
                {
                    "vulnerability": "VCID-4uja-72yx-6qdc"
                },
                {
                    "vulnerability": "VCID-hy35-v2p5-2ycq"
                },
                {
                    "vulnerability": "VCID-rv8f-q4a4-xqbk"
                },
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.21.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57917?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi@1.22.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hy35-v2p5-2ycq"
                },
                {
                    "vulnerability": "VCID-rv8f-q4a4-xqbk"
                },
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.22.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59199?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi@1.23.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hy35-v2p5-2ycq"
                },
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi@1.23.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59529?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-base@1.21.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3eka-p4cs-f3dz"
                },
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-base@1.21.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57897?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-base@1.22.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "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/617308?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-base@1.23.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-base@1.23.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59531?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-api@1.21.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-api@1.21.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/617309?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-api@1.22.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-api@1.22.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/617310?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-api@1.23.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-api@1.23.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59527?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-bundle@1.21.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-bundle@1.21.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/617306?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-bundle@1.22.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-bundle@1.22.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/617307?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-dbcp-service-bundle@1.23.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-dbcp-service-bundle@1.23.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59525?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-jms-processors@1.21.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4uja-72yx-6qdc"
                },
                {
                    "vulnerability": "VCID-rv8f-q4a4-xqbk"
                },
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-jms-processors@1.21.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57910?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-jms-processors@1.22.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rv8f-q4a4-xqbk"
                },
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-jms-processors@1.22.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59203?format=api",
            "purl": "pkg:maven/org.apache.nifi/nifi-jms-processors@1.23.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ues1-6z47-q7hc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.nifi/nifi-jms-processors@1.23.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-40037",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.794",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7961",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79574",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79558",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79561",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79543",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79522",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79415",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79388",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79508",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79492",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79485",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79452",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79449",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79451",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7942",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79431",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79378",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79447",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01261",
                    "scoring_system": "epss",
                    "scoring_elements": "0.79424",
                    "published_at": "2026-04-09T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-40037"
        },
        {
            "reference_url": "https://github.com/apache/nifi",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/nifi"
        },
        {
            "reference_url": "https://github.com/apache/nifi/commit/064550aacc189f39d7ddd2c0446068adf250f1bf",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/nifi/commit/064550aacc189f39d7ddd2c0446068adf250f1bf"
        },
        {
            "reference_url": "https://github.com/apache/nifi/pull/7586",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/nifi/pull/7586"
        },
        {
            "reference_url": "https://issues.apache.org/jira/browse/NIFI-11920",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://issues.apache.org/jira/browse/NIFI-11920"
        },
        {
            "reference_url": "https://lists.apache.org/thread/bqbjlrs2p5ghh8sbk5nsxb8xpf9l687q",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-27T20:06:15Z/"
                }
            ],
            "url": "https://lists.apache.org/thread/bqbjlrs2p5ghh8sbk5nsxb8xpf9l687q"
        },
        {
            "reference_url": "https://nifi.apache.org/security.html#CVE-2023-40037",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-27T20:06:15Z/"
                }
            ],
            "url": "https://nifi.apache.org/security.html#CVE-2023-40037"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2023/08/18/2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-27T20:06:15Z/"
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2023/08/18/2"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40037",
            "reference_id": "CVE-2023-40037",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40037"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-23qf-3jf9-h3q9",
            "reference_id": "GHSA-23qf-3jf9-h3q9",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-23qf-3jf9-h3q9"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 697,
            "name": "Incorrect Comparison",
            "description": "The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses."
        },
        {
            "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": 184,
            "name": "Incomplete List of Disallowed Inputs",
            "description": "The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete, leading to resultant weaknesses."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ues1-6z47-q7hc"
}