Skip to content

Commit 24f562d

Browse files
committed
Downgrade Postgres driver to 42.6.2
1 parent 1fb3088 commit 24f562d

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
## Security Fixes
9696

9797
* Fixed [CVE-2023-46604](https://www.cve.org/CVERecord?id=CVE-2023-46604) (CVSS 10.0) and [CVE-2022-41678](https://www.cve.org/CVERecord?id=CVE-2022-41678) by upgrading ActiveMQ from 5.14.5 to 5.19.2 (Java) ([#37943](https://github.com/apache/beam/issues/37943)).
98-
* Fixed [CVE-2024-1597](https://www.cve.org/CVERecord?id=CVE-2024-1597), [CVE-2022-31197](https://www.cve.org/CVERecord?id=CVE-2022-31197), and [CVE-2022-21724](https://www.cve.org/CVERecord?id=CVE-2022-21724) by upgrading PostgreSQL JDBC Driver from 42.2.16 to 42.7.10 (Java) ([#37942](https://github.com/apache/beam/issues/37942)).
98+
* Fixed [CVE-2024-1597](https://www.cve.org/CVERecord?id=CVE-2024-1597), [CVE-2022-31197](https://www.cve.org/CVERecord?id=CVE-2022-31197), and [CVE-2022-21724](https://www.cve.org/CVERecord?id=CVE-2022-21724) by upgrading PostgreSQL JDBC Driver from 42.2.16 to 42.6.2 (Java) ([#37942](https://github.com/apache/beam/issues/37942)).
9999

100100
## Known Issues
101101

buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ class BeamModulePlugin implements Plugin<Project> {
634634
def netty_version = "4.1.124.Final"
635635
// [bomupgrader] determined by: io.opentelemetry:opentelemetry-sdk, consistent with: google_cloud_platform_libraries_bom
636636
def opentelemetry_version = "1.51.0"
637-
def postgres_version = "42.7.10"
637+
def postgres_version = "42.6.2"
638638
// [bomupgrader] determined by: com.google.protobuf:protobuf-java, consistent with: google_cloud_platform_libraries_bom
639639
def protobuf_version = "4.33.2"
640640
// TODO(https://github.com/apache/beam/issues/37637): Remove this once the Bom has been updated to at least reach this version

sdks/java/io/debezium/src/test/java/org/apache/beam/io/debezium/DebeziumIOMySqlConnectorIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private void monitorEssentialMetrics() throws SQLException {
129129
}
130130
} catch (SQLException ex) {
131131
LOG.error("SQL error in monitoring thread. Shutting down.", ex);
132-
throw (ex);
132+
throw ex;
133133
} catch (InterruptedException ex) {
134134
LOG.info("Monitoring thread interrupted. Shutting down.");
135135
Thread.currentThread().interrupt();

sdks/java/io/debezium/src/test/java/org/apache/beam/io/debezium/DebeziumIOTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ public void testGetInitialRestrictionWithoutStartOffsetIsNull() throws Exception
154154
// ---- OffsetRetainer tests -----------------------------------------------
155155

156156
/** Minimal in-memory retainer used only in tests. */
157+
@SuppressWarnings("unused")
157158
private static class InMemoryOffsetRetainer implements OffsetRetainer {
158159
private final @Nullable Map<String, Object> loadResult;
159160
private @Nullable Map<String, Object> lastSaved;

0 commit comments

Comments
 (0)