2.3 LOW
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Attack Requirement (AT): Present (P)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): Low (L)
- Vulnerable System Impact Availability (VA): None (N)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Attack Requirement (MAT): Present (P)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): Low (L)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
pgx: SQL Injection via placeholder confusion with dollar quoted string literals
pgx is a PostgreSQL driver and toolkit for Go. Prior to version 5.9.2, SQL injection can occur when the non-default simple protocol is used, a dollar quoted string literal is used in the SQL query, that string literal contains text that would be would be interpreted as a placeholder outside of a string literal, and the value of that placeholder is controllable by the attacker. This issue has been patched in version 5.9.2.
References
-
https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx x_refsource_CONFIRM
-
https://github.com/jackc/pgx/releases/tag/v5.9.2 x_refsource_MISC
Affected products
- ==< 5.9.2
Matching in nixpkgs
pkgs.ocamlPackages.pgx
Pure-OCaml PostgreSQL client library
pkgs.ocamlPackages.pgx_eio
Pgx using Eio for IO
pkgs.ocamlPackages.pgx_lwt
Pgx using Lwt for IO
pkgs.ocamlPackages_latest.pgx
Pure-OCaml PostgreSQL client library
pkgs.ocamlPackages.pgx_lwt_unix
Pgx using Lwt and Unix libraries for IO
pkgs.postgresqlPackages.pgx_ulid
ULID Postgres extension written in Rust
pkgs.ocamlPackages_latest.pgx_eio
Pgx using Eio for IO
pkgs.ocamlPackages_latest.pgx_lwt
Pgx using Lwt for IO
pkgs.postgresql14Packages.pgx_ulid
ULID Postgres extension written in Rust
pkgs.postgresql15Packages.pgx_ulid
ULID Postgres extension written in Rust
pkgs.postgresql16Packages.pgx_ulid
ULID Postgres extension written in Rust
pkgs.postgresql17Packages.pgx_ulid
ULID Postgres extension written in Rust
pkgs.postgresql18Packages.pgx_ulid
ULID Postgres extension written in Rust
pkgs.ocamlPackages_latest.pgx_lwt_unix
Pgx using Lwt and Unix libraries for IO
Package maintainers
-
@typedrat Alexis Williams <alexis@typedr.at>
-
@myypo Mykyta Polchanov <nikirsmcgl@gmail.com>