Cyber Risks · Trail of Bits Blog

Stranger Strings: An exploitable flaw in SQLite

Summary: Trail of Bits publicly disclosed CVE-2022-35737, a flaw introduced in SQLite 1.0.12 on October 17, 2000 and fixed in release 3.39.2 on July 21, 2022, that is triggered when large string inputs reach SQLite's printf functions with the %Q, %q, or %w format specifiers. The researchers confirmed denial-of-service in all cases and arbitrary code execution when the library is compiled without stack canaries, with exploitability depending on compilation and on the ! character enabling unicode scanning in the format string.

What's compelling: The bug sat in SQLite for roughly 22 years, and the researchers note the engine is used in nearly everything, from naval warships to smartphones, so the exposure is set by how each deployment was compiled rather than by whether the code was patched.

Read the original at Trail of Bits Blog ↗

Topics
Vulnerabilities & Patching
Mentions
CVE-2022-35737
Related
Andreas Kellas Cyber Risks ·