Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 722256 (CVE-2018-1285)

Summary: dev-dotnet/log4net: XML external entity (XXE) vulnerability (CVE-2018-1285)
Product: Gentoo Security Reporter: Sam James <sam>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Severity: minor CC: dotnet
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Whiteboard: B4 [noglsa cve]
Package list:
Runtime testing required: ---

Description Sam James archtester gentoo-dev Security 2020-05-10 20:13:57 UTC
"Summary: Apache log4net does not disable XML external entities when
parsing log4net configuration files. This could allow for XXE-based
attacks in applications that accept arbitrary configuration files from
users. [1]

Affected: log4net up to 2.0.8

Mitigation: as there are no further releases of log4net beyond 2.0.8,
and the Logging Services PMC has voted [2] to mark the project
dormant, users should not allow arbitrary configuration files to be
specified from untrusted sources. While this is arguably a
vulnerability, misuse of any framework allowing untrusted input to
configure things is always a bad idea."
Comment 1 Sam James archtester gentoo-dev Security 2020-05-10 20:15:42 UTC
Note that a release isn't going to be made. A mask may be useful?
Comment 2 Larry the Git Cow gentoo-dev 2020-10-24 13:57:13 UTC
The bug has been referenced in the following commit(s):

commit 6a866101af85e162d2f4ad6345a995e2dd8306b1
Author:     David Seifert <>
AuthorDate: 2020-10-24 13:56:53 +0000
Commit:     David Seifert <>
CommitDate: 2020-10-24 13:56:53 +0000

    package.mask: Last rite dev-dotnet/* EAPI 4 ebuilds
    Signed-off-by: David Seifert <>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2020-11-22 14:55:05 UTC
The bug has been closed via the following commit(s):

commit e7c2bcaa05065b4502abc500f56225b18e78aafb
Author:     David Seifert <>
AuthorDate: 2020-11-22 14:54:21 +0000
Commit:     David Seifert <>
CommitDate: 2020-11-22 14:54:21 +0000

    dev-dotnet/log4net: Remove last-rited package
    Signed-off-by: David Seifert <>

 dev-dotnet/log4net/Manifest               |  2 --
 dev-dotnet/log4net/files/ |  8 ------
 dev-dotnet/log4net/log4net-1.2.11.ebuild  | 44 -------------------------------
 dev-dotnet/log4net/metadata.xml           |  8 ------
 profiles/package.mask                     |  6 -----
 5 files changed, 68 deletions(-)