CVE-2022-22389 SQL injection in DB2 for Linux, UNIX and Windows
An authenticated user can cause a denial of service in IBM Db2 by executing specially crafted SQL statements.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-22389?
CVE-2022-22389 is a medium-severity SQL injection vulnerability in Ibm Db2, published on 24 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
IBM Db2 for Linux, UNIX and Windows 9.7, 10.1, 10.5, 11.1, and 11.5 is vulnerable to a denial of service as the server may terminate abnormally when executing specially crafted SQL statements by an authenticated user. IBM X-Force ID: 2219740.
Weakness: CWE-89
Which versions are affected by CVE-2022-22389?
It affects 1 product.
Products include Ibm Db2.
How do I fix CVE-2022-22389?
No fix has been published for CVE-2022-22389 yet. Limit exposure of the affected software until one is available.
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-2022-22389 being exploited?
There is no known exploitation of CVE-2022-22389 in the wild and no public exploit code.
Other vulnerabilities in Ibm Db2
Sources
Also known as GHSA-2w9r-f5h3-xwfx.