IDIV DoS (INT_MIN / -1)
kqueue.org
IDIV DoS (INT_MIN / -1)
1–10 of 24 posts
Re: IDIV DoS (INT_MIN / -1)
#2http://www.exploringbinary.com/why-volatile-fixes-the-2-2250...
Re: IDIV DoS (INT_MIN / -1)
#3Reminds me about that fairly recent strtod() infinite loop that caused DoS in several languages. http://www.exploringbinary.com/why-volatile-fixes-the-2-2250...
Re: IDIV DoS (INT_MIN / -1)
#4Reminds me about that fairly recent strtod() infinite loop that caused DoS in several languages. http://www.exploringbinary.com/why-volatile-fixes-the-2-2250...
Did it affect any languages other than PHP? The linked article suggests that it was PHP only (and this agrees with zend_strtod being the problem function and not any C library implementation of strtod(3)).
Re: IDIV DoS (INT_MIN / -1)
#5Reminds me about that fairly recent strtod() infinite loop that caused DoS in several languages. http://www.exploringbinary.com/why-volatile-fixes-the-2-2250...
Did it affect any languages other than PHP? The linked article suggests that it was PHP only (and this agrees with zend_strtod being the problem function and not any C library implementation of strtod(3)).
Re: IDIV DoS (INT_MIN / -1)
#6Re: IDIV DoS (INT_MIN / -1)
#7Re: IDIV DoS (INT_MIN / -1)
#8Reminds me about that fairly recent strtod() infinite loop that caused DoS in several languages. http://www.exploringbinary.com/why-volatile-fixes-the-2-2250...
Did it affect any languages other than PHP? The linked article suggests that it was PHP only (and this agrees with zend_strtod being the problem function and not any C library implementation of strtod(3)).
This guy here over at http://blog.andreas.org/display?id=9 mentions at least: "Android libc, gcc libio, gcc java runtime, newlib libc, GNU Mono, Apple's libc, mozilla"
It was particularly nasty because it could easily be exploited simply by putting that specific decimal number into a web form or whatever, and for each request a thread on the backend server would lock a CPU to 100% usage until sysadmins discover and kill those threads, worst case.
Re: IDIV DoS (INT_MIN / -1)
#9Re: IDIV DoS (INT_MIN / -1)
#10I just tried the C version and it compiles and exits gracefully with gcc 4.2.1.