vendor:
MariaDB Server
by:
strider
7.5
CVSS
HIGH
Buffer Overflow
120
CWE
Product Name: MariaDB Server
Affected Version From: 10.1.26
Affected Version To: 10.1.26
Patch Exists: NO
Related CWE: None
CPE: a:mariadb:mariadb_server:10.1.26
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Debian 9 Stretch x64 / Ubuntu 18.04 x86_64
2018
MariaDB Client 10.1.26 – Denial of Service (PoC)
MariaDB uses environment variables. The PAGER variable is vulnerable to a bufferoverflow. If the environment variable PAGER is greater or equals 512 characters it will crash and make client unusable. This is caused by a the function strmov which takes all from source and copy that into destination which have a fixed size.
Mitigation:
Ensure that the environment variable PAGER is not greater or equals 512 characters.