CVE-2020-13921

**Resolved** Only when using H2/MySQL/TiDB as Apache SkyWalking storage, there is a SQL injection vulnerability in the wildcard query cases

published August 5, 2020

CVSS
—
EPSS
33%
Percentile
98.4
In the wild
Unconfirmed
What it is

⚠️ SQL injection can slip through the cracks when using H2, MySQL, or TiDB for Apache SkyWalking storage! Don't let a sneaky query mess with your data. 🔍 Think of it like a restaurant where a waiter mistakenly takes a customer’s order without checking the kitchen’s ingredients — the wrong dish could end up on the table if the order isn’t properly validated! 🍽️ If an attacker exploits this vulnerability, they could manipulate database queries and potentially extract sensitive data or alter your records. While it’s not a full-blown disaster, allowing unchecked queries opens the door for unexpected surprises!

Put simply

Think of it like a restaurant where a waiter mistakenly takes a customer’s order without checking the kitchen’s ingredients — the wrong dish could end up on the table if the order isn’t properly validated! 🍽️ This vulnerability arises specifically in wildcard query scenarios, where inadequate input validation allows attackers to inject SQL code into legitimate queries, leading to unauthorized data access.

What to do

If an attacker exploits this vulnerability, they could manipulate database queries and potentially extract sensitive data or alter your records. While it’s not a full-blown disaster, allowing unchecked queries opens the door for unexpected surprises! To mitigate this vulnerability, ensure your database queries are properly sanitized. Consider updating to the latest version of Apache SkyWalking that addresses this issue and review your database configurations for tight access controls. This is fixable! With a few careful adjustments, you’ll keep your data safe and secure. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.33478 · 98.4th percentile
Published
2020-08-05T13:25Z
EPSS history
Timeline
  • 05 AUG 13:25Z
    **Resolved** Only when using H2/MySQL/TiDB as Apache SkyWalking storage, there is a SQL injection vulnerability in the wildcard query cases
    cvelistv5