You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using 2.x versions puts teams at risk such as CVE-2023-44487
Sample diff :
diff --git a/pom.xml b/pom.xml
<!--Testing framework to allow for mocking external service calls-->
<dependency>
- <groupId>com.github.tomakehurst</groupId>- <artifactId>wiremock-jre8</artifactId>- <version>2.35.1</version>+ <groupId>org.wiremock</groupId>+ <artifactId>wiremock</artifactId>+ <version>3.3.1</version>
<scope>test</scope>
</dependency>
</dependencies>
In my case, changing the coordinates was enough but there are some breaking changes we need to be aware of as well. See the release notes for more details
Describe the solution you'd like
Replace the coordinates
Migrate deprecated APIs
Additional context
v3 no longer supports Java 8 so this recipe should not be applied for Java 8 projects
@oleg-nenashev would you want to take this on together? I think we can reuse quite some existing components to help folks migrate, and would be good to have you involved.
What problem are you trying to solve?
Starting with wiremock 3.x, the coordinates of the dependency changed
From
To :
Using
2.x
versions puts teams at risk such as CVE-2023-44487Sample diff :
In my case, changing the coordinates was enough but there are some breaking changes we need to be aware of as well. See the release notes for more details
Describe the solution you'd like
Additional context
Relevant :
https://www.cve.org/CVERecord?id=CVE-2023-44487
https://blog.cloudflare.com/technical-breakdown-http2-rapid-reset-ddos-attack/
openrewrite/rewrite-java-dependencies#58
The text was updated successfully, but these errors were encountered: