piskvorky / sqlitedict

Persistent dict, backed by sqlite3 and pickle, multithread-safe.
Apache License 2.0
1.16k stars 130 forks source link

Vulnerable to SQL Injection Attacks #175

Open rharder opened 1 month ago

rharder commented 1 month ago

Our Fortify scans alerted us to possible SQL injection attacks in sqldict.py, and upon inspection it does appear to have a number of SQL statements built with Python's string-building %s feature rather than sqlite's parameterized queries.

Is that something that can be fixed? It's giving our cyber team fits. =)

-Rob