You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "bvolpato (via GitHub)" <gi...@apache.org> on 2026/03/24 22:53:58 UTC

[I] [Security] Upgrade PostgreSQL JDBC Driver to fix CVE-2024-1597, CVE-2022-31197, CVE-2022-21724 [beam]

bvolpato opened a new issue, #37942:
URL: https://github.com/apache/beam/issues/37942

   ## Summary
   
   The PostgreSQL JDBC Driver used by Apache Beam (`42.2.16`) is affected by multiple security vulnerabilities:
   
   | CVE | CVSS | Severity | Description |
   |-----|------|----------|-------------|
   | [CVE-2024-1597](https://www.cve.org/CVERecord?id=CVE-2024-1597) | **9.8** | Critical | SQL injection via `preferQueryMode=simple` |
   | [CVE-2022-21724](https://www.cve.org/CVERecord?id=CVE-2022-21724) | **9.8** | Critical | Arbitrary code execution via connection property class loading |
   | [CVE-2022-31197](https://www.cve.org/CVERecord?id=CVE-2022-31197) | **7.1** | High | SQL injection in `ResultSet.refreshRow()` |
   
   ## Proposed Fix
   
   Upgrade `postgres_version` from `42.2.16` to `42.7.10` in `BeamModulePlugin.groovy`.
   
   The PostgreSQL JDBC Driver maintains full JDBC 4.2 API backward compatibility across all 42.x releases. The changes between these versions are internal security and bug fixes with no public API changes.
   
   ## References
   
   - https://jdbc.postgresql.org/security/
   - https://www.postgresql.org/about/news/postgresql-jdbc-4272-4261-4255-4244-4239-42228-and-42228jre7-security-update-for-cve-2024-1597-2812/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Security] Upgrade PostgreSQL JDBC Driver to fix CVE-2024-1597, CVE-2022-31197, CVE-2022-21724 [beam]

Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn closed issue #37942: [Security] Upgrade PostgreSQL JDBC Driver to fix CVE-2024-1597, CVE-2022-31197, CVE-2022-21724
URL: https://github.com/apache/beam/issues/37942


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org