Skip to content

Commit 931f3a5

Browse files
chore: more rapid rst fun (#53)
1 parent a0bc6d1 commit 931f3a5

File tree

6 files changed

+23
-30
lines changed

6 files changed

+23
-30
lines changed

grpc-client-rx-utils/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
dependencies {
9-
api(platform("io.grpc:grpc-bom:1.57.2"))
9+
api(platform("io.grpc:grpc-bom:1.59.1"))
1010
api("io.reactivex.rxjava3:rxjava:3.1.4")
1111
api("io.grpc:grpc-stub")
1212
api(project(":grpc-context-utils"))

grpc-client-utils/build.gradle.kts

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ plugins {
77

88
dependencies {
99

10-
api(platform("io.grpc:grpc-bom:1.57.2"))
10+
api(platform("io.grpc:grpc-bom:1.59.1"))
1111
api("io.grpc:grpc-context")
1212
api("io.grpc:grpc-api")
13-
api(platform("io.netty:netty-bom:4.1.100.Final")) {
13+
api("io.grpc:grpc-inprocess")
14+
api(platform("io.netty:netty-bom:4.1.101.Final")) {
1415
because("CVE-2023-44487")
1516
}
1617

grpc-context-utils/build.gradle.kts

+2-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ tasks.test {
1010
}
1111

1212
dependencies {
13-
api(platform("io.grpc:grpc-bom:1.57.2"))
13+
api(platform("io.grpc:grpc-bom:1.59.1"))
14+
api(platform("com.fasterxml.jackson:jackson-bom:2.16.0"))
1415
implementation("io.grpc:grpc-core")
1516

1617
implementation("com.auth0:java-jwt:4.4.0")
@@ -21,13 +22,6 @@ dependencies {
2122
annotationProcessor("org.projectlombok:lombok:1.18.24")
2223
compileOnly("org.projectlombok:lombok:1.18.24")
2324

24-
constraints {
25-
implementation("com.google.protobuf:protobuf-java:3.21.7") {
26-
// Not used directly, but typically used together for since we always use proto and grpc together
27-
because("CVE-2022-3171")
28-
}
29-
}
30-
3125
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
3226
testImplementation("org.mockito:mockito-core:4.4.0")
3327
testImplementation("com.fasterxml.jackson.core:jackson-annotations:2.15.2")

grpc-server-rx-utils/build.gradle.kts

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@ plugins {
66
}
77

88
dependencies {
9-
api(platform("io.grpc:grpc-bom:1.57.2"))
9+
api(platform("io.grpc:grpc-bom:1.59.1"))
1010
api("io.reactivex.rxjava3:rxjava:3.1.4")
1111
api("io.grpc:grpc-stub")
1212

1313
annotationProcessor("org.projectlombok:lombok:1.18.24")
1414
compileOnly("org.projectlombok:lombok:1.18.24")
1515

1616
implementation("org.slf4j:slf4j-api:1.7.36")
17-
constraints {
18-
implementation("com.google.guava:guava:32.0.1-jre")
19-
}
2017

2118
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
2219
testImplementation("org.mockito:mockito-core:4.4.0")

grpc-server-utils/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ tasks.test {
1010
}
1111

1212
dependencies {
13-
api(platform("io.grpc:grpc-bom:1.57.2"))
13+
api(platform("io.grpc:grpc-bom:1.59.1"))
1414
api("io.grpc:grpc-context")
1515
api("io.grpc:grpc-api")
1616

17-
api(platform("io.netty:netty-bom:4.1.100.Final")) {
17+
api(platform("io.netty:netty-bom:4.1.101.Final")) {
1818
because("CVE-2023-44487")
1919
}
2020

owasp-suppressions.xml

+14-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
3-
<suppress>
4-
<notes><![CDATA[
3+
<suppress>
4+
<notes><![CDATA[
55
Any hypertrace dep
66
]]></notes>
7-
<packageUrl regex="true">^pkg:maven/org\.hypertrace\..*@.*$</packageUrl>
8-
<cpe>cpe:/a:grpc:grpc</cpe>
9-
</suppress>
10-
<suppress until="2023-11-30Z">
11-
<notes><![CDATA[
12-
file name: jackson-databind-2.14.2.jar
13-
This is currently disputed.
14-
]]></notes>
15-
<packageUrl regex="true">^pkg:maven/com\.fasterxml\.jackson\.core/jackson\-databind@.*$</packageUrl>
16-
<cve>CVE-2023-35116</cve>
17-
</suppress>
7+
<packageUrl regex="true">^pkg:maven/org\.hypertrace\..*@.*$</packageUrl>
8+
<cpe>cpe:/a:grpc:grpc</cpe>
9+
</suppress>
10+
<suppress until="2023-12-31Z">
11+
<notes><![CDATA[
12+
This CVE (rapid RST) is already mitigated as our servers aren't directly exposed, but it's also
13+
addressed in 1.59.1, which the CVE doesn't reflect (not all grpc impls versions are exactly aligned).
14+
Ref: https://github.com/grpc/grpc-java/pull/10675
15+
]]></notes>
16+
<packageUrl regex="true">^pkg:maven/io\.grpc/grpc\-.*@.*$</packageUrl>
17+
<cve>CVE-2023-44487</cve>
18+
</suppress>
1819
</suppressions>

0 commit comments

Comments
 (0)