CVE-2025-68161 (CNNVD-202512-3348)
中文标题:
Apache Log4j 安全漏洞
英文标题:
Apache Log4j Core: Missing TLS hostname verification in Socket appender
漏洞描述
中文描述:
Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 Apache Log4j 2.25.2及之前版本存在安全漏洞,该漏洞源于未执行TLS主机名验证,可能导致中间人攻击。
英文描述:
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.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Apache Software Foundation | Apache Log4j Core | - | < 2.25.3 | - |
cpe:2.3:a:apache_software_foundation:apache_log4j_core:*:*:*:*:*:*:*:*
|
| apache | log4j | * | - | - |
cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*
|
| apache | log4j | 2.0 | - | - |
cpe:2.3:a:apache:log4j:2.0:-:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
4.0 (cna)
MEDIUMCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-68161 |
2025-12-21 02:11:30 | 2026-01-12 02:12:28 |
| NVD | nvd_CVE-2025-68161 |
2025-12-20 03:16:54 | 2026-01-12 02:28:10 |
| CNNVD | cnnvd_CNNVD-202512-3348 |
2026-01-26 02:10:03 | 2026-01-25 18:11:38 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202512-3348
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- references_count: 7 -> 8
查看详细变更
- affected_products_count: 1 -> 3
查看详细变更
- affected_products_count: 2 -> 1
- references_count: 6 -> 7
- data_sources: ['cve'] -> ['cve', 'nvd']