{"id":"CVE-2023-42441","summary":"Vyper has incorrect re-entrancy lock when key is empty string","details":"Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Starting in version 0.2.9 and prior to version 0.3.10, locks of the type `@nonreentrant(\"\")` or `@nonreentrant('')` do not produce reentrancy checks at runtime. This issue is fixed in version 0.3.10. As a workaround, ensure the lock name is a non-empty string.","aliases":["GHSA-3hg2-r75x-g69m","PYSEC-2023-305"],"modified":"2026-08-12T03:51:38.701646176Z","published":"2023-09-18T20:19:26.086Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-833"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42441.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42441.json"},{"type":"ADVISORY","url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42441"},{"type":"FIX","url":"https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83"},{"type":"FIX","url":"https://github.com/vyperlang/vyper/pull/3605"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vyperlang/vyper","events":[{"introduced":"2647ea9033f47011ab0904ac0b3b6c51ca2f76eb"},{"fixed":"9136169468f317a53b4e7448389aa315f90b95ba"},{"fixed":"0b740280c1e3c5528a20d47b29831948ddcc6d83"}],"database_specific":{"extracted_events":[{"introduced":"0.2.9"},{"fixed":"0.3.10"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*"}}],"versions":["v0.3.10rc5","v0.3.10rc4","v0.3.10rc3","v0.3.10rc2","v0.3.10rc1","v0.3.9","v0.3.8","v0.3.7","v0.3.6","v0.3.5","v0.3.4","pre-release","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.16","v0.2.15","v0.2.14","v0.2.13","v0.2.12","v0.2.11","v0.2.10","v0.2.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42441.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}