Skip to content

Microsoft.ApplicationInsights.Log4NetAppender dependency has known CVE #2149

@phatcher

Description

@phatcher

What are you trying to achieve?

Basically a question of should upstream packages continue to take dependencies on library versions with know failures/CVEs

Log4NetAppender takes a dependency on log4net >= 2.0.8 which has a known vun CVE-2018-1285, this was reported by a build scanner as part of my CI build.

General principle says that libraries should take dependencies on the earliest version that works for them and not constrain the upper bounds unless absolutely necessary, but in this case I am now forced to modify all of my projects to have an explicit reference rather than relying on the transitive reference from a library.

So, should official MS components still take earlier references when they could move to the later one without the vulnerability. I can see arguments both ways, but thought I'd raise the question.

What have you tried so far?

Taking the explicit reference to the later package

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions