Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring4shell Vulnerability. #2010

Closed
filipponova opened this issue Apr 26, 2022 · 3 comments
Closed

Spring4shell Vulnerability. #2010

filipponova opened this issue Apr 26, 2022 · 3 comments

Comments

@filipponova
Copy link
Contributor

Description

Hi, guys.

Due to the spring4shell vulnerability CVE-2022-22965, we are updating the Spring Framework in our applications, after updating we noticed that some applications that use the Sentry Java SDK continued to point out the vulnerability, and upon investigating we realized that it is due to the Sentry SDK using a version of Spring Boot that is vulnerable to spring4shell.

We tried to find an SDK version that used some version of Spring Boot with the fix, but we couldn't find it.

We are using version 5.1.0 of Sentry Java SDK and our applications use Java 11 + Spring.

More Information:

https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement

Are there any plans to upgrade the Spring Framework version used by the SDK?

Captura de Tela 2022-04-26 às 16 00 02

Captura de Tela 2022-04-26 às 16 03 30

If there was any mistake on my part, I apologize in advance.

@maciejwalkowiak
Copy link
Contributor

In a Spring Boot project, the actual version of Spring dependencies used depend on the Spring Boot version from a parent pom, (or dependencies management when you don't choose to use spring-boot-starter-parent as a parent pom).

Even though we list 2.4.4 in Sentry dependencies, when you use sentry-spring-boot-starter, Spring Boot is in control which version of Spring Framework is included - so there is nothing to worry about.

I understand concerns related to security tools reporting this issue, so we will bump Spring Boot version in our dependencies.

@maciejwalkowiak
Copy link
Contributor

Fixed in #2011

Repository owner moved this from Needs Discussion to Done in Mobile & Cross Platform SDK Apr 27, 2022
@filipponova
Copy link
Contributor Author

Thanks @maciejwalkowiak 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants