Type confusion in FutureIter_throw() which may potentially lead to an arbitrary code execution
该报告还没有中文解读。
原文摘录
摘自原文(4423 字符中的一小部分)
I reported this directly to [email protected]. The issue has been fixed. Python Team confirmed that it's fixed and disclosed:
原文中的代码
static PyObject *
FutureIter_throw(futureiterobject *self, PyObject *args)
{
PyObject *type=NULL, *val=NULL, *tb=NULL;
if (!PyArg_ParseTuple(args, "O|OO", &type, &val, &tb))
return NULL;
if (val == Py_None) {
val = NULL;
}
if (tb == Py_None) {
tb = NULL; …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @artem · 版权归作者与 Internet Bug Bounty 所有