From eb290f66e0fef4169807e5a02e9fa8377a60c258 Mon Sep 17 00:00:00 2001 From: Leonardo Pistone Date: Wed, 23 Oct 2024 10:46:24 +0200 Subject: [PATCH] Avoid breaking protobuf release for now Protobuf-java was upgraded to 4.28.2 to address #4584. The vulnerability [CVE-2024-7254](https://github.com/advisories/GHSA-735f-pc8j-v9w8) is fixed in protobuf-java 3.25.5, as initially suggested in #4584. Protobuf-java saw major breaking changes in 4.26, partially mitigated in the 27 series. Because it takes time to adopt to these breaking changes, it is better I think to only address the vulnerability and not jump into the breaking releases yet. Specifically, the problem is that now everyone that uses error-prone is forced to jump to the breaking Protobuf releases today. This includes all users of the chain of Google BOMs (libraries-bom, first-party-dependencies, google-cloud-bom and gapic-generator-java-bom). Those still reference 3.25.5 [1]. This PR fixes the issue. I think error-prone should then be released and included in gapic-generator-java-pom-parent. Thank you! [1] https://github.com/googleapis/sdk-platform-java/blob/main/gapic-generator-java-pom-parent/pom.xml#L34 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index da220bae08d..ef51b6e1583 100644 --- a/pom.xml +++ b/pom.xml @@ -43,7 +43,7 @@ 3.3.1 3.2.1 1.6.13 - 4.28.2 + 3.25.5 1.43.3 1.0.0