Skip to content

Commit d2aed60

Browse files
authored
[Security] Bump PostgreSQL JDBC Driver from 42.2.16 to 42.7.10 (#37941)
* [Security] Bump PostgreSQL JDBC Driver from 42.2.16 to 42.7.10 Upgrades the PostgreSQL JDBC Driver to address multiple CVEs: - CVE-2024-1597 (CVSS 9.8): SQL injection via preferQueryMode=simple - CVE-2022-31197: SQL injection in ResultSet.refreshRow - CVE-2022-21724: Arbitrary code execution via JDBC URL * Add issue link to CHANGES.md entry (fixes #37942)
1 parent 512c0fa commit d2aed60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
## Security Fixes
9595

9696
* 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)).
97+
* 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)).
9798

9899
## Known Issues
99100

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.2.16"
637+
def postgres_version = "42.7.10"
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

0 commit comments

Comments
 (0)