Description (CNA)
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 1.0.0-rc.16, repeated PUT /api/user/self requests that update language or sidebar_modules can race relay billing because controller/user.go calls User.Update and updateUserCache performs a full RedisHSetObj write to user:.Quota, overwriting concurrent HINCRBY deductions and allowing an authenticated user to keep cached quota artificially high. This issue is fixed in version 1.0.0-rc.16.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| QuantumNous / new-api | affected < 1.0.0-rc.16 |
CWE
CWE-362
References
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-j6gc-4893-qwmp
- https://github.com/QuantumNous/new-api/commit/dfc0d6324b40c1d6c2972e524409f933541bfb0f
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.16
ADP enrichment
No English description supplied.
No references supplied.