Skip to content

Commit bae0fb1

Browse files
Upgrade protobuf3 & async-http-client to address CVE-2024-7254 & CVE-2024-53990 (#11)
* Upgrade protobuf3 to 3.25.5 to address CVE-2024-7254 * Include async-http-client with updated version to fix vulnerable transitive dependency. * Add explanation comment and scope. --------- Co-authored-by: ganesh-ctds <[email protected]>
1 parent cdfed3a commit bae0fb1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pom.xml

+9-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
<commons-compress.version>1.26.0</commons-compress.version>
6060
<log4j.version>2.17.1</log4j.version>
6161
<json-smart.version>2.4.9</json-smart.version>
62-
<protobuf3.version>3.19.6</protobuf3.version>
62+
<protobuf3.version>3.25.5</protobuf3.version>
63+
<asynchttpclient.version>2.12.4</asynchttpclient.version>
6364
<protoc3.version>${protobuf3.version}</protoc3.version>
6465
<grpc.version>1.42.1</grpc.version>
6566
<protoc-gen-grpc-java.version>${grpc.version}</protoc-gen-grpc-java.version>
@@ -168,6 +169,13 @@
168169
</exclusion>
169170
</exclusions>
170171
</dependency>
172+
<!-- Override transitive dependency version to fix vulnerability -->
173+
<dependency>
174+
<groupId>org.asynchttpclient</groupId>
175+
<artifactId>async-http-client</artifactId>
176+
<version>${asynchttpclient.version}</version>
177+
<scope>runtime</scope>
178+
</dependency>
171179
<dependency>
172180
<groupId>com.google.protobuf</groupId>
173181
<artifactId>protobuf-bom</artifactId>

0 commit comments

Comments
 (0)