Skip to content

Commit 7ab63d3

Browse files
Merge pull request #100 from SiftScience/API-7599
[API-7599] Bumps OktHttp and Okio libs to fix CVE-2023-3635
2 parents de08aad + c0f7c84 commit 7ab63d3

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

CHANGES.MD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
3.13.1 (2024-03-28)
2+
=================
3+
- Upgrade OkHttp to [4.12.0](https://square.github.io/okhttp/changelogs/changelog_4x/#version-4120) and Okio to [3.6.0](https://square.github.io/okhttp/changelogs/changelog_4x/#version-4120 ) to fix transitive vulnerability [CVE-2023-3635](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3635)
4+
15
3.13.0 (2023-09-19)
26
=================
37
- Add support for score percentiles in score API

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Java 1.7 or later.
1313
<dependency>
1414
<groupId>com.siftscience</groupId>
1515
<artifactId>sift-java</artifactId>
16-
<version>3.13.0</version>
16+
<version>3.13.1</version>
1717
</dependency>
1818
```
1919
### Gradle
2020
```
2121
dependencies {
22-
compile 'com.siftscience:sift-java:3.13.0'
22+
compile 'com.siftscience:sift-java:3.13.1'
2323
}
2424
```
2525
### Other

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'signing'
55
apply plugin: 'java-library-distribution'
66

77
group = 'com.siftscience'
8-
version = '3.13.0'
8+
version = '3.13.1'
99

1010
repositories {
1111
mavenCentral()
@@ -26,8 +26,8 @@ dependencies {
2626
testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '4.10.0'
2727
testCompile group: 'org.hamcrest', name: 'hamcrest-library', version: '1.3'
2828
compile 'com.google.code.gson:gson:2.10'
29-
compile 'com.squareup.okhttp3:okhttp:4.10.0'
30-
compile 'com.squareup.okio:okio:3.2.0'
29+
compile 'com.squareup.okhttp3:okhttp:4.12.0'
30+
compile 'com.squareup.okio:okio:3.6.0'
3131
compile 'commons-codec:commons-codec:1.15'
3232
}
3333

src/main/java/com/siftscience/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
public class Constants {
44

55
public static final String API_VERSION = "v205";
6-
public static final String LIB_VERSION = "3.13.0";
6+
public static final String LIB_VERSION = "3.13.1";
77
public static final String USER_AGENT_HEADER = String.format("SiftScience/%s sift-java/%s", API_VERSION, LIB_VERSION);
88
}

src/test/java/com/siftscience/SiftRequestTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void testUserAgentHeader() throws Exception {
3737

3838
// Verify the request.
3939
RecordedRequest recordedRequest = server.takeRequest();
40-
Assert.assertEquals("SiftScience/v205 sift-java/3.13.0", recordedRequest.getHeader("User-Agent"));
40+
Assert.assertEquals("SiftScience/v205 sift-java/3.13.1", recordedRequest.getHeader("User-Agent"));
4141
}
4242

4343
}

0 commit comments

Comments
 (0)