An integer overflow in process_bin_sasl_auth function in Memcached, which is responsible for authentication commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://security.gentoo.org/glsa/201701-12 | vendor advisory |
http://www.debian.org/security/2016/dsa-3704 | vendor advisory |
http://rhn.redhat.com/errata/RHSA-2016-2819.html | vendor advisory |
http://www.securityfocus.com/bid/94083 | vdb entry |
http://www.securitytracker.com/id/1037333 | vdb entry |
http://www.talosintelligence.com/reports/TALOS-2016-0221/ | exploit vdb entry third party advisory technical description |