Description (CNA)
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to version 0.10.8-alpha.10, a SQL LIKE wildcard injection vulnerability in the `/api/token/search` endpoint allows authenticated users to cause denial of service through resource exhaustion by crafting malicious search patterns. The token search endpoint accepts user-supplied `keyword` and `token` parameters that are directly concatenated into SQL LIKE clauses without escaping wildcard characters (`%`, `_`). This allows attackers to inject patterns that trigger expensive database queries. Version 0.10.8-alpha.10 contains a patch.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| QuantumNous / new-api | affected < 0.10.8-alpha.10 |
CWE
CWE-943
References
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-w6x6-9fp7-fqm4
- https://github.com/QuantumNous/new-api/commit/3e1be18310f35d20742683ca9e4bf3bcafc173c5
- https://github.com/QuantumNous/new-api/releases/tag/v0.10.8-alpha.10
ADP enrichment
No English description supplied.
No references supplied.