7.5
CWE
670
Advisory Published
Advisory Published
Updated

CVE-2023-49798: Duplicated execution of subcalls in OpenZeppelin Contracts

First published: Fri Dec 08 2023(Updated: )

### Context Merge conflict resolution issue when porting the v5.0.1 `Multicall` update to the v4.9 branch caused a duplicated line. ### Impact Versions using `Multicall` from `@openzeppelin/contracts@4.9.4` and `@openzeppelin/contracts-upgradeable@4.9.4` will execute each subcall twice. Concretely, this exposes a user to unintentionally duplicate operations like asset transfers. ### Patches The duplicated `delegatecall` was removed in 4.9.5. The 4.9.4 version is marked as deprecated.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
npm/@openzeppelin/contracts-upgradeable=4.9.4
4.9.5
npm/@openzeppelin/contracts=4.9.4
4.9.5
OpenZeppelin Contracts=4.9.4
OpenZeppelin Contracts Upgradeable=4.9.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-49798?

    CVE-2023-49798 is considered to have a high severity due to the potential for unexpected behavior in contract execution.

  • How do I fix CVE-2023-49798?

    To fix CVE-2023-49798, upgrade to version 4.9.5 of the affected packages @openzeppelin/contracts and @openzeppelin/contracts-upgradeable.

  • Which versions are affected by CVE-2023-49798?

    CVE-2023-49798 affects version 4.9.4 of both @openzeppelin/contracts and @openzeppelin/contracts-upgradeable.

  • What is the impact of CVE-2023-49798?

    The impact of CVE-2023-49798 includes the potential for executing unintended subcalls in contracts using Multicall.

  • How can I verify if I am affected by CVE-2023-49798?

    You can verify if you are affected by checking the version of @openzeppelin/contracts and @openzeppelin/contracts-upgradeable to see if they are at 4.9.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203