A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Magistrala (formerly Mainflux)'s message-readers API reads a value from the HTTP query string (readers/api/http/transport.go) with no validation and interpolates it directly into raw SQL queries via fmt.Sprintf in both the PostgreSQL reader (readers/postgres/messages.go: ) and the TimescaleDB reader (readers/timescale/messages.go, same pattern), enabling SQL injection by any authenticated user able to query channel messages.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /absmach/magistrala
- github.com /absmach/magistrala/blob/main/readers/postgres/messages.go
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning