CVE-2022-31172
Last modified
CVE-2022-31172 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. OpenZeppelin Contracts is a library for smart contract development. Versions 4.1.0 until 4.7.1 are vulnerable to the SignatureChecker reverting. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openzeppelin | Contracts | >= 4.1.0, < 4.7.1 |
References
- https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3552Patch, Third Party Advisory
- https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3552Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31172?
How severe is CVE-2022-31172?
How do I fix CVE-2022-31172?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-31167XWiki Platform Security Parent POM contains the security API…6.5
- CVE-2022-31168Zulip is an open source team chat tool. Due to an incorrect …8.8
- CVE-2022-31169Wasmtime is a standalone runtime for WebAssembly. There is a…7.5
- CVE-2022-3117Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-31170OpenZeppelin Contracts is a library for smart contract devel…7.5
- CVE-2022-31171Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-31173Juniper is a GraphQL server library for Rust. Affected versi…7.5
- CVE-2022-31175CKEditor 5 is a JavaScript rich text editor. A cross-site sc…4.7
- CVE-2022-31176Grafana Image Renderer is a Grafana backend plugin that hand…8.1
- CVE-2022-31177Flask-AppBuilder is an application development framework bui…2.7
- CVE-2022-31178eLabFTW is an electronic lab notebook manager for research t…4.3
- CVE-2022-31179Shescape is a simple shell escape package for JavaScript. Ve…9.8
Are you affected by CVE-2022-31172?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
