{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-40037","id":"CVE-2023-40037","title":"Apache NiFi: Incomplete Validation of JDBC and JNDI Connection URLs","description":"Apache 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 add","descriptionLong":"Apache 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.","published":"2023-08-18T21:54:52.454Z","updated":"2026-10-28T02:31:07.133337597Z","reserved":"2023-08-08T16:31:31.220Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Apache Software Foundation Apache NiFi"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache NiFi","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"1.23.0","status":"affected","version":"1.21.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.nifi:nifi-dbcp-base","purl":"pkg:maven/org.apache.nifi/nifi-dbcp-base","ranges":[">=1.21.0 <1.23.1"],"fixed":["1.23.1"],"advisory":"GHSA-23qf-3jf9-h3q9"},{"ecosystem":"Maven","name":"org.apache.nifi:nifi-jms-processors","purl":"pkg:maven/org.apache.nifi/nifi-jms-processors","ranges":[">=1.21.0 <1.23.1"],"fixed":["1.23.1"],"advisory":"GHSA-23qf-3jf9-h3q9"},{"ecosystem":"Maven","name":"org.apache.nifi:nifi-dbcp-service-api","purl":"pkg:maven/org.apache.nifi/nifi-dbcp-service-api","ranges":[">=1.21.0 <1.23.1"],"fixed":["1.23.1"],"advisory":"GHSA-23qf-3jf9-h3q9"},{"ecosystem":"Maven","name":"org.apache.nifi:nifi-dbcp-service-bundle","purl":"pkg:maven/org.apache.nifi/nifi-dbcp-service-bundle","ranges":[">=1.21.0 <1.23.1"],"fixed":["1.23.1"],"advisory":"GHSA-23qf-3jf9-h3q9"}],"cwes":["CWE-184","CWE-697"],"aliases":["BIT-nifi-2023-40037","GHSA-23qf-3jf9-h3q9"],"references":[{"url":"https://nifi.apache.org/security.html#CVE-2023-40037","tags":["release-notes","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://lists.apache.org/thread/bqbjlrs2p5ghh8sbk5nsxb8xpf9l687q","tags":["vendor-advisory","x_transferred","Mailing List","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/08/18/2","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40037.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40037","tags":["advisory"]},{"url":"https://github.com/apache/nifi/pull/7586","tags":["web"]},{"url":"https://github.com/apache/nifi/commit/064550aacc189f39d7ddd2c0446068adf250f1bf","tags":["web"]},{"url":"https://github.com/apache/nifi","tags":["package"]},{"url":"https://issues.apache.org/jira/browse/NIFI-11920","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.02085,"epssPercentile":0.81973,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-40037","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40037","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-40037","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-23qf-3jf9-h3q9","ok":true,"note":"GHSA-23qf-3jf9-h3q9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-40037","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}