Stack Buffer-Overflow in MariaDB Charset_collation_map_st::insert_or_replace()
该报告还没有中文解读。
原文摘录
摘自原文(3781 字符中的一小部分)
Stack-based buffer overflow in MariaDB Server's `Charset_collation_map_st::insert_or_replace()` function in `sql/charset_collations.cc`. The function copies user-supplied charset and collation identifiers into fixed-size stack buffers (33 and 65 bytes respectively) using `strmake()` with the …
原文中的代码
bool Charset_collation_map_st::insert_or_replace(const LEX_CSTRING &cs_name,
const LEX_CSTRING &cl_name,
bool error_on_unknown,
myf utf8_flag)
{
// …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 MariaDB 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @lukas_kupczyk · 版权归作者与 MariaDB 所有