ghsa-xfg6-62px-cxc2
Vulnerability from github
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-24rp-q3w6-vc56. This link is maintained to preserve external references.
Original Description
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.8 are affected.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.postgresql:postgresql" }, "ranges": [ { "events": [ { "introduced": "42.7.0" }, { "fixed": "42.7.2" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.postgresql:postgresql" }, "ranges": [ { "events": [ { "introduced": "42.6.0" }, { "fixed": "42.6.1" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.postgresql:postgresql" }, "ranges": [ { "events": [ { "introduced": "42.5.0" }, { "fixed": "42.5.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.postgresql:postgresql" }, "ranges": [ { "events": [ { "introduced": "42.4.0" }, { "fixed": "42.4.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.postgresql:postgresql" }, "ranges": [ { "events": [ { "introduced": "42.3.0" }, { "fixed": "42.3.9" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.postgresql:postgresql" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "42.2.8" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [], "database_specific": { "cwe_ids": [ "CWE-89" ], "github_reviewed": true, "github_reviewed_at": "2024-02-21T00:04:53Z", "nvd_published_at": "2024-02-19T13:15:07Z", "severity": "CRITICAL" }, "details": "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-24rp-q3w6-vc56. This link is maintained to preserve external references.\n\n## Original Description\npgjdbc, 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.8 are affected.", "id": "GHSA-xfg6-62px-cxc2", "modified": "2024-06-10T18:30:52Z", "published": "2024-02-19T15:30:38Z", "references": [ { "type": "WEB", "url": "https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1597" }, { "type": "WEB", "url": "https://github.com/pgjdbc/pgjdbc/commit/06abfb78a627277a580d4df825f210e96a4e14ee" }, { "type": "WEB", "url": "https://github.com/pgjdbc/pgjdbc/commit/93b0fcb2711d9c1e3a2a03134369738a02a58b40" }, { "type": "PACKAGE", "url": "https://github.com/pgjdbc/pgjdbc" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2024/05/msg00007.html" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TZQTSMESZD2RJ5XBPSXH3TIQVUW5DIUU" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20240419-0008" }, { "type": "WEB", "url": "https://www.enterprisedb.com/docs/jdbc_connector/latest/01_jdbc_rel_notes" }, { "type": "WEB", "url": "https://www.enterprisedb.com/docs/security/assessments/cve-2024-1597" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2024/04/02/6" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Duplicate Advisory: SQL injection in pgjdbc", "withdrawn": "2024-02-21T23:18:25Z" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.