CVE-2022-44644 Apache Linkis (incubating): The DatasourceManager module has a Local File Read Vulnerability

Medium 6.5 Published Updated

An authenticated attacker can read arbitrary local files by connecting to a rogue MySQL server with specific JDBC parameters enabled.

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-44644?

CVE-2022-44644 is a medium-severity path traversal vulnerability in Apache Linkis (incubating), published on 31 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Apache Linkis <=1.3.0 when used with the MySQL Connector/J in the data source module, an authenticated attacker could read arbitrary local files by connecting a rogue MySQL server, By adding allowLoadLocalInfile to true in the JDBC parameter. Therefore, the parameters in the JDBC URL should be blacklisted. Versions of Apache Linkis <= 1.3.0 will be affected. 

We recommend users upgrade the version of Linkis to version 1.3.1

Weakness: CWE-20

Which versions are affected by CVE-2022-44644?

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

PackageAffectedFixed in
org.apache.linkis:linkis MavenAll versions1.3.1
org.apache.linkis:linkis MavenAll versions1.3.1

Products include Apache Linkis.

How do I fix CVE-2022-44644?

Upgrade org.apache.linkis:linkis to 1.3.1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-44644 being exploited?

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

Sources

Also known as GHSA-rx76-xw35-6rh8.

Is CVE-2022-44644 in your software?

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

Check your SBOMs for free