pgjdbc SQL Injection via line comment generation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pgjdbc | pgjdbc | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 | |||
| pgjdbc | cpe:/a:redhat:apache_camel_spring_boot:4.4::el6 | RHSA-2024:4884 | 2024-07-25T00:00:00Z |
| Red Hat build of Keycloak 24 | |||
| pgjdbc | cpe:/a:redhat:build_keycloak:24::el9 | RHBA-2024:2108 | 2024-04-29T00:00:00Z |
| Red Hat build of Quarkus 2.13.9.SP2 | |||
| org.postgresql/postgresql:42.5.6.redhat-00001 | cpe:/a:redhat:quarkus:2.13::el8 | RHSA-2024:1797 | 2024-04-22T00:00:00Z |
| Red Hat build of Quarkus 3.2.11.Final | |||
| org.postgresql/postgresql:42.6.1.redhat-00001 | cpe:/a:redhat:quarkus:3.2::el8 | RHSA-2024:1662 | 2024-04-03T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| postgresql-jdbc-0:42.2.14-3.el8_9 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:1435 | 2024-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | |||
| postgresql-jdbc-0:42.2.3-5.el8_2 | cpe:/a:redhat:rhel_aus:8.2 | RHSA-2024:2624 | 2024-04-30T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service | |||
| postgresql-jdbc-0:42.2.3-5.el8_2 | cpe:/a:redhat:rhel_tus:8.2 | RHSA-2024:2624 | 2024-04-30T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | |||
| postgresql-jdbc-0:42.2.3-5.el8_2 | cpe:/a:redhat:rhel_e4s:8.2 | RHSA-2024:2624 | 2024-04-30T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | |||
| postgresql-jdbc-0:42.2.3-7.el8_4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2024:4375 | 2024-07-08T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | |||
| postgresql-jdbc-0:42.2.3-7.el8_4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2024:4375 | 2024-07-08T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | |||
| postgresql-jdbc-0:42.2.3-7.el8_4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2024:4375 | 2024-07-08T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | |||
| postgresql-jdbc-0:42.2.3-5.el8_6 | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2024:4402 | 2024-07-09T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | |||
| postgresql-jdbc-0:42.2.3-5.el8_6 | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2024:4402 | 2024-07-09T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | |||
| postgresql-jdbc-0:42.2.3-5.el8_6 | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2024:4402 | 2024-07-09T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Extended Update Support | |||
| postgresql-jdbc-0:42.2.14-5.el8_8 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:3313 | 2024-05-23T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| postgresql-jdbc-0:42.2.28-1.el9_3 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:1436 | 2024-03-20T00:00:00Z |
| Red Hat Enterprise Linux 9.0 Extended Update Support | |||
| postgresql-jdbc-0:42.2.28-1.el9_0 | cpe:/a:redhat:rhel_eus:9.0 | RHSA-2024:1999 | 2024-04-23T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| postgresql-jdbc-0:42.2.28-1.el9_2 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:1649 | 2024-04-02T00:00:00Z |
| RHEL-8 based Middleware Containers | |||
| rh-sso-7/sso76-openshift-rhel8:7.6-42 | cpe:/a:redhat:rhosemc:1.0::el8 | RHSA-2024:1686 | 2024-04-04T00:00:00Z |
| rh-sso-7/sso7-rhel8-operator-bundle:7.6.7-4 | cpe:/a:redhat:rhosemc:1.0::el8 | RHSA-2024:1686 | 2024-04-04T00:00:00Z |
| RHINT Camel-K 1.10.7 | |||
| pgjdbc | cpe:/a:redhat:camel_k:1.10.7 | RHSA-2024:5056 | 2024-08-06T00:00:00Z |
| RHOSS-1.33-RHEL-8 | |||
| openshift-serverless-1/logic-data-index-ephemeral-rhel8:1.33.0-5 | cpe:/a:redhat:openshift_serverless:1.33::el8 | RHSA-2024:4057 | 2024-06-24T00:00:00Z |
| openshift-serverless-1/logic-data-index-postgresql-rhel8:1.33.0-5 | cpe:/a:redhat:openshift_serverless:1.33::el8 | RHSA-2024:4057 | 2024-06-24T00:00:00Z |
| openshift-serverless-1/logic-jobs-service-ephemeral-rhel8:1.33.0-5 | cpe:/a:redhat:openshift_serverless:1.33::el8 | RHSA-2024:4057 | 2024-06-24T00:00:00Z |
| openshift-serverless-1/logic-jobs-service-postgresql-rhel8:1.33.0-5 | cpe:/a:redhat:openshift_serverless:1.33::el8 | RHSA-2024:4057 | 2024-06-24T00:00:00Z |
| openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8:1.33.0-5 | cpe:/a:redhat:openshift_serverless:1.33::el8 | RHSA-2024:4057 | 2024-06-24T00:00:00Z |
| openshift-serverless-1/logic-operator-bundle:1.33.0-5 | cpe:/a:redhat:openshift_serverless:1.33::el8 | RHSA-2024:4057 | 2024-06-24T00:00:00Z |
| openshift-serverless-1/logic-rhel8-operator:1.33.0-3 | cpe:/a:redhat:openshift_serverless:1.33::el8 | RHSA-2024:4057 | 2024-06-24T00:00:00Z |
| openshift-serverless-1/logic-swf-builder-rhel8:1.33.0-5 | cpe:/a:redhat:openshift_serverless:1.33::el8 | RHSA-2024:4057 | 2024-06-24T00:00:00Z |
| openshift-serverless-1/logic-swf-devmode-rhel8:1.33.0-5 | cpe:/a:redhat:openshift_serverless:1.33::el8 | RHSA-2024:4057 | 2024-06-24T00:00:00Z |
No data available yet.
Vendor Workaround
Don't use SimpleQuery mode
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3812-1 | libpgjava security update |
Debian DLA |
DLA-3995-1 | libpgjava security update |
EUVD |
EUVD-2024-0465 | pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if using PreferQueryMode=SIMPLE. Note this is not the default. In the default mode there is no vulnerability. A placeholder for a numeric value must be immediately preceded by a minus. There must be a second placeholder for a string value after the first placeholder; both must be on the same line. By constructing a matching string payload, the attacker can inject SQL to alter the query,bypassing the protections that parameterized queries bring against SQL Injection attacks. Versions before 42.7.2, 42.6.1, 42.5.5, 42.4.4, 42.3.9, and 42.2.28 are affected. |
Github GHSA |
GHSA-24rp-q3w6-vc56 | org.postgresql:postgresql vulnerable to SQL Injection via line comment generation |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 4.8% (4.810% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak:24::el9 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat build Keycloak
|
|
| CPEs | cpe:/a:redhat:build_keycloak: | |
| Vendors & Products |
Redhat build Keycloak
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:quarkus:2.13::el8 |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:apache_camel_spring_boot:4.4::el6 |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pgjdbc
Pgjdbc pgjdbc |
|
| CPEs | cpe:2.3:a:pgjdbc:pgjdbc:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Pgjdbc
Pgjdbc pgjdbc |
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat camel K
|
|
| CPEs | cpe:/a:redhat:camel_k:1.10.7 | |
| Vendors & Products |
Redhat camel K
|
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')