cve.bz

CVE-2023-40037 apache nifi: Incorrect Comparison

6.5 mediumEPSS 2.1%Fix available

Medium (6.5) in apache nifi. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.nifi:nifi-dbcp-base 1.23.1.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-697 Incorrect Comparison
CWE-184 Incomplete List of Disallowed Inputs
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • org.apache.nifi:nifi-dbcp-base (Maven): fixed in 1.23.1
  • org.apache.nifi:nifi-jms-processors (Maven): fixed in 1.23.1
  • org.apache.nifi:nifi-dbcp-service-api (Maven): fixed in 1.23.1
  • org.apache.nifi:nifi-dbcp-service-bundle (Maven): fixed in 1.23.1
  • Vendor advisory: https://nifi.apache.org/security.html#CVE-2023-40037

Ask an AI about this CVE

Show the promptExplain CVE-2023-40037 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-40037?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-40037?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-40037 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache NiFifrom 1.21.0 through 1.23.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-23qf-3jf9-h3q9Mavenorg.apache.nifi:nifi-dbcp-base>=1.21.0 <1.23.11.23.1
GHSA-23qf-3jf9-h3q9Mavenorg.apache.nifi:nifi-jms-processors>=1.21.0 <1.23.11.23.1
GHSA-23qf-3jf9-h3q9Mavenorg.apache.nifi:nifi-dbcp-service-api>=1.21.0 <1.23.11.23.1
GHSA-23qf-3jf9-h3q9Mavenorg.apache.nifi:nifi-dbcp-service-bundle>=1.21.0 <1.23.11.23.1

Attack patterns (CAPEC)

  • CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
  • CAPEC-182 Flash Injection Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-697 (29).

References

Check your stackJSON