GHSA-6vfr-p2hx-6v32

Suggest an improvement
Source
https://github.com/advisories/GHSA-6vfr-p2hx-6v32
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-6vfr-p2hx-6v32/GHSA-6vfr-p2hx-6v32.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6vfr-p2hx-6v32
Aliases
Published
2026-01-19T09:30:28Z
Modified
2026-02-03T03:16:48Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Apache Linkis: Password Exposure
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-532"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-01-21T01:03:28Z",
    "nvd_published_at":  "2026-01-19T09:16:02Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven / org.apache.linkis:linkis-metadata

Package

Name
org.apache.linkis:linkis-metadata
View open source insights on deps.dev
Purl
pkg:maven/org.apache.linkis/linkis-metadata

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.0.0
Fixed
1.8.0

Affected versions

1.*
1.0.3
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.3.0
1.3.1
1.3.2
1.4.0
1.5.0
1.6.0
1.7.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-6vfr-p2hx-6v32/GHSA-6vfr-p2hx-6v32.json"