CVE Database›Document archive›CVE-2023-31038

CVE-2023-31038

log4cxx: SQL injection in Log4cxx when using the ODBC appender to send log messages to a database

Loading…

Severity

Important

Red Hat Product Security

8.8

CVSS 3.1

Review impact separately from score.

Published · May 7, 2023

Updated · November 21, 2025

Description

A vulnerability was found in the Log4cxx library. This issue causes a SQL injection in Log4cxx when using the ODBC appender to send log messages to a database. No fields sent to the database were properly escaped for SQL injection.

Statement

Red Hat Enterprise Linux 7 is not affected by this security flaw as ODBC support is disabled by default in RHEL-7.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')