CVE-2023-41052

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-41052
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-41052.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-41052
Aliases
Published
2023-09-04T17:36:23.480Z
Modified
2025-11-29T14:35:23.420644Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
Vyper: incorrect order of evaluation of side effects for some builtins
Details

Vyper is a Pythonic Smart Contract Language. In affected versions the order of evaluation of the arguments of the builtin functions uint256_addmod, uint256_mulmod, ecadd and ecmul does not follow source order. This behaviour is problematic when the evaluation of one of the arguments produces side effects that other arguments depend on. A patch is currently being developed on pull request #3583. When using builtins from the list above, users should make sure that the arguments of the expression do not produce side effects or, if one does, that no other argument is dependent on those side effects.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41052.json",
    "cwe_ids": [
        "CWE-670"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git /

Affected ranges