CVE-2021-21501 ServiceComb ServiceCenter Directory Traversal

High 7.5 Published Updated

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.

PackageAffectedFixed in
github.com/apache/servicecomb-service-center GoAll versions2.0.0
github.com/apache/servicecomb-service-center GoAll versions2.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.

Sources

Also known as GHSA-x6jv-5vfg-gm7x.

Is CVE-2021-21501 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free