CVE-2022-44644
JSON

6.5medium

Apache Linkis (incubating): The DatasourceManager module has a Local File Read Vulnerability

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.09% (higher than 65% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-rx76-xw35-6rh8

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

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Linkis (incubating)before 1.3.1CVE List
org.apache.linkis:linkis (Maven)before 1.3.1GitHub Advisory Database
apache linkisup to 1.3.0NVD

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-20CWE-200CWE-312

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

GitHub Advisory Database

In Apache Linkis <=1.3.0 when used with the MySQL Connector/J, an authenticated attacker could read arbitrary local file 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

NVD (es)

En Apache Linkis &lt;=1.3.0, cuando se usa con MySQL Connector/J en el módulo de fuente de datos, un atacante autenticado podría leer archivos locales arbitrarios conectando un servidor MySQL no autorizado, agregando enableLoadLocalInfile a verdadero en el parámetro JDBC. Por lo tanto, los parámetros en la URL de JDBC deben estar en la lista negra. Las versiones de Apache Linkis &lt;=1.3.0 se verán afectadas. Recomendamos a los usuarios actualizar la versión de Linkis a la versión 1.3.1

References

Sources

SourceRecordLicence
CVE ListCVE-2022-44644 changed 2025-03-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-rx76-xw35-6rh8 changed 2023-11-08CC-BY-4.0
NVDCVE-2022-44644 changed 2026-06-17Public domain