Skip to content

CVE-2025-59355 Apache Linkis: Password Exposure

MediumCVSS 6.5 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

A vulnerability.

When org.apache.linkis.metadata.util.HiveUtils.decode() fails to perform Base64 decoding, it records the complete input parameter string in the log via logger.error(str + "decode failed", e). If the input parameter contains sensitive information such as Hive Metastore keys, plaintext passwords will be left in the log files when decoding fails, resulting in information leakage.

Affected Scope
Component: Sensitive fields in hive-site.xml (e.g., javax.jdo.option.ConnectionPassword) or other fields encoded in Base64.
Version: Apache Linkis 1.0.0 – 1.7.0

Trigger Conditions
The value of the configuration item is an invalid Base64 string.
Log files are readable by users other than hive-site.xml administrators.

Severity: Low
The probability of Base64 decoding failure is low.
The leakage is only triggered when logs at the Error level are exposed.

Remediation
Apache Linkis 1.8.0 and later versions have replaced the log with desensitized content.
logger.error("URL decode failed: {}", e.getMessage()); // 不再输出 str

Users are recommended to upgrade to version 1.8.0, which fixes the issue.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
Apache Linkis >= 1.0.0, <= 1.7.0 after 1.7.0 Fixed
apache linkis >= 1.0.0, < 1.8.0 1.8.0 Fixed
org.apache.linkis/linkis-metadata(Maven) = 1.0.3; = 1.1.0; = 1.1.1; = 1.1.2 +10 more 1.8.0 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.linkis/linkis-metadata(Maven) >= 1.0.0, < 1.8.0 1.8.0
org.apache.linkis/linkis-metadata(Maven) = 1.0.3 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.1.0 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.1.1 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.1.2 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.1.3 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.2.0 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.3.0 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.3.1 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.3.2 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.4.0 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.5.0 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.6.0 No fix listed
org.apache.linkis/linkis-metadata(Maven) = 1.7.0 No fix listed
Apache Linkis >= 1.0.0, <= 1.7.0 No fix listed
apache linkis >= 1.0.0, < 1.8.0 1.8.0

References