Skip to content

Commit 557e296

Browse files
deps: update guava to 33.4.8-android in google-http-client and google-http-client-apache-v5
This implies a drop for support of Java 7 in google-http-client, also documented in README.md
1 parent 33c6793 commit 557e296

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ content. The JSON and XML libraries are also fully pluggable, and they include s
1717

1818
The library supports the following Java environments:
1919

20-
- Java 7 or higher
21-
- The google-http-client-jackson2 and google-http-client-appengine modules require Java 8 or
22-
higher due to their dependencies.
20+
- Java 7 or higher. The following modules require Java 8 or
21+
higher due to their dependencies:
22+
- google-http-client (Java 7 is supported until version [1.47.1](https://github.com/googleapis/google-http-java-client/releases/tag/v1.47.1))
23+
- Note that version [TBD-1] contains Guava version `30.1.1`, which contains a [known CVE](https://www.cvedetails.com/cve/CVE-2023-2976/).
24+
In order to avoid scanners from flagging this vulnerability, please upgrade your project to Java 8 and use the latest version of `google-http-client`
25+
- google-http-client-apache-v5 (Java 7 is supported until version [1.47.1](https://github.com/googleapis/google-http-java-client/releases/tag/v1.47.1))
26+
- google-http-client-jackson2 (Java 7 is supported until version [1.40.0](https://github.com/googleapis/google-http-java-client/releases/tag/v1.40.0) via [Jackson](https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.13#compatibility-jdk-requirements))
27+
- google-http-client-appengine (Java 7 [not supported](https://cloud.google.com/appengine/docs/standard/deprecations/shut-down))
2328
- Android 4.4 (Kit Kat)
2429
- GoogleAppEngine Google App Engine
2530

google-http-client-apache-v5/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@
9898
<dependency>
9999
<groupId>com.google.guava</groupId>
100100
<artifactId>guava</artifactId>
101+
<!-- We use the Java 8 compatible version due to https://www.cvedetails.com/cve/CVE-2023-2976/ -->
102+
<version>33.4.8-android</version>
101103
</dependency>
102104
<dependency>
103105
<groupId>org.apache.httpcomponents.client5</groupId>

google-http-client/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@
141141
<dependency>
142142
<groupId>com.google.guava</groupId>
143143
<artifactId>guava</artifactId>
144+
<!-- We use the Java 8 compatible version due to https://www.cvedetails.com/cve/CVE-2023-2976/ -->
145+
<version>33.4.8-android</version>
144146
</dependency>
145147
<dependency>
146148
<groupId>com.google.j2objc</groupId>

0 commit comments

Comments
 (0)