This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch fix/new-cves in repository https://gitbox.apache.org/repos/asf/logging-site.git
commit ca58aa46faffb0b771e65a296821a952760cc28e Author: Piotr P. Karwasz <[email protected]> AuthorDate: Fri Apr 10 14:48:38 2026 +0200 Add details for CVE-2026-34481 --- .../modules/ROOT/pages/_vulnerabilities.adoc | 40 +++++++++++++++ src/site/static/cyclonedx/vdr.xml | 60 ++++++++++++++++++++++ 2 files changed, 100 insertions(+) diff --git a/src/site/antora/modules/ROOT/pages/_vulnerabilities.adoc b/src/site/antora/modules/ROOT/pages/_vulnerabilities.adoc index d81d5694..7f24d36f 100644 --- a/src/site/antora/modules/ROOT/pages/_vulnerabilities.adoc +++ b/src/site/antora/modules/ROOT/pages/_vulnerabilities.adoc @@ -29,6 +29,46 @@ Version ranges follow the https://github.com/package-url/vers-spec/blob/main/VER For brevity, mathematical interval notation is used, with the union operator (`∪`) to represent multiple ranges. ==== +[#CVE-2026-34481] +== {cve-url-prefix}/CVE-2026-34481[CVE-2026-34481] + +[cols="1h,5"] +|=== +|Summary |Improper serialization of non-finite floating-point values in `JsonTemplateLayout` +|CVSS 4.x Score & Vector |6.3 MEDIUM (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N) +|Components affected |`log4j-layout-template-json` +|Versions affected |`[2.14.0, 2.25.4) ∪ [3.0.0-alpha1, 3.0.0-beta3]` +|Versions fixed |`2.25.4` +|=== + +[#CVE-2026-34481-description] +=== Description + +Apache Log4j's +https://logging.apache.org/log4j/2.x/manual/json-template-layout.html[`JsonTemplateLayout`], +in versions up to and including 2.25.3, produces invalid JSON output when log events contain non-finite floating-point values (`NaN`, `Infinity`, or `-Infinity`), which are prohibited by RFC 8259. +This may cause downstream log processing systems to reject or fail to index affected records. + +An attacker can exploit this issue only if both of the following conditions are met: + +* The application uses `JsonTemplateLayout`. +* The application logs a `MapMessage` containing an attacker-controlled floating-point value. + +[#CVE-2026-34481-remediation] +=== Remediation + +Users are advised to upgrade to Apache Log4j JSON Template Layout version `2.25.4`, which corrects this issue. + +[#CVE-2026-34481-credits] +=== Credits + +This issue was discovered by Ap4sh (Samy Medjahed) and Ethicxz (Eliott Laurie). + +[#CVE-2026-34481-references] +=== References +* {cve-url-prefix}/CVE-2026-34481[CVE-2026-34481] +* https://github.com/apache/logging-log4j2/pull/4080[Pull request that fixes the issue] + [#CVE-2026-34480] == {cve-url-prefix}/CVE-2026-34480[CVE-2026-34480] diff --git a/src/site/static/cyclonedx/vdr.xml b/src/site/static/cyclonedx/vdr.xml index 96f94f98..dfa85701 100644 --- a/src/site/static/cyclonedx/vdr.xml +++ b/src/site/static/cyclonedx/vdr.xml @@ -89,6 +89,66 @@ <vulnerabilities> + <vulnerability> + <id>CVE-2026-34481</id> + <source> + <name>NVD</name> + <url>https://nvd.nist.gov/vuln/detail/CVE-2026-34481</url> + </source> + <ratings> + <rating> + <source> + <name>The Apache Software Foundation</name> + <url> + <![CDATA[https://www.first.org/cvss/calculator/4-0#CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N]]></url> + </source> + <score>6.3</score> + <severity>medium</severity> + <method>CVSSv4</method> + <vector>AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N</vector> + </rating> + </ratings> + <cwes> + <cwe>116</cwe> + </cwes> + <description><![CDATA[Apache Log4j's +https://logging.apache.org/log4j/2.x/manual/json-template-layout.html[`JsonTemplateLayout`], +in versions up to and including 2.25.3, produces invalid JSON output when log events contain non-finite floating-point values (`NaN`, `Infinity`, or `-Infinity`), which are prohibited by RFC 8259. +This may cause downstream log processing systems to reject or fail to index affected records. + +An attacker can exploit this issue only if both of the following conditions are met: + +* The application uses `JsonTemplateLayout`. +* The application logs a `MapMessage` containing an attacker-controlled floating-point value.]]></description> + <recommendation><![CDATA[Users are advised to upgrade to Apache Log4j JSON Template Layout version `2.25.4`, which corrects this issue.]]></recommendation> + <created>2026-04-10T11:53:17Z</created> + <published>2026-04-10T11:53:17Z</published> + <updated>2026-04-10T11:53:17Z</updated> + <credits> + <individuals> + <individual> + <name>Ap4sh (Samy Medjahed)</name> + </individual> + <individual> + <name>Ethicxz (Eliott Laurie)</name> + </individual> + </individuals> + </credits> + <affects> + <target> + <ref>log4j-layout-template-json</ref> + <versions> + <version> + <range><![CDATA[vers:maven/>=2.14.0|<2.25.4]]></range> + </version> + <version> + <range><![CDATA[vers:maven/>=3.0.0-alpha1|<=3.0.0-beta3]]></range> + </version> + </versions> + </target> + </affects> + </vulnerability> + <vulnerability> <id>CVE-2026-34480</id> <source>
