Description
A flaw has been found in vanna-ai vanna up to 2.0.2. This impacts the function remove_training_data of the file src/vanna/legacy/google/bigquery_vector.py. This manipulation of the argument ID causes sql injection. The attack can be initiated remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vanna-ai | vanna | 2.0.0, 2.0.1, 2.0.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | vanna | <= 2.0.2 | — | GHSA-6mj8-jmp2-g8q7 |
References
- VDB-351152 | vanna-ai vanna bigquery_vector.py remove_training_data sql injection vdb-entry technical-description
- VDB-351152 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #771214 | vanna-ai Vanna 2.0.2 SQL Injection (CWE-89) third-party-advisory
- https://gist.github.com/YLChen-007/b4f326eaecc29b192cf93dc5d6bc0623 exploit