3 ms·
Python ships with a sqlite3 module in the standard library. Does this mean Python needs to ship a security path? What should Python users be doing about this?
by simonw 8y ago
Python ships with a sqlite3 module in the standard library.
Does this mean Python needs to ship a security path? What should Python users be doing about this?
- blattimwind 8y ago> Does this mean Python needs to ship a security path? Python binaries (e.g. the Windows installers) may need to be updated. For Linux distros Python would depend on a system package.
- ronsor 8y agoDoes python use it's own sqlite3 or system sqlite3? In the latter case, patches would be the package maintainers' responsibility. Of course, on Windows, it's going to have to use its own sqlite3.
- Kipters 8y agoWindows 10 ships a copy of sqlite3 since version 1511, I don't know which version it's shipping in the latest updates though.
- sdinsn 8y agoBut does the sqlite3 module actually contain SQLite with it, or just a library to interface with it? The fix does not change any interface library code.
- armitron 8y agoOn Windows, a complete sqlite3 DLL (~1MB) is included with the Python distribution. On Linux/macos, the Python extension (usually) links dynamically to a shared sqlite3 system library.
- akvadrako 8y agoIt's only an issue if you allow untrusted code to run arbitrary SQL statements, which should never be done.
- markovbot 8y agoDo you have a source for that? It seems far more concrete than anything else I've seen.