vipinsun / fabric

Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
0 stars 0 forks source link

github.com/IBM/idemix: 2 vulnerabilities (highest severity is: 9.8) #107

Open mend-bolt-for-github[bot] opened 1 month ago

mend-bolt-for-github[bot] commented 1 month ago
Vulnerable Library - github.com/IBM/idemix

Path to dependency file: /go.mod

Path to vulnerable library: /go.mod

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (github.com/IBM/idemix version) Remediation Possible**
CVE-2023-44273 Critical 9.8 github.com/consensys/gnark-crypto-v0.4.0 Transitive N/A*
WS-2023-0329 Medium 5.3 github.com/consensys/gnark-crypto-v0.4.0 Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-44273 ### Vulnerable Library - github.com/consensys/gnark-crypto-v0.4.0

gnark-crypto provides elliptic curve and pairing-based cryptography on BN, BLS12, BLS24 and BW6 curves. It also provides various algorithms (algebra, crypto) of particular interest to zero knowledge proof systems.

Library home page: https://proxy.golang.org/github.com/consensys/gnark-crypto/@v/v0.4.0.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go.mod

Dependency Hierarchy: - github.com/IBM/idemix (Root Library) - github.com/IBM/mathlib-v0.0.0-20210928081244-f5486459a290 - :x: **github.com/consensys/gnark-crypto-v0.4.0** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

Consensys gnark-crypto through 0.11.2 allows Signature Malleability. This occurs because deserialisation of EdDSA and ECDSA signatures does not ensure that the data is in a certain interval.

Publish Date: 2023-09-28

URL: CVE-2023-44273

### CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
WS-2023-0329 ### Vulnerable Library - github.com/consensys/gnark-crypto-v0.4.0

gnark-crypto provides elliptic curve and pairing-based cryptography on BN, BLS12, BLS24 and BW6 curves. It also provides various algorithms (algebra, crypto) of particular interest to zero knowledge proof systems.

Library home page: https://proxy.golang.org/github.com/consensys/gnark-crypto/@v/v0.4.0.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go.mod

Dependency Hierarchy: - github.com/IBM/idemix (Root Library) - github.com/IBM/mathlib-v0.0.0-20210928081244-f5486459a290 - :x: **github.com/consensys/gnark-crypto-v0.4.0** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

When the exponent is bigger than r, the group order of the pairing target group GT, the exponentiation à la GLV (ExpGLV) can sometimes give incorrect results compared to normal exponentiation (Exp). The issue impacts all users using ExpGLV for exponentiations in GT. This does not impact Exp and ExpCyclotomic which are sound. Also note that GLV methods in G1 and G2 are sound and not impacted. The issue is fixed in 0.12.1.

Publish Date: 2024-11-03

URL: WS-2023-0329

### CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-pffg-92cg-xf5c

Release Date: 2023-10-05

Fix Resolution: v0.12.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)