High
Vyper 0.2.13 before 0.2.15 Storage Corruption via @nonreentrant Decorator
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.
Announced Source revision 1
Original source ↗CVE-2021-48018
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2021-48018
vyper
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "vyperlang",
"product": "vyper",
"versions": [
{
"status": "affected",
"version": "0.2.13",
"lessThan": "0.2.15",
"versionType": "python"
},
{
"status": "unaffected",
"version": "0.2.15",
"versionType": "python"
}
],
"packageURL": "pkg:pypi/vyper",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2021-48018
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #52986 · Revision 1
- Added to Heist Feed
- Publisher date