{"answers":{"affected":"2 open source packages ship an affected version, including vyper.","exploited":"There is no known exploitation of CVE-2021-48018 in the wild and no public exploit code.","fix":"Upgrade vyper to 0.2.15 or later.","what":"CVE-2021-48018 is a high-severity vulnerability in vyperlang vyper, published on 21 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2021-48018 and fix it if it is affected.\n\nWhat it is: CVE-2021-48018 is a high-severity vulnerability in vyperlang vyper, published on 21 Oct 2026. \nExploitation: There is no known exploitation of CVE-2021-48018 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- vyper (PyPI): affected from 0.2.13; fixed in 0.2.15\n- vyper (PyPI): affected from 0.2.13; fixed in 0.2.15\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-48018/ (Markdown: https://insights.sbomify.com/CVE-2021-48018/index.md)","id":"CVE-2021-48018","markdown":"https://insights.sbomify.com/CVE-2021-48018/index.md","name":"CVE-2021-48018","record":{"aliases":["GHSA-57w3-rr8j-wp9c","GHSA-7f92-rr6w-cq64"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","cpe":[],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Vyper 0.2.13 before 0.2.15 Storage Corruption via @nonreentrant Decorator","id":"CVE-2021-48018","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2021"},"n_packages":2,"n_references":2,"next":{"headline":"Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies","id":"CVE-2021-48019"},"packages":[{"ecosystem":"PyPI","fixed":["0.2.15"],"introduced":["0.2.13"],"last_affected":[],"package":"vyper","purl":null,"source":"GHSA-7f92-rr6w-cq64"},{"ecosystem":"PyPI","fixed":["0.2.15"],"introduced":["0.2.13"],"last_affected":[],"package":"vyper","purl":"pkg:pypi/vyper","source":"GHSA-7f92-rr6w-cq64"}],"prev":{"headline":"OrbiTeam BSCW Server \u003c 5.2.5 / 7.4.4 Path Traversal via bscw.cgi","id":"CVE-2021-48017"},"products":["vyper"],"published":"2026-10-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-23","vendors":["vyperlang"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2021-48018/"}