CVE-2023-6481: Logback core Logback Is Vulnerable To An Vulnerability
HIGHCVE-2023-6481 is a HIGH (CVSS 7.1) logback is vulnerable to an vulnerability (General Security Weakness) affecting Logback core libraries in the Maven ecosystem. The issue involves logback is vulnerable to an attacker mounting a denial-of-service attack by sending poisoned data. Remediation is available by upgrading affected packages to version 1.4.14, 1.3.14, 1.2.13.
CVE-2023-6481 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H).
How to Fix CVE-2023-6481
To remediate this vulnerability, upgrade all affected Logback core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.4.14</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.3.14</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.2.13</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=ch.qos.logback
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-6481, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=ch.qos.logback
Analyze the terminal output to locate any version of Logback core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.14), your application is affected.
Note: The mvn dependency:tree -Dincludes=ch.qos.logback command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Logback core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-6481 Affected Logback core Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ch.qos.logback:logback-core
|
Maven |
≥ 1.4.13
< 1.4.14
All 1 versions
1.4.13
|
1.4.14
|
|
ch.qos.logback:logback-core
|
Maven |
≥ 1.3.13
< 1.3.14
All 1 versions
1.3.13
|
1.3.14
|
|
ch.qos.logback:logback-core
|
Maven |
≥ 1.2.12
< 1.2.13
All 1 versions
1.2.12
|
1.2.13
|
References
Frequently Asked Questions
What is CVE-2023-6481?
Which Logback core versions are affected?
What version fixes CVE-2023-6481?
Is logback-core affected?
What is the CVSS score of CVE-2023-6481?
What CWE is associated with CVE-2023-6481?
How can I check Maven dependencies for CVE-2023-6481?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gm62-rw4g-vrc4",
"modified" : "2023-12-08T15:06:33Z",
"published" : "2023-12-04T09:30:23Z",
"aliases" : [ "CVE-2023-6481" ],
"summary" : "Logback is vulnerable to an attacker mounting a Denial-Of-Service attack by sending poisoned data",
"details" : "A serialization vulnerability in logback receiver component part of logback version 1.4.13, 1.3.13 and 1.2.12 allows an attacker to mount a Denial-Of-Service attack by sending poisoned data.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "ch.qos.logback:logback-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.13"
}, {
"fixed" : "1.4.14"
} ]
} ],
"versions" : [ "1.4.13" ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "ch.qos.logback:logback-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.13"
}, {
"fixed" : "1.3.14"
} ]
} ],
"versions" : [ "1.3.13" ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "ch.qos.logback:logback-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2.12"
}, {
"fixed" : "1.2.13"
} ]
} ],
"versions" : [ "1.2.12" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-6481"
}, {
"type" : "WEB",
"url" : "https://github.com/qos-ch/logback/commit/7018a3609c7bcc9dc7bf5903509901a986e5f578"
}, {
"type" : "WEB",
"url" : "https://github.com/qos-ch/logback/commit/c612b2fa3caf6eef3c75f1cd5859438451d0fd6f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/qos-ch/logback"
}, {
"type" : "WEB",
"url" : "https://logback.qos.ch/news.html#1.3.12"
}, {
"type" : "WEB",
"url" : "https://logback.qos.ch/news.html#1.3.14"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-12-08T15:06:33Z",
"nvd_published_at" : "2023-12-04T09:15:37Z"
}
}