The version of Gradle shipped in the Fabric java chaincode environment image version 2.2. (javaenv.2.2) depends on a vulnerable version of the google ouatth client.
CVEID:CVE-2020-7692
**DESCRIPTION:**Google APIs google-oauth-java-client could allow a remote attacker to bypass security restrictions, caused by no PKCE support implemented. By executing a specially-crafted application, an attacker could exploit this vulnerability to obtain the authorization code, and gain authorization to the protected resource.
CVSS Base score: 7.4
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/184858 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N)
Affected Product(s) | Version(s) |
---|---|
IBM Blockchain Platform (Software/on-prem) | All |
Remediation is to move to latest version of IBP (2.5.1), or (SW), to pull a javaenv image later than 2.2.
Do not use version of Gradle shipped with the javaenv 2.2. image.