SCA: security update for @openzeppelin/contracts, @openzeppelin/contracts-upgradeable (GHSA-4g63-c64m-25w9)

high Tenable Cloud Security Plugin ID 410165

Description

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

- OpenZeppelin Contracts is a library for smart contract development. Versions 4.1.0 until 4.7.1 are
vulnerable to the SignatureChecker reverting. `SignatureChecker.isValidSignatureNow` is not expected to
revert. However, an incorrect assumption about Solidity 0.8's `abi.decode` allows some cases to revert,
given a target contract that doesn't implement EIP-1271 as expected. The contracts that may be affected
are those that use `SignatureChecker` to check the validity of a signature and handle invalid signatures
in a way other than reverting. The issue was patched in version 4.7.1. (CVE-2022-31172)

See Also

https://github.com/advisories/GHSA-4g63-c64m-25w9

Plugin Details

Severity: High

ID: 410165

Version: Revision 1.12

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.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2022-31172

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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: 7/21/2022

Vulnerability Publication Date: 7/21/2022

Reference Information

CVE: CVE-2022-31172