CVE-2022-34662 Apache DolphinScheduler prior to 3.0.0 allows path traversal

Medium 6.5 Published Updated

Authenticated users can exploit path traversal in the resource center to read or modify arbitrary files on the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-34662?

CVE-2022-34662 is a medium-severity path traversal vulnerability in Apache DolphinScheduler, published on 1 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

When users add resources to the resource center with a relation path will cause path traversal issues and only for logged-in users. You could upgrade to version 3.0.0 or higher

Weakness: CWE-22

Which versions are affected by CVE-2022-34662?

2 open source packages ship an affected version, including org.apache.dolphinscheduler:dolphinscheduler. It affects 1 product.

PackageAffectedFixed in
org.apache.dolphinscheduler:dolphinscheduler MavenAll versions3.0.0
org.apache.dolphinscheduler:dolphinscheduler MavenAll versions3.0.0

Products include Apache Dolphinscheduler.

How do I fix CVE-2022-34662?

Upgrade org.apache.dolphinscheduler:dolphinscheduler to 3.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-2022-34662 being exploited?

There is no known exploitation of CVE-2022-34662 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-fp35-xrrr-3gph.

Is CVE-2022-34662 in your software?

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

Check your SBOMs for free