GHSA-wg5x-3g47-v38r

Suggest an improvement
Source
https://github.com/advisories/GHSA-wg5x-3g47-v38r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-wg5x-3g47-v38r/GHSA-wg5x-3g47-v38r.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-wg5x-3g47-v38r
Aliases
Published
2026-05-19T15:40:13Z
Modified
2026-06-09T13:30:14.608698586Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
fabric-chaincode-java: TLS Private Key Password Disclosed in INFO Startup Logs in Chaincode-as-a-Service Mode
Details

When chaincode is deployed in chaincode-as-a-service mode with TLS enabled, the chaincode server INFO level logging includes the TLS private key password in plaintext. An attacker with access to the chaincode server logs could recover the TLS private key password. If the attacker can also obtain the TLS private key, they could impersonate the chaincode server.

Recommendation

  • Update to the fixed version of the chaincode runtime.
  • Redact or remove existing logs that contain the TLS private key password.
  • Change the TLS private key password.

Mitigation

Impacted deployments can mitigate the vulnerability by restricting the logging level to WARNING or higher so that INFO level logs are not written.

Database specific
{
    "github_reviewed_at": "2026-05-19T15:40:13Z",
    "nvd_published_at": "2026-06-08T17:16:44Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-532"
    ]
}
References

Affected packages

Maven / org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim

Package

Name
org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim
View open source insights on deps.dev
Purl
pkg:maven/org.hyperledger.fabric-chaincode-java/fabric-chaincode-shim

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.3.1
Fixed
2.5.10

Affected versions

2.*
2.3.1
2.4.0-beta
2.4.0
2.4.1
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9

Database specific

last_known_affected_version_range
"<= 2.5.9"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-wg5x-3g47-v38r/GHSA-wg5x-3g47-v38r.json"