NOTE: WireMock Studio, a proprietary distribution discontinued in 2022, is also affected by those issues and also affected by CVE-2023-39967 - Overall CVSS Score 8.6 - “Controlled and full-read SSRF through URL parameter when testing a request, webhooks and proxy mode”. The fixes will not be provided. The vendor recommends migrating to WireMock Cloud which is available as SaaS and private beta for on-premises deployments
Add a negative contains matcher - thanks Damian Orzepowski
Expose a Java API method for removing stubs by ID - thanks Patryk Fraczek
Document the import API in the OpenAPI doc - thanks to user i-whammy
Added the ability to restrict the addresses WireMock can proxy/record to, as a security measure.
Fixes
Strip Maven directories from the standalone JAR as some were appearing that weren't related to dependencies actually present, confusing scanning tools - thanks to user krageon
Dropped back to slf4j 1.7.36 and relocate it in the standalone JAR (ensuring 2.x users won't experience conflicts).
2.34.0
This will be the final 2.x.x release and also the last to support Java 8.
Fixes
Fixed #1689 - incorrect HTTP version header - thanks to user Poojitha
Fixed #1882 - bug preventing matching of date/time query params/headers with custom format - thanks Klaas Dellschaft
#1930 - Fixed a partial path traversal vulnerability in the file source code - thanks Jonathan Leitschuh
Fixed #1783 - proxyUrlPrefixToRemove ignored when using a response definition transformer - thanks to user Ross-H-Projects
Fixed #1872 - create a request entity for POST, PUT etc. proxied requests when a content-length header is present, regardless of whether the size is 0.
Fixed #1946 - maths helper now supports epoch dates as inputs.
Enhancements
Added a public, non-static getScenarios() method allowing access to all scenarios.
All dependencies brought up to date including Jetty to 9.4.48.v20220622.
2.33.2
WireMock 2.33.1 was accidentally released using Java 11 rather than 8, resulting in class incompatibilities in places.
This release is functionally identical but built using Java 8.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/galatea-associates/fuse-starter-java/network/alerts).
Bumps com.github.tomakehurst:wiremock-jre8 from 2.24.1 to 2.35.1.
Release notes
Sourced from com.github.tomakehurst:wiremock-jre8's releases.
... (truncated)
Commits
8706343
Bumped patch version20adc25
Stop NetworkAddressRules doing DNS lookupsaa29d9c
Make NetworkAddressRulesAdheringDnsResolver testable90a37e1
Applied DNS resolver enforcement to webhooks extensiond9fd0b4
Moved enforcement of network address rules to Apache client DNS resolver to a...eac439f
Prevent webhook calling forbidden endpoints9ba86d6
Rename poorly named methodef5b722
spotless apply5412ed1
Fixed some formatting in NetworkAddressRulesTest295ad5c
Added some extra NetworkAddressRules test casesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show