CVE-2006-0743: Log4net Denial of Service Vulnerability
MODERATECVE-2006-0743 is a MODERATE denial of service vulnerability (CWE-134: Use of Externally-Controlled Format String) affecting Log4net libraries in the NuGet ecosystem. The issue involves apache log4net format string vulnerability causes dos. Remediation is available by upgrading affected packages to version 1.2.10.
CVE-2006-0743 at a Glance
How to Fix CVE-2006-0743
To remediate this vulnerability, upgrade all affected Log4net dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade log4net to 1.2.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for log4net
How to Check if You Are Affected
To determine whether your application is affected by CVE-2006-0743, inspect your project dependencies for Log4net:
inspect dependencies for log4net
Analyze the terminal output to locate any version of Log4net in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.10), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-134: Use of Externally-Controlled Format String, where the product uses a function that accepts a format string as an argument, but the format string originates from an external source. In Log4net, 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-2006-0743 Affected Log4net Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
log4net
|
NuGet |
< 1.2.10
|
1.2.10
|
References
Frequently Asked Questions
What is CVE-2006-0743?
Which Log4net versions are affected?
What version fixes CVE-2006-0743?
Is log4net affected?
What CWE is associated with CVE-2006-0743?
How can I check NuGet dependencies for CVE-2006-0743?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f9fr-w54q-772h",
"modified" : "2024-02-09T22:01:06Z",
"published" : "2022-05-01T06:42:27Z",
"aliases" : [ "CVE-2006-0743" ],
"summary" : "Apache log4net format string vulnerability causes DoS",
"details" : "Format string vulnerability in LocalSyslogAppender in Apache log4net 1.2.9 might allow remote attackers to cause a denial of service (memory corruption and termination) via unknown vectors.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "log4net"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.10"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.2.9"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-0743"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/logging-log4net/commit/ea3faab25fe5f1d4dbda9f5da8dcfa6fc3d9e1b8"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/25196"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/logging-log4net"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20070114054835/http://www.novell.com/linux/security/advisories/2006_26_sr.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20140304060609/https://issues.apache.org/jira/browse/LOG4NET-67"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200229022118/http://www.securityfocus.com/bid/17095"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-134" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-09T22:01:06Z",
"nvd_published_at" : "2006-03-09T20:02:00Z"
}
}