Skip to content

any solution for log4j vulnerability issue? #71

Answered by hyness
adnan-hasan asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @adnan-hasan,

When I heard the news about the log4j vulnerability, I did look into it, but wasn't worried because you have to opt into log4j2 to use it which this image doesn't, we use the logging default which is logback. As I suspected this image is unaffected. The log4j-api jar you reference does not have any executable code, just the the apis. You can read more about this issue on the Spring Boot blog, but I'll include the most relevant quote below.

Spring Boot users are only affected by this vulnerability if they have switched the default logging system to Log4J2. The log4j-to-slf4j and log4j-api jars that we include in spring-boot-starter-logging cannot be exploited on their …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adnan-hasan
Comment options

Answer selected by hyness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants