CVE-2023-42441

Source
https://cve.org/CVERecord?id=CVE-2023-42441
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42441.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-42441
Aliases
Published
2023-09-18T20:19:26Z
Modified
2026-10-21T02:30:39Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
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.

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

Affected packages

Git / github.com/vyperlang/vyper

Affected ranges

Type
GIT
Repo
https://github.com/vyperlang/vyper
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*",
            "range":  [
                {
                    "introduced":  "0.2.9"
                },
                {
                    "fixed":  "0.3.10"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "0b740280c1e3c5528a20d47b29831948ddcc6d83"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Other
pre-release
v0.*
v0.2.10
v0.2.11
v0.2.12
v0.2.13
v0.2.14
v0.2.15
v0.2.16
v0.2.9
v0.3.0
v0.3.1
v0.3.10rc1
v0.3.10rc2
v0.3.10rc3
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.3.9

Database specific

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