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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| eidetic-labs | stigmem | < 0.9.0a2 | 0.9.0a2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | stigmem-node | < 0.9.0a2 | 0.9.0a2 | GHSA-9pc9-4crj-mhpj |
References
- GitHub Security Advisory (GHSA-9pc9-4crj-mhpj) vendor-advisory
- VulnCheck Advisory: stigmem Postgres SQL Injection via Schema Identifier third-party-advisory