huge COLUMNS causes progress-bar to buffer overflow
该报告还没有中文解读。
原文摘录
摘自原文(1744 字符中的一小部分)
Summary: If an attacker can set environmental variables, curl will always crash with a buffer overflow when downloading a file – if the `--progress-bar` argument is set.
原文中的代码
# Of course you can set the COLUMNS variable in your `.profile` configuration file instead... env COLUMNS="9223372032559808515" curl "http://hubblesource.stsci.edu/sources/video/clips/details/images/hale_bopp_2.mpg" -o "./test.mpg"
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @pendrek · 版权归作者与 curl 所有