Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2020-13921: Apache SkyWalking: SQL Injection in Storage with H2/MySQL/TiDB
CVE-2020-13921 · published 6 years ago
Summary
Apache SkyWalking's storage feature using H2, MySQL, or TiDB databases is vulnerable to SQL injection attacks when handling wildcard queries. This means that an attacker could potentially inject malicious SQL code to extract or modify sensitive data. Users should update to the fixed version to prevent exploitation.
What to do
- Update apache org.apache.skywalking:oap-server to version 8.1.0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| maven | apache | org.apache.skywalking:oap-server |
< 8.1.0 Fix: upgrade to 8.1.0
|
| – | apache | skywalking |
6.5.0 6.6.0 7.0.0 8.0.0 8.0.1 cpe:2.3:a:apache:skywalking:6.5.0:*:*:*:*:*:*:* |
Original advisory text
**Resolved** Only when using H2/MySQL/TiDB as Apache SkyWalking storage, there is a SQL injection vulnerability in the wildcard query cases.
**Resolved** Only when using H2/MySQL/TiDB as Apache SkyWalking storage, there is a SQL injection vulnerability in the wildcard query cases.
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-13921
- https://github.com/apache/skywalking/pull/4970
- https://github.com/apache/skywalking/commit/fb7912c6bdda06a233f4b3e18e71a87d3e4a...
- https://lists.apache.org/thread.html/r6f3a934ebc54585d8468151a494c1919dc1ee2ccca...
- http://www.openwall.com/lists/oss-security/2020/08/05/3
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-skywalking/PYSE...
- https://lists.apache.org/thread.html/r6f3a934ebc54585d8468151a494c1919dc1ee2ccca...
- https://github.com/advisories/GHSA-grpf-gg7v-5g5h
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-89SQL Injection
Timeline
Published5 Aug 2020
Updated23 Aug 2026
First seen6 Mar 2026
Track software like this
Free during beta