Zafiyetler / CVE-2022-23305

kritik

CVE-2022-23305

log4j: SQL injection in Log4j 1.x when application is configured to use JDBCAppender

Yayın Değişiklik CWE 89
En geç 24 Eki 2026, 07:11 UTC tarihinden beri Trivy database'indeO derlemeden önce ne zaman girdiği kayıtlı değil.

Kaynağa göre önem derecesi

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, GHSA. Daha düşük diyenler: Red Hat (yüksek), AlmaLinux (yüksek), Amazon (yüksek), Oracle (yüksek), Rocky Linux (yüksek), Ubuntu (orta).

Açıklama

By design, the JDBCAppender in Log4j 1.2.x accepts an SQL statement as a configuration parameter where the values to be inserted are converters from PatternLayout. The message converter, %m, is likely to always be included. This allows attackers to manipulate the SQL by entering crafted strings into input fields or headers of an application that are logged allowing unintended SQL queries to be executed. Note this issue only affects Log4j 1.x when specifically configured to use the JDBCAppender, which is not the default. Beginning in version 2.0-beta8, the JDBCAppender was re-introduced with proper support for parameterized SQL queries and further customization over the columns written to in logs. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.

Etkilenen paketler ve düzeltilmiş sürümler

KaynakPaketDüzeltildiği sürüm
maven::GitHub Security Advisory Mavenlog4j:log4j, org.zenframework.z8.dependencies.commons:log4j-1.2.17düzeltme belirtilmemiş
alma 8parfait:0.5::parfait, parfait:0.5::parfait-examples, parfait:0.5::parfait-javadoc ve 12 tane daha0.5.4-4.module_el8.5.0+235+62ea7738 ve 6 tane daha
amazon linux 1log4j, log4j-javadoc, log4j-manual1.2.17-16.14.amzn1
amazon linux 2log4j, log4j-javadoc, log4j-manual1.2.17-18.amzn2
chainguarddruid35.0.1-r1
debian 10apache-log4j1.21.2.17-8+deb10u2
debian 11apache-log4j1.21.2.17-10+deb11u1
debian 12apache-log4j1.21.2.17-11
debian 13apache-log4j1.21.2.17-11
debian 14apache-log4j1.21.2.17-11
debian 9apache-log4j1.21.2.17-7+deb9u2
echoapache-log4j1.21.2.17-11
23 kaynaktaki 76 kaydın hepsini göster
KaynakPaketDüzeltildiği sürüm
maven::GitHub Security Advisory Mavenlog4j:log4jdüzeltme belirtilmemiş
maven::GitHub Security Advisory Mavenorg.zenframework.z8.dependencies.commons:log4j-1.2.17düzeltme belirtilmemiş
alma 8parfait:0.5::parfait0.5.4-4.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::parfait-examples0.5.4-4.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::parfait-javadoc0.5.4-4.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::pcp-parfait-agent0.5.4-4.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::si-units0.6.5-2.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::si-units-javadoc0.6.5-2.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::unit-api1.0-5.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::unit-api-javadoc1.0-5.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::uom-lib1.0.1-6.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::uom-lib-javadoc1.0.1-6.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::uom-parent1.0.3-3.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::uom-se1.0.4-3.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::uom-se-javadoc1.0.4-3.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::uom-systems0.7-1.module_el8.5.0+235+62ea7738
alma 8parfait:0.5::uom-systems-javadoc0.7-1.module_el8.5.0+235+62ea7738
amazon linux 1log4j1.2.17-16.14.amzn1
amazon linux 1log4j-javadoc1.2.17-16.14.amzn1
amazon linux 1log4j-manual1.2.17-16.14.amzn1
amazon linux 2log4j1.2.17-18.amzn2
amazon linux 2log4j-javadoc1.2.17-18.amzn2
amazon linux 2log4j-manual1.2.17-18.amzn2
chainguarddruid35.0.1-r1
debian 10apache-log4j1.21.2.17-8+deb10u2
debian 11apache-log4j1.21.2.17-10+deb11u1
debian 12apache-log4j1.21.2.17-11
debian 13apache-log4j1.21.2.17-11
debian 14apache-log4j1.21.2.17-11
debian 9apache-log4j1.21.2.17-7+deb9u2
echoapache-log4j1.21.2.17-11
Oracle Linux 6log4j1.2.14-6.4.2.el6_10
Oracle Linux 6log4j-javadoc1.2.14-6.4.2.el6_10
Oracle Linux 6log4j-manual1.2.14-6.4.2.el6_10
Oracle Linux 7log4j1.2.17-18.el7_4
Oracle Linux 7log4j-javadoc1.2.17-18.el7_4
Oracle Linux 7log4j-manual1.2.17-18.el7_4
Oracle Linux 8parfait0.5.4-4.module+el8.5.0+20480+407d1823
Oracle Linux 8parfait-examples0.5.4-4.module+el8.5.0+20480+407d1823
Oracle Linux 8parfait-javadoc0.5.4-4.module+el8.5.0+20480+407d1823
Oracle Linux 8pcp-parfait-agent0.5.4-4.module+el8.5.0+20480+407d1823
Oracle Linux 8si-units0.6.5-2.module+el8+5163+abb6ece5
Oracle Linux 8si-units-javadoc0.6.5-2.module+el8+5163+abb6ece5
Oracle Linux 8unit-api1.0-5.module+el8+5163+abb6ece5
Oracle Linux 8unit-api-javadoc1.0-5.module+el8+5163+abb6ece5
Oracle Linux 8uom-lib1.0.1-6.module+el8+5163+abb6ece5
Oracle Linux 8uom-lib-javadoc1.0.1-6.module+el8+5163+abb6ece5
Oracle Linux 8uom-parent1.0.3-3.module+el8+5163+abb6ece5
Oracle Linux 8uom-se1.0.4-3.module+el8+5163+abb6ece5
Oracle Linux 8uom-se-javadoc1.0.4-3.module+el8+5163+abb6ece5
Oracle Linux 8uom-systems0.7-1.module+el8+5163+abb6ece5
Oracle Linux 8uom-systems-javadoc0.7-1.module+el8+5163+abb6ece5
Red Hatlog4jdüzeltme belirtilmemiş
Red Hatlog4j-eap6düzeltme belirtilmemiş
Red Hatopendaylightdüzeltme belirtilmemiş
rocky 8parfait:0.5::parfait0.5.4-4.module+el8.5.0+728+553fbdb8
rocky 8parfait:0.5::parfait-examples0.5.4-4.module+el8.5.0+728+553fbdb8
rocky 8parfait:0.5::parfait-javadoc0.5.4-4.module+el8.5.0+728+553fbdb8
rocky 8parfait:0.5::pcp-parfait-agent0.5.4-4.module+el8.5.0+728+553fbdb8
rocky 8parfait:0.5::si-units0.6.5-2.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::si-units-javadoc0.6.5-2.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::unit-api1.0-5.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::unit-api-javadoc1.0-5.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::uom-lib1.0.1-6.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::uom-lib-javadoc1.0.1-6.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::uom-parent1.0.3-3.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::uom-se1.0.4-3.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::uom-se-javadoc1.0.4-3.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::uom-systems0.7-1.module+el8.3.0+214+edf13b3f
rocky 8parfait:0.5::uom-systems-javadoc0.7-1.module+el8.3.0+214+edf13b3f
ubuntu 16.04-ESMapache-log4j1.21.2.17-7ubuntu1+esm1
ubuntu 18.04apache-log4j1.21.2.17-8+deb10u1ubuntu0.2
ubuntu 18.04-ESMapache-log4j1.21.2.17-8+deb10u1ubuntu0.2
ubuntu 20.04apache-log4j1.21.2.17-9ubuntu0.2
ubuntu 20.04-ESMapache-log4j1.21.2.17-9ubuntu0.2
wolfidruid35.0.1-r1

Referanslar

26 referansın hepsi

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.