Security mailing lists by PureSourceCode

CVE-2023-42441

MEDIUM 5.3CVSS 3.1

Vyper has incorrect re-entrancy lock when key is empty string

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.

Published
18 Sep 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-667CWE-833
Also known as
GHSA-3hg2-r75x-g69mPYSEC-2023-305
Sources
NVDJSONOSV GHSA-3hg2-r75x-g69mJSONOSV PYSEC-2023-305JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vyperlang vyper
cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*
>= 0.2.9, < 0.3.10 0.3.10
OSV PyPI vyper >= 0.2.9, < 0.3.10 0.3.10

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 18 Sep 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Sep 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.