QID 994834

Date Published: 2023-08-14

QID 994834: NodeJs (Npm) Security Update for @openzeppelin/contracts (GHSA-g4vp-m682-qqmp)

OpenZeppelin Contracts is a library for secure smart contract development. Starting in version 4.0.0 and prior to version 4.9.3, contracts using ERC2771Context along with a custom trusted forwarder may see _msgSender return address(0) in calls that originate from the forwarder with calldata shorter than 20 bytes. This combination of circumstances does not appear to be common, in particular it is not the case for MinimalForwarder from OpenZeppelin Contracts, or any deployed forwarder the team is aware of, given that the signer address is appended to all calls that originate from these forwarders.

Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Refer to Github security advisory GHSA-g4vp-m682-qqmp for updates and patch information.
    Vendor References

    CVEs related to QID 994834

    Software Advisories
    Advisory ID Software Component Link
    GHSA-g4vp-m682-qqmp @openzeppelin/contracts URL Logo github.com/advisories/GHSA-g4vp-m682-qqmp