CVE-2015-0244 SQL injection in PostgreSQL
Remote attackers can execute arbitrary SQL commands via crafted binary data causing protocol desynchronization, requiring database administrators to upgrade PostgreSQL.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-0244?
CVE-2015-0244 is a critical SQL injection vulnerability in Debian Debian Linux, published on 27 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 does not properly handle errors while reading a protocol message, which allows remote attackers to conduct SQL injection attacks via crafted binary data in a parameter and causing an error, which triggers the loss of synchronization and part of the protocol message to be treated as a new message, as demonstrated by causing a timeout or query cancellation.
Weakness: CWE-89
Which versions are affected by CVE-2015-0244?
It affects 2 products.
Products include Debian Debian Linux, Postgresql Postgresql.
How do I fix CVE-2015-0244?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2015-0244 being exploited?
There is no known exploitation of CVE-2015-0244 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as GHSA-xvhg-pwg9-qp4r, UBUNTU-CVE-2015-0244.