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

[ISSUE-2395]SynchronossPartHttpMessageReader should only create temp directory when needed/CVE-2022-22965 #2397

Closed
wants to merge 1 commit into from

Conversation

duhanmin
Copy link
Contributor

@duhanmin duhanmin commented Jul 1, 2022

spring-projects/spring-framework#27092
1 . SynchronossPartHttpMessageReader should only create temp directory when needed
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22965
2. A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes)

spring-projects/spring-framework#27092
1 . SynchronossPartHttpMessageReader should only create temp directory when needed 
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22965
2. A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
@duhanmin
Copy link
Contributor Author

duhanmin commented Jul 1, 2022

@duhanmin duhanmin changed the title create temp directory and RCE SynchronossPartHttpMessageReader should only create temp directory when needed ;CVE-2022-22965 Jul 1, 2022
@duhanmin duhanmin changed the title SynchronossPartHttpMessageReader should only create temp directory when needed ;CVE-2022-22965 SynchronossPartHttpMessageReader should only create temp directory when needed/CVE-2022-22965 Jul 1, 2022
@jackxu2011
Copy link
Contributor

this issue should only upgrade spring framework not spring boot

@casionone casionone changed the title SynchronossPartHttpMessageReader should only create temp directory when needed/CVE-2022-22965 [ISSUE-2395]SynchronossPartHttpMessageReader should only create temp directory when needed/CVE-2022-22965 Jul 1, 2022
@casionone
Copy link
Contributor

Upgrading the springboot version is a big change and should require comprehensive testing

@duhanmin duhanmin closed this Jul 5, 2022
@duhanmin duhanmin deleted the patch-1 branch July 7, 2022 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants