CVE-2025-59355
Severity CVSS v4.0:
Pending analysis
Type:
CWE-532
Information Exposure Through Log Files
Publication date:
19/01/2026
Last modified:
19/01/2026
Description
A vulnerability.<br />
<br />
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.<br />
<br />
<br />
Affected Scope<br />
Component: Sensitive fields in hive-site.xml (e.g., javax.jdo.option.ConnectionPassword) or other fields encoded in Base64.<br />
Version: Apache Linkis 1.0.0 – 1.7.0<br />
<br />
<br />
Trigger Conditions<br />
The value of the configuration item is an invalid Base64 string.<br />
Log files are readable by users other than hive-site.xml administrators.<br />
<br />
<br />
Severity: Low<br />
The probability of Base64 decoding failure is low.<br />
The leakage is only triggered when logs at the Error level are exposed.<br />
<br />
Remediation<br />
Apache Linkis 1.8.0 and later versions have replaced the log with desensitized content.<br />
logger.error("URL decode failed: {}", e.getMessage()); // 不再输出 str<br />
<br />
<br />
Users are recommended to upgrade to version 1.8.0, which fixes the issue.



