CVE-2025-59355
JSON

6.5medium

Apache Linkis: Password Exposure

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.84% (higher than 55% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-6vfr-p2hx-6v32

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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Linkisfrom 1.0.0 up to 1.7.0CVE List
org.apache.linkis:linkis-metadata (Maven)from 1.0.0 before 1.8.0GitHub Advisory Database
apache linkisfrom 1.0.0 before 1.8.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

Classification

CWE-532

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

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Una vulnerabilidad. Cuando org.apache.linkis.metadata.util.HiveUtils.decode() falla al realizar la decodificación Base64, registra la cadena completa del parámetro de entrada en el log a través de logger.error(str + 'decode failed', e). Si el parámetro de entrada contiene información sensible como claves de Hive Metastore, las contraseñas en texto plano quedarán en los archivos de log cuando la decodificación falle, lo que resulta en una fuga de información. Alcance Afectado Componente: Campos sensibles en hive-site.xml (por ejemplo, javax.jdo.option.ConnectionPassword) u otros campos codificados en Base64. Versión: Apache Linkis 1.0.0 – 1.7.0 Condiciones de Activación El valor del elemento de configuración es una cadena Base64 inválida. Los archivos de log son legibles por usuarios distintos de los administradores de hive-site.xml. Severidad: Baja La probabilidad de fallo en la decodificación Base64 es baja. La fuga solo se activa cuando los logs de nivel Error están expuestos. Remediación Apache Linkis 1.8.0 y versiones posteriores han reemplazado el log con contenido desensibilizado. logger.error('URL decode failed: {}', e.getMessage()); // Ya no se imprime str Se recomienda a los usuarios actualizar a la versión 1.8.0, que corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59355 changed 2026-01-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-6vfr-p2hx-6v32 changed 2026-02-03CC-BY-4.0
NVDCVE-2025-59355 changed 2026-06-17Public domain