stigmem Postgres SQL Injection via Schema Identifier
eidetic-labs stigmem
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| stigmem-node PyPI |
|
|
Original description
stigmem-node 0.9.0a1 interpolates Postgres backend schema identifiers into SQL strings without defensive quoting. In the affected code path the schema value is operator-controlled, but the unsafe pattern could allow SQL injection if a schema name were derived from tenant, request, or user input. Fixed in 0.9.0a2, which adds identifier quoting and validation. As a workaround, only configure schema names from trusted deployment configuration.
From the CVE record · VulnCheck