CVE-2021-48018

Source
https://cve.org/CVERecord?id=CVE-2021-48018
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-48018.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-48018
Aliases
Published
2026-10-21T01:17:18Z
Modified
2026-10-25T02:45:06Z
Severity
  • 8.3 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/vyperlang/vyper

Affected ranges

Type
GIT
Repo
https://github.com/vyperlang/vyper
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0.2.13"
                },
                {
                    "fixed": "0.2.15"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}

Affected versions

v0.*
v0.2.13
v0.2.14

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-48018.json"