CVE-2023-49620 Apache DolphinScheduler: Authenticated users could delete UDFs in resource center they were not authorized for

Medium 6.5 Published Updated

Authenticated users can delete unauthorized UDFs in the resource center due to missing authorization checks.

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-2023-49620?

CVE-2023-49620 is a medium-severity missing authorization vulnerability in Apache DolphinScheduler, published on 30 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Before DolphinScheduler version 3.1.0, the login user could delete UDF function in the resource center unauthorized (which almost used in sql task), with unauthorized access vulnerability (IDOR), but after version 3.1.0 we fixed this issue. We mark this cve as moderate level because it still requires user login to operate, please upgrade to version 3.1.0 to avoid this vulnerability

Weakness: CWE-862

Which versions are affected by CVE-2023-49620?

8 open source packages ship an affected version, including org.apache.dolphinscheduler:dolphinscheduler-api, org.apache.dolphinscheduler:dolphinscheduler-common and org.apache.dolphinscheduler:dolphinscheduler-dao. It affects 1 product.

PackageAffectedFixed in
org.apache.dolphinscheduler:dolphinscheduler-api MavenAll versions3.1.0
org.apache.dolphinscheduler:dolphinscheduler-api MavenAll versions3.1.0
org.apache.dolphinscheduler:dolphinscheduler-common MavenAll versions3.1.0
org.apache.dolphinscheduler:dolphinscheduler-common MavenAll versions3.1.0
org.apache.dolphinscheduler:dolphinscheduler-dao MavenAll versions3.1.0
org.apache.dolphinscheduler:dolphinscheduler-dao MavenAll versions3.1.0
2 more packages
org.apache.dolphinscheduler:dolphinscheduler-service MavenAll versions3.1.0
org.apache.dolphinscheduler:dolphinscheduler-service MavenAll versions3.1.0

Products include Apache Dolphinscheduler.

How do I fix CVE-2023-49620?

Upgrade org.apache.dolphinscheduler:dolphinscheduler-api to 3.1.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-49620 being exploited?

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

Sources

Also known as GHSA-r44q-98gx-pmh2.

Is CVE-2023-49620 in your software?

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

Check your SBOMs for free