---
cve: "CVE-2022-35961"
severity: "HIGH"
cvss: 7.9
epss: "42%"
vendor: "OpenZeppelin"
kev: false
exploited: false
published: "2022-08-15 11:21:39"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-12T22:42:04+02:00"
---

# CVE-2022-35961

> 7.9 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Hoch | good |
| PR Privilegien | Gering | warn |
| UI Interaktion | Erforderlich | good |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Gering | warn |

## Patch verfügbar (OSV)

- ecd2ca2cd7cac116f7a37d0e474bbb3d7d5e1c4d (Commit)
- 0a2cb9a445c365870ed7a8ab461b12acf3e27d63 (Commit)

## Referenzen

- <https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-4h98-2769-gh6h>
- <https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3610>
- <https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.7.3>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-35961) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
