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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Linkis | from 1.0.0 up to 1.7.0 | CVE List |
| org.apache.linkis:linkis-metadata (Maven) | from 1.0.0 before 1.8.0 | GitHub Advisory Database |
| apache linkis | from 1.0.0 before 1.8.0 | NVD |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
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
| https://lists.apache.org/thread/75z7vhftw6w1mllndgpkfmcj0fzo4lbj | mailing-list, patch, web | |
| https://lists.apache.org/thread/4dcgmqdkk2p5y4k43ok5rgd4ylx8698h | mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2025/09/19/1 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-59355 | advisory | |
| https://github.com/apache/linkis | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59355 changed 2026-01-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6vfr-p2hx-6v32 changed 2026-02-03 | CC-BY-4.0 |
| NVD | CVE-2025-59355 changed 2026-06-17 | Public domain |