Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration (Apache Software Foundation Apache Log4j2)
En bref
- Source
- NVD
- EPSS
- EPSS 97.91 % · centile 100 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- apache
- Statut NVD
- Modified
Description
Apache Log4j2 versions 2.0-beta7 through 2.17.0 (excluding security fix releases 2.3.2 and 2.12.4) are vulnerable to a remote code execution (RCE) attack when a configuration uses a JDBC Appender with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI data source names to the java protocol in Log4j2 versions 2.17.1, 2.12.4, and 2.3.2.
Faiblesses (CWE)
- CWE-20 — Validation d'entrée incorrecte
- CWE-74 — Neutralisation incorrecte d'éléments spéciaux (injection)
Références
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- https://lists.apache.org/thread/s1o5vlo78ypqxnzn6p8zf6t9shtq5143
- https://issues.apache.org/jira/browse/LOG4J2-3293
- http://www.openwall.com/lists/oss-security/2021/12/28/1
- https://lists.debian.org/debian-lts-announce/2021/12/msg00036.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-784507.pdf
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EVV25FXL4FU5X6X5BSL7RLQ7T6F65MRA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T57MPJUW3MA6QGWZRTMCHHMMPQNVKGFC/
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20220104-0001/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
| CVSS 2.0 | HIGH 8.5 | AV:N/AC:M/Au:S/C:C/I:C/A:C | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-8489-44mv-ggj8 — Improper Input Validation and Injection in Apache Log4j2
Références européennes
- ENISA EUVD · EUVD-2022-0516
- GCVE · GCVE-0-2021-44832
Avis du CERT-FR
- CERTFR-2025-AVI-0855 — Multiples vulnérabilités dans les produits Juniper Networks · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0756 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0027 — Multiples vulnérabilités dans les produits Juniper Networks · cert.ssi.gouv.fr
- CERTFR-2022-AVI-960 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2022-AVI-933 — Multiples vulnérabilités dans Oracle Systems · cert.ssi.gouv.fr
- CERTFR-2022-AVI-717 — Multiples vulnérabilités dans les produits Schneider · cert.ssi.gouv.fr
- CERTFR-2022-AVI-526 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2022-AVI-366 — Multiples vulnérabilités dans Oracle PeopleSoft · cert.ssi.gouv.fr
- CERTFR-2022-AVI-345 — Multiples vulnérabilités dans les produits SAP · cert.ssi.gouv.fr
- CERTFR-2022-AVI-205 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2022-AVI-125 — Multiples vulnérabilités dans les produits SAP · cert.ssi.gouv.fr
- CERTFR-2022-AVI-1027 — Multiples vulnérabilités dans IBM Db2 · cert.ssi.gouv.fr
- CERTFR-2022-AVI-056 — Multiples vulnérabilités dans Oracle WebLogic Server · cert.ssi.gouv.fr
- CERTFR-2021-ALE-022 — [MaJ] Vulnérabilité dans Apache Log4j · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*≥ 2.0.1 < 2.3.2cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*≥ 2.4 < 2.12.4cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*≥ 2.13.0 < 2.17.1cpe:2.3:a:apache:log4j:2.0:-:*:*:*:*:*:*cpe:2.3:a:apache:log4j:2.0:beta7:*:*:*:*:*:*cpe:2.3:a:apache:log4j:2.0:beta8:*:*:*:*:*:*cpe:2.3:a:apache:log4j:2.0:beta9:*:*:*:*:*:*cpe:2.3:a:apache:log4j:2.0:rc1:*:*:*:*:*:*cpe:2.3:a:apache:log4j:2.0:rc2:*:*:*:*:*:*cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*≥ 8.0.0.0 ≤ 8.5.1.0cpe:2.3:a:oracle:communications_interactive_session_recorder:6.3:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_interactive_session_recorder:6.4:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:*≥ 17.12.0 ≤ 17.12.11cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:*≥ 18.8.0 ≤ 18.8.13cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:*≥ 19.12.0 ≤ 19.12.12cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:*≥ 20.12.0 ≤ 20.12.7cpe:2.3:a:oracle:primavera_gateway:21.12.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_p6_enterprise_project_portfolio_management:*:*:*:*:*:*:*:*≥ 19.12.0 ≤ 19.12.18.0cpe:2.3:a:oracle:primavera_p6_enterprise_project_portfolio_management:*:*:*:*:*:*:*:*≥ 20.12.0.0 ≤ 20.12.12.0cpe:2.3:a:oracle:primavera_p6_enterprise_project_portfolio_management:21.12.0.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_unifier:18.8:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_unifier:19.12:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_unifier:20.12:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_unifier:21.12:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_assortment_planning:16.0.3:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_fiscal_management:14.2:*:*:*:*:*:*:*cpe:2.3:a:oracle:siebel_ui_framework:21.12:*:*:*:*:*:*:*cpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:*cpe:2.3:a:cisco:cloudcenter:4.10.0.16:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:*:*:*:*:*:*:*:*< 12.0.0.4.6cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:12.0.0.5.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*≥ 8.3.0.0 ≤ 8.5.1.0cpe:2.3:a:oracle:communications_interactive_session_recorder:6.3:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_interactive_session_recorder:6.4:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_offline_mediation_controller:*:*:*:*:*:*:*:*< 12.0.0.4.4- +31 autres
Produits affectés
| Produit | Versions |
|---|---|
| Apache Software Foundation · Apache Log4j2 | affected log4j-core < 2.17.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |