CVE-2025-68161: Apache Log4j Core: Missing TLS hostname verification in Socket appender
CVE-2025-68161 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Medium
- CVSS base score
- 6.3 (NetApp)
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N· base score 6.3, scored by apacheAttack vector: network. Attack complexity: high. Attack requirements: none. Privileges required: none. User interaction: none. Confidentiality impact on the vulnerable system: low. Integrity impact on the vulnerable system: none. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: low. Availability impact on subsequent systems: none.- Weakness
- CWE-297 Improper Validation of Certificate with Host Mismatch
- EPSS
- 0.80% chance of exploitation in the next 30 days (57th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Fixed releases
- NetApp: NetApp Manageability SDK: 9.8P12
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-68161; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2025-68161?
You are affected if you run Data Infrastructure Insights and Data Secure Storage Workload Security Agent, NetApp Manageability SDK at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| NetApp: 2.25.2 | NetApp Manageability SDK: 9.8P12 |
Description
The Socket Appender in Apache Log4j Core versions 2.0-beta9 through 2.25.2 does not perform TLS hostname verification of the peer certificate, even when the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName configuration attribute or the log4j2.sslVerifyHostName https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName system property is set to true. This issue may allow a man-in-the-middle attacker to intercept or redirect log traffic under the following conditions: * The attacker is able to intercept or redirect network traffic between the client and the log receiver. * The attacker can present a server certificate issued by a certification authority trusted by the Socket Appender’s configured trust store (or by the default Java trust store if no custom trust store is configured). Users are advised to upgrade to Apache Log4j Core version 2.25.3, which addresses this issue. As an alternative mitigation, the Socket Appender may be configured to use a private or restricted trust root to limit the set of trusted certificates.
Text from the CVE.org record (apache).
How do I fix CVE-2025-68161?
Upgrade to a fixed release named by the vendor:
- NetApp: NetApp Manageability SDK: 9.8P12
- Update affected NetApp products to a fixed release: NetApp Manageability SDK: 9.8P12. (NetApp)
- Data Infrastructure Insights and Data Secure Storage Workload Security Agent: Fixed 20260513. (NetApp)
Vendor advisories for CVE-2025-68161
Apache
1 advisory- Advisory severityMedium6.3
Medium [CVE-2025-68161 +1] Apache Log4j: The fix for CVE-2025-68161 https://logging.apache.org/security.html#CVE-2025-68161 was incomplete: it addressed hostname…
CVE-2026-34477Source published Source updated
This bulletin covers 2 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
The fix for CVE-2025-68161 was incomplete: it addressed hostname verification only when enabled via the log4j2.sslVerifyHostName system property, but not when configured through the verifyHostName attribute of the element. Although the verifyHostName configuration attribute was introduced in Log4j Core 2.12.0, it was silently ignored in all versions through 2.25.3, leaving TLS connections vulnerable to interception regardless of the configured value. A network-based attacker may be able to perform a man-in-the-middle attack when all of the following conditions are met: * An SMTP, Socket, or Syslog appender is in use. * TLS is configured via a nested element. * The attacker can present a certificate issued by a CA trusted by the appender's configured trust store, or by the default Java…
- Affected products in this advisory
- Apache Log4j
- Apache Log4j Core
- Log4j
- Source-reported affected versions
- through 2.25.3
- Source-reported fixed versions
- 2.25.4
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
NetApp
1 advisory- Advisory severityMedium6.3
Medium [CVE-2025-68161] Apache Log4j Vulnerability in NetApp Products
NTAP-20260123-0014Source published Source updated
Multiple NetApp products incorporate Apache Log4j. Apache Log4j versions 2.0-beta9 through 2.25.2 are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information. Successful exploitation of this vulnerability could lead to disclosure of sensitive information. Affected products: Data Infrastructure Insights and Data Secure Storage Workload Security Agent, NetApp Manageability SDK. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.
- Affected products in this advisory
- Data Infrastructure Insights and Data Secure Storage Workload Security Agent
- NetApp Manageability SDK
- Source-reported affected versions
- 2.25.2
- Source-reported fixed versions
- NetApp Manageability SDK: 9.8P12
- Mitigation guidance
- Update affected NetApp products to a fixed release: NetApp Manageability SDK: 9.8P12.
- Data Infrastructure Insights and Data Secure Storage Workload Security Agent: Fixed 20260513.
References
- CVE-2025-68161 recordCVE.org
- CVE-2025-68161 detailNVD
- github.com/apache/logging-log4j2/pull/4002patch
- logging.apache.org/security.htmlvendor-advisory
- logging.apache.org/cyclonedx/vdr.xmlvendor-advisory
- logging.apache.org/log4j/2.x/manual/systemproperties.htmlrelated
- logging.apache.org/log4j/2.x/manual/appenders/network.htmlrelated
- lists.apache.org/thread/xr33kyxq3sl67lwb61ggvm1fzc8k7dvxvendor-advisory
Timeline
- CVE record published
- CVE record last updated
- First vendor advisory listed by VulniPulse
More Apache advisories
CVE-2026-71501Nov 25, 2026Apache JSPWiki: XSS vulnerability on Edit.jspCVE-2026-71902Nov 25, 2026Apache JSPWiki: XSS vulnerability (Group.jsp)CVE-2026-71903Nov 25, 2026Cross Site Scripting (XSS) in JSPWIKI in versions 2.12.4 and olderCVE-2026-78089Nov 25, 2026Apache JSPWiki: XSS in SvnStyleDiffProviderCVE-2026-78090Nov 25, 2026Apache JSPWiki: XSS InsertPageCVE-2026-78091Nov 25, 2026Apache JSPWIKI: XSS in ReferringUndefinedPagesPlugin
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.