SQL injection with multibyte encodings in Ruby on Rails (GHSA-744p-w4gc-m3gh)
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
A SQL injection flaw (GHSA-744p-w4gc-m3gh) in the Trilogy MySQL client's escape function allows unauthenticated attackers to inject SQL when strings use Shift_JIS, Windows-31J, Big5, GBK or GB18030 encodings, because continuation bytes can fall in the ASCII range.