Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| eidetic-labs / stigmem | affected 0 before 0.9.0a2; unaffected 0.9.0a2 |
CWE
CWE-89
References
- https://github.com/eidetic-labs/stigmem/security/advisories/GHSA-9pc9-4crj-mhpj
- https://www.vulncheck.com/advisories/stigmem-postgres-sql-injection-via-schema-identifier
ADP enrichment
No English description supplied.
No references supplied.