Skip to content

Commit 2a17758

Browse files
1 parent 5d083d1 commit 2a17758

File tree

2 files changed

+89
-56
lines changed

2 files changed

+89
-56
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-vc5p-v9hr-52mj",
4+
"modified": "2025-12-19T22:08:02Z",
5+
"published": "2025-12-18T21:31:44Z",
6+
"aliases": [
7+
"CVE-2025-68161"
8+
],
9+
"summary": "Apache Log4j does not verify the TLS hostname in its Socket Appender",
10+
"details": "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.\n\nThis issue may allow a man-in-the-middle attacker to intercept or redirect log traffic under the following conditions:\n\n * The attacker is able to intercept or redirect network traffic between the client and the log receiver.\n * 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).\n\n\nUsers are advised to upgrade to Apache Log4j Core version 2.25.3, which addresses this issue.\n\nAs an alternative mitigation, the Socket Appender may be configured to use a private or restricted trust root to limit the set of trusted certificates.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "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"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Maven",
21+
"name": "org.apache.logging.log4j:log4j-core"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "2.0-beta9"
29+
},
30+
{
31+
"fixed": "2.25.3"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "ADVISORY",
41+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68161"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/apache/logging-log4j2/pull/4002"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/apache/logging-log4j2/commit/3b93748497e1adbbd027fda8a5e7268ec5d0d578"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://github.com/apache/logging-log4j2"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://lists.apache.org/thread/xr33kyxq3sl67lwb61ggvm1fzc8k7dvx"
58+
},
59+
{
60+
"type": "WEB",
61+
"url": "https://logging.apache.org/cyclonedx/vdr.xml"
62+
},
63+
{
64+
"type": "WEB",
65+
"url": "https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName"
66+
},
67+
{
68+
"type": "WEB",
69+
"url": "https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName"
70+
},
71+
{
72+
"type": "WEB",
73+
"url": "https://logging.apache.org/security.html#CVE-2025-68161"
74+
},
75+
{
76+
"type": "WEB",
77+
"url": "http://www.openwall.com/lists/oss-security/2025/12/18/1"
78+
}
79+
],
80+
"database_specific": {
81+
"cwe_ids": [
82+
"CWE-297"
83+
],
84+
"severity": "MODERATE",
85+
"github_reviewed": true,
86+
"github_reviewed_at": "2025-12-19T22:08:02Z",
87+
"nvd_published_at": "2025-12-18T21:15:57Z"
88+
}
89+
}

advisories/unreviewed/2025/12/GHSA-vc5p-v9hr-52mj/GHSA-vc5p-v9hr-52mj.json

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)