StackPatch is liveSee product

Back to CVE digest
CVE-2023-31038 · cross-distro fix matrix

CVE-2023-31038: 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.  This has been the case since at least version 0.9.0(released 2003-08-06) Note that Log4cxx is a C++ framework, so only C++ applicati

Affects 1 Linux release across 1 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2023-31038 has a known fix. Run the listed command on that distro to remediate.

Debian trixie

Source: Debian Security Tracker

  • log4cxx→ fixed in1.1.0-1urgency: unimportant
    sudo apt-get install --only-upgrade -y log4cxx
Are YOU affected by CVE-2023-31038?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2023-31038dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)