Skip to content

Commit 362f8ff

Browse files
Merge pull request #7357 from github/ppkarwasz-GHSA-445c-vh5m-36rj
2 parents b80efe1 + 36e30ba commit 362f8ff

File tree

1 file changed

+46
-5
lines changed

1 file changed

+46
-5
lines changed

advisories/unreviewed/2026/04/GHSA-445c-vh5m-36rj/GHSA-445c-vh5m-36rj.json

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,59 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-445c-vh5m-36rj",
4-
"modified": "2026-04-10T18:31:18Z",
4+
"modified": "2026-04-10T18:31:27Z",
55
"published": "2026-04-10T18:31:17Z",
66
"aliases": [
77
"CVE-2026-34478"
88
],
9-
"details": "Apache Log4j Core's Rfc5424Layout https://logging.apache.org/log4j/2.x/manual/layouts.html#RFC5424Layout , in versions 2.21.0 through 2.25.3, is vulnerable to log injection via CRLF sequences due to undocumented renames of security-relevant configuration attributes.\n\nTwo distinct issues affect users of stream-based syslog services who configure Rfc5424Layout directly:\n\n * The newLineEscape attribute was silently renamed, causing newline escaping to stop working for users of TCP framing (RFC 6587), exposing them to CRLF injection in log output.\n * The useTlsMessageFormat attribute was silently renamed, causing users of TLS framing (RFC 5425) to be silently downgraded to unframed TCP (RFC 6587), without newline escaping.\n\n\nUsers of the SyslogAppender are not affected, as its configuration attributes were not modified.\n\nUsers are advised to upgrade to Apache Log4j Core 2.25.4, which corrects this issue.",
9+
"summary": "Apache Log4j Core: log injection in `Rfc5424Layout` due to silent configuration incompatibility",
10+
"details": "Apache Log4j Core's [`Rfc5424Layout`](https://logging.apache.org/log4j/2.x/manual/layouts.html#RFC5424Layout), in versions 2.21.0 through 2.25.3, is vulnerable to log injection via CRLF sequences due to undocumented renames of security-relevant configuration attributes.\n\nTwo distinct issues affect users of stream-based syslog services who configure Rfc5424Layout directly:\n\n * The `newLineEscape` attribute was silently renamed, causing newline escaping to stop working for users of TCP framing (RFC 6587), exposing them to CRLF injection in log output.\n * The `useTlsMessageFormat` attribute was silently renamed, causing users of TLS framing (RFC 5425) to be silently downgraded to unframed TCP (RFC 6587), without newline escaping.\n\nUsers of the `SyslogAppender` are not affected, as its configuration attributes were not modified.\n\nUsers are advised to upgrade to Apache Log4j Core 2.25.4, which corrects this issue.",
1011
"severity": [
1112
{
1213
"type": "CVSS_V4",
13-
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
14+
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/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.21.0"
29+
},
30+
{
31+
"fixed": "2.25.4"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "Maven",
40+
"name": "org.apache.logging.log4j:log4j-core"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "3.0.0-beta1"
48+
},
49+
{
50+
"last_affected": "3.0.0-beta3"
51+
}
52+
]
53+
}
54+
]
1455
}
1556
],
16-
"affected": [],
1757
"references": [
1858
{
1959
"type": "ADVISORY",
@@ -46,7 +86,8 @@
4686
],
4787
"database_specific": {
4888
"cwe_ids": [
49-
"CWE-117"
89+
"CWE-117",
90+
"CWE-684"
5091
],
5192
"severity": "MODERATE",
5293
"github_reviewed": false,

0 commit comments

Comments
 (0)