Bug 2565621 - CVE-2021-48018 vyper: Vyper: Contract state corruption via overlapping reentrancy lock allocation [fedora-all]
Summary: CVE-2021-48018 vyper: Vyper: Contract state corruption via overlapping reentr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vyper
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact:
URL:
Whiteboard: {"flaws": ["aedb2c6b-9ea1-4e2d-8dc3-d...
Depends On:
Blocks: CVE-2021-48018
TreeView+ depends on / blocked
 
Reported: 2026-11-03 07:42 UTC by TEJ RATHI
Modified: 2026-11-03 07:46 UTC (History)
1 user (show)

Fixed In Version: vyper-0.2.15
Clone Of:
Environment:
Last Closed: 2026-11-03 07:45:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2026-11-03 07:42:31 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Peter Lemenkov 2026-11-03 07:45:54 UTC
This was fixed upstream in vyper 0.2.15 (GHSA-7f92-rr6w-cq64 / VVE-2021-0003, published 2021-07-27).

All Fedora releases ship vyper 0.4.3, which already contains the fix and is not affected.


Note You need to log in before you can comment on or make changes to this bug.