简体   繁体   English

log4j 漏洞 - Sleuth 依赖

[英]log4j vulnerability - Sleuth dependency

We heard that log4j-core.jar is vulnerable.我们听说log4j-core.jar是易受攻击的。
We noticed that spring-cloud-starter-sleuth (version 2.2.2.RELEASE) dependency brings a dependency which uses log4j-core.jar (version 2.13.0) with provided scope as followed:我们注意到spring-cloud-starter-sleuth sleuth(版本 2.2.2.RELEASE)依赖带来了一个使用log4j-core.jar (版本 2.13.0)的依赖,并provided scope,如下所示:

<dependency>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-core</artifactId>
  <version>${log4j.version}</version>
  <scope>provided</scope>
</dependency>

The exact jar that brings the log4j dependency is:带来 log4j 依赖关系的确切 jar 是:

<groupId>io.zipkin.brave</groupId>
<artifactId>brave-context-log4j2</artifactId>
<version>5.10.1</version>

We are not using Zipkin in our code or configurations, just Sleuth.我们没有在我们的代码或配置中使用 Zipkin,只是 Sleuth。
Is our code vulnerable?我们的代码易受攻击吗?

Spring Cloud Sleuth 2.x is not supported anymore and as M. Deinum mentioned Sleuth will not bring these dependencies for you because of the provided scope. Spring Cloud Sleuth 2.x 不再受支持,正如 M. Deinum 所说,由于provided scope,Sleuth 不会为您带来这些依赖项。 You can test this by running gradlew dependencies or mvn dependency:tree .您可以通过运行gradlew dependenciesmvn dependency:tree来测试它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 检查 Elasticsearch 的 log4j 漏洞 - check log4j vulnerability for Elasticsearch 当 Log4j 漏洞被用作传递依赖时,有什么方法可以修复它 - Are there any ways to fix Log4j vulnerability when it is being used as a transitive dependency Gradle 依赖(org.apache.commons)是否也受到当前 log4j 漏洞的影响? - Gradle dependency (org.apache.commons ) is also effected by current log4j vulnerability or not? slf4j 是否受到 log4j 中的漏洞问题的影响 - Was slf4j affected with vulnerability issue in log4j Log4j 1:如何在不更新版本到 2.15.0 的情况下缓解 log4j 中的漏洞 - Log4j 1: How to mitigate the vulnerability in log4j without updating version to 2.15.0 log4j 漏洞问题是否会影响 springboot 1.5.6 starter 日志记录? - Is the log4j vulnerability issue affect springboot 1.5.6 starter logging? 在 gradle 传递依赖中检测 Apache Log4j 漏洞存在 - Detecting Apache Log4j vulnerability presence in gradle transitive dependencies log4j 是否易受攻击? 测试漏洞的示例代码 - Is log4j vulnerable? Sample code to test the vulnerability Jenkins log4j 来自管道作业的漏洞测试 - Jenkins log4j vulnerability testing from pipeline job Hibernate Jboss 日志记录和 Log4j CVE 漏洞 - Hibernate Jboss logging and Log4j CVE Vulnerability
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM