CVE-2021-21501 ServiceComb ServiceCenter Directory Traversal
An attacker can read arbitrary files from the server due to improper configuration in ServiceComb ServiceCenter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-21501?
CVE-2021-21501 is a high-severity path traversal vulnerability in Apache ServiceComb, published on 10 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper configuration will cause ServiceComb ServiceCenter Directory Traversal problem in ServcieCenter 1.x.x versions and fixed in 2.0.0.
Weakness: CWE-22
Which versions are affected by CVE-2021-21501?
2 open source packages ship an affected version, including github.com/apache/servicecomb-service-center. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/apache/servicecomb-service-center Go | All versions | 2.0.0 |
github.com/apache/servicecomb-service-center Go | All versions | 2.0.0 |
Products include Apache Servicecomb.
How do I fix CVE-2021-21501?
Upgrade github.com/apache/servicecomb-service-center to 2.0.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-21501 being exploited?
There is no known exploitation of CVE-2021-21501 in the wild and no public exploit code.
Other vulnerabilities in Apache ServiceComb
Sources
Also known as GHSA-x6jv-5vfg-gm7x.