SCA: security update for @openzeppelin/contracts, @openzeppelin/contracts-upgradeable (GHSA-4h98-2769-gh6h)

medium Tenable Cloud Security Plugin ID 410206

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-35961)

See Also

https://github.com/advisories/GHSA-4h98-2769-gh6h

Plugin Details

Severity: Medium

ID: 410206

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:C/A:N

CVSS Score Source: CVE-2022-35961

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/18/2022

Vulnerability Publication Date: 8/14/2022

Reference Information

CVE: CVE-2022-35961

cwe: CWE-354