Read Time:24 Second
Posted by Georgi Guninski on Sep 08
sagemath 9.0 and reportedly later on ubuntu 20.
sagemath gives access to the python interpreter,
so code execution is trivial.
We give DoS attacks, which terminates the sagemath process
with abort(), when raising symbolic expression to large integer power.
We get abort() with stack:
gmp: overflow in mpz type
#6 0x00007f55c83ee72e in __GI_abort () at
/build/glibc-SzIz7B/glibc-2.31/stdlib/abort.c:79
#7 0x00007f55c56e0d20 in __gmpz_realloc ()…