CVE-2025-59355
MEDIUM 6.5CVSS 3.1Apache Linkis: Password Exposure
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.
- Published
- 19 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-532
- Also known as
- GHSA-6vfr-p2hx-6v32
- Sources
- NVDJSONOSV GHSA-6vfr-p2hx-6v32JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | linkiscpe:2.3:a:apache:linkis:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.8.0 | 1.8.0 |
| OSV | Maven | org.apache.linkis:linkis-metadata | >= 1.0.0, < 1.8.0 | 1.8.0 |
References
- https://lists.apache.org/thread/4dcgmqdkk2p5y4k43ok5rgd4ylx8698h · Mailing List, WEB
- https://lists.apache.org/thread/75z7vhftw6w1mllndgpkfmcj0fzo4lbj · Mailing List, 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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 19 Jan 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Jan 2026)