CVE-2022-35961
CVSS V2 None
CVSS V3 Medium 6.5
Description
OpenZeppelin Contracts is a library for secure smart contract development. The functions `ECDSA.recover` and `ECDSA.tryRecover` are vulnerable to a kind of signature malleability due to accepting EIP-2098 compact signatures in addition to the traditional 65 byte signature format. This is only an issue for the functions that take a single `bytes` argument, and not the functions that take `r, v, s` or `r, vs` as separate arguments. The potentially affected contracts are those that implement signature reuse or replay protection by marking the signature itself as used rather than the signed message or a nonce included in it. A user may take a signature that has already been submitted, submit it again in a different form, and bypass this protection. The issue has been patched in 4.7.3.
Overview
- CVE ID
- CVE-2022-35961
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-08-15T11:21:39
- Last Modified Date
- 2022-12-06T19:51:44
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:* | 1 | OR | 4.1.0 | 4.7.3 |
cpe:2.3:a:openzeppelin:contracts-upgradeable:*:*:*:*:*:node.js:*:* | 1 | OR | 4.1.0 | 4.7.3 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 6.5
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 3.6
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-35961 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35961 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-08-15 12:00:07 | Added to TrackCVE | |||
2022-12-06 20:13:56 | 2022-12-06T19:51:44 | CVE Modified Date | updated |