Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-40145

32
FAUCET Score

CVE-2022-40145 is a critical remote code execution (RCE) vulnerability affecting Apache Karaf versions up to 4.4.1 and 4.3.7. It allows for code injection when an attacker controls the target LDAP server used in a JDBC JNDI URL, specifically due to unfiltered InitialContext.lookup() calls. This flaw carries a CVSS score of 9.8 (Critical), indicating a network-exploitable vulnerability with no user interaction required, leading to complete compromise of confidentiality, integrity, and availability. While there is no evidence of active exploitation or public exploit code, the vulnerability has garnered significant community discussion, suggesting potential interest. Users are strongly advised to upgrade to Apache Karaf 4.4.2 or 4.3.8 to mitigate this risk.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.3.8CPE matchmatch criteria
cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:*
>= 4.4.0, < 4.4.2CPE matchmatch criteria
cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
2.40%
Probability of exploitation in next 30 days
EPSS Percentile
82.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0240 is in the 72nd percentile among its peer group of 36,833 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

mavenpatch availablevia ghsa
Product: org.apache.karaf:apache-karafFixed in: 4.3.8
mavenpatch availablevia ghsa
Product: org.apache.karaf:apache-karafFixed in: 4.4.2

Vendor Advisories (2)

mavenGHSA-c2p4-8mvv-rwmvcritical

Apache Karaf vulnerable to potential code injection

Dec 21, 2022
redhatCVE-2022-40145Important

karaf: JDBC JAAS LDAP injection

Dec 21, 2022

References

karaf.apache.org / security/cve-2022-40145.txt
Vendor Advisory