Skip to main content
FOSSA Logo
Skip to package details

org.apache.logging.log4j:log4j-core

Maven3.6k GitHub stars

v3.0.0-beta3 · Nov 2024 · Apache-2.0 (top-level declared license)

Install format
<dependency>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-core</artifactId>
  <version>3.0.0-beta3</version>
</dependency>
implementation("org.apache.logging.log4j:log4j-core:3.0.0-beta3")
  • 3 known CVEs (0 in v3.0.0-beta3)
  • 239 known dependents
  • ★ 3.6k
  • 78 versions

Description

Apache Log4j is a versatile, feature-rich, efficient logging API and backend for Java.

Licenses

Declared license

Apache-2.0 (top-level declared license of org.apache.logging.log4j:log4j-core)

Transitive dependency licenses

This package's dependency tree includes LGPL-2.1-only, which may require you to publish changes to that component when you distribute.

LicenseCategoryDependencies
Apache-2.0Permissive12 of 14
Apache-2.0 OR EPL-2.0Permissive1 of 14
LGPL-2.1-onlyWeak copyleft1 of 14

This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.

License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.

Need org.apache.logging.log4j:log4j-core approved? Get the full license and vulnerability report for your codebase. Scan free.

Scan free

Vulnerabilities

CVE-linked advisories
Affected rangeCVECWECVSSEPSS
>=2.0-alpha1 <2.25.4CVE-2026-34480CWE-1160.01187
>=2.21.0 <2.25.4CVE-2026-34478CWE-117, CWE-6840.01187
>=2.12.0 <2.25.4CVE-2026-34477CWE-2970.00502

Remediation

Fix versions
CVEIssueImpactedFixed in
CVE-2026-34480Apache Log4j Core: Silent log event loss in XmlLayout due to unescaped XML 1.0 forbidden characters>=2.0-alpha1 <2.25.42.25.4
CVE-2026-34478Apache Log4j Core: log injection in `Rfc5424Layout` due to silent configuration incompatibility>=2.21.0 <2.25.42.25.4
CVE-2026-34477Apache Log4j Core: `verifyHostName` attribute silently ignored in TLS configuration>=2.12.0 <2.25.42.25.4

Find and fix org.apache.logging.log4j:log4j-core issues across your dependencies.

Scan free

Version history

Published versions
VersionPublishedLicense
3.0.0-beta3Nov 2024Apache-2.0
2.24.1Sep 2024
2.24.0Sep 2024
2.23.1Mar 2024
2.23.0Feb 2024
2.22.1Dec 2023
2.22.0Nov 2023
2.21.1Oct 2023
2.21.0Oct 2023
2.20.0Feb 2023
2.19.0Sep 2022
2.18.0Jun 2022
2.17.2Feb 2022
2.3.2Dec 2021
2.12.4Dec 2021
2.17.1Dec 2021
2.3.1Dec 2021
2.12.3Dec 2021
2.17.0Dec 2021
2.12.2Dec 2021
2.16.0Dec 2021
2.15.0Dec 2021
2.14.1Mar 2021
2.14.0Nov 2020
2.13.3May 2020
26 older releases
Older published versions
VersionPublishedLicense
2.13.2Apr 2020
2.13.1Feb 2020
2.13.0Dec 2019
2.12.1Aug 2019
2.12.0Jun 2019
2.11.2Feb 2019
2.11.1Jul 2018
2.11.0Mar 2018
2.10.0Nov 2017
2.9.1Sep 2017
2.9.0Aug 2017
2.8.2Apr 2017
2.8.1Feb 2017
2.8Jan 2017
2.7Oct 2016
2.6.2Jul 2016
2.6.1Jun 2016
2.6May 2016
2.5Dec 2015
2.4.1Oct 2015
2.4Sep 2015
2.3May 2015
2.2Feb 2015
2.1Oct 2014
2.0.2Aug 2014
2.0.1Jul 2014

Latest pre-release: 3.0.0-beta2 (Feb 2024). Pre-releases (canary, beta, release candidate and similar) are not listed.

Dependencies

Direct dependencies

10 direct dependencies, 14 in total including transitive. Licenses across the full tree are summarized under Licenses.

Direct dependencies
PackageVersion rangeLicense
biz.aQute.bnd:biz.aQute.bnd.annotation7.0.0Apache-2.0 OR EPL-2.0
com.github.spotbugs:spotbugs-annotations4.8.6LGPL-2.1
com.google.errorprone:error_prone_annotations2.32.0Apache-2.0
org.apache.logging.log4j:log4j-api2.24.1Apache-2.0
org.apache.logging.log4j:log4j-kit3.0.0-beta3Apache-2.0
org.apache.logging.log4j:log4j-plugins3.0.0-beta3Apache-2.0
org.jspecify:jspecify1.0.0Apache-2.0
org.osgi:org.osgi.annotation.bundle2.0.0Apache-2.0
org.osgi:org.osgi.framework1.10.0Apache-2.0
org.osgi:osgi.annotation8.1.0Apache-2.0

Dependents

  • org.springframework.boot:spring-boot-starter-log4j2
  • com.alibaba:druid
  • org.apache.logging.log4j:log4j-slf4j-impl
  • org.elasticsearch:elasticsearch
  • org.apache.logging.log4j:log4j-web

Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.

Popularity

Known dependents in this corpus
239
GitHub stars
3.6k
OpenSSF score
9 / 10

FAQ

What is the latest version of org.apache.logging.log4j:log4j-core?
The latest version of org.apache.logging.log4j:log4j-core is 3.0.0-beta3, published November 2024.
What license is org.apache.logging.log4j:log4j-core under?
org.apache.logging.log4j:log4j-core declares Apache-2.0 as its top-level declared license. Its dependency tree spans 3 distinct licenses.
Does org.apache.logging.log4j:log4j-core have known vulnerabilities?
org.apache.logging.log4j:log4j-core has 3 known CVE-linked advisories across its published versions; 0 affect the latest version, v3.0.0-beta3.
How do I install org.apache.logging.log4j:log4j-core?
Add org.apache.logging.log4j:log4j-core to your pom.xml as a dependency on org.apache.logging.log4j:log4j-core:3.0.0-beta3.
How do I generate an SBOM that includes org.apache.logging.log4j:log4j-core?
FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes org.apache.logging.log4j:log4j-core. Generate an SPDX or CycloneDX SBOM free.

Dependency graph and package metadata from deps.dev (Google Open Source Insights), used under CC BY 4.0.

Vulnerability data from the Open Source Vulnerability (OSV) database, including the GitHub Advisory Database and the PyPI Advisory Database, used under CC BY 4.0. Only CVE-linked advisories are shown.

EPSS scores from the Exploit Prediction Scoring System, maintained by the EPSS Special Interest Group at FIRST.

Repository stars from the GitHub API.

OpenSSF Scorecard results from deps.dev.

License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.