{"id":"CVE-2023-42441","state":"PUBLISHED","title":"Vyper has incorrect re-entrancy lock when key is empty string","description":"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.","publishedAt":"2023-09-18T20:19:26.086Z","updatedAt":"2024-09-24T18:58:08.589Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["vyperlang vyper"],"affected":[{"vendor":"vyperlang","product":"vyper","versions":[{"version":">= 0.2.9, < 0.3.10","status":"affected"}]}],"references":["https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m","https://github.com/vyperlang/vyper/pull/3605","https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83"],"weaknesses":["CWE-833"],"ingestedAt":"2026-10-29T20:06:17.512Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/42xxx/CVE-2023-42441.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-42441","state":"PUBLISHED","datePublished":"2023-09-18T20:19:26.086Z","dateUpdated":"2024-09-24T18:58:08.589Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-09-08T20:57:45.572Z"},"containers":{"cna":{"title":"Vyper has incorrect re-entrancy lock when key is empty string","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"vyperlang","product":"vyper","versions":[{"version":">= 0.2.9, < 0.3.10","status":"affected"}]}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m","name":"https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vyperlang/vyper/pull/3605","name":"https://github.com/vyperlang/vyper/pull/3605","tags":["x_refsource_MISC"]},{"url":"https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83","name":"https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-833","lang":"en","description":"CWE-833: Deadlock","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-09-18T20:19:26.086Z"},"source":{"advisory":"GHSA-3hg2-r75x-g69m","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m","name":"https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/vyperlang/vyper/pull/3605","name":"https://github.com/vyperlang/vyper/pull/3605","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83","name":"https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T19:23:38.517Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"vyperlang","product":"vyper","defaultStatus":"unknown","versions":[{"version":"0.2.9","status":"affected","lessThan":"0.3.10","versionType":"custom"}],"cpes":["cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-24T18:49:53.145026Z","id":"CVE-2023-42441","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-24T18:58:08.589Z"}}]}}}