CVE-2021-48018
Last modified
CVE-2021-48018 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. Vyper from 0.2.13 before 0.2.15 allocates storage slots for @nonreentrant reentrancy locks at the same locations as contract storage variables. When a function using @nonreentrant is called, setting the lock overwrites the overlapping storage variable, corrupting contract state and breaking the contract's intended logic.. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
Description
Vyper from 0.2.13 before 0.2.15 allocates storage slots for @nonreentrant reentrancy locks at the same locations as contract storage variables. When a function using @nonreentrant is called, setting the lock overwrites the overlapping storage variable, corrupting contract state and breaking the contract's intended logic.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vyperlang | vyper | >= 0.2.13, < 0.2.15 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2021-48018?
How severe is CVE-2021-48018?
How do I fix CVE-2021-48018?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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 2021
- CVE-2021-48012fast-toml through 0.5.4 contains a prototype pollution vulne…8.2
- CVE-2021-48013Weaver E-cology 8.0 contains a path traversal vulnerability …7.5
- CVE-2021-48014FineReport 9.0 contains a path traversal vulnerability in th…9.8
- CVE-2021-48015JeeWMS before commit 0a610e8 contains an unauthenticated pat…7.5
- CVE-2021-48016DedeCMS through 5.8.1-beta contains a PHP code injection vul…9.8
- CVE-2021-48017OrbiTeam BSCW Server 5.x before 5.2.5 and 7.x before 7.4.4 c…7.5
- CVE-2021-48019Vyper before 0.2.9 deploys forwarder proxies through the bui…4.8
- CVE-2021-48020Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption…6.5
Are you affected by CVE-2021-48018?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
