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.
Advisories
Source ID Title
EUVD EUVD EUVD-2023-0267 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.
Github GHSA Github GHSA GHSA-4hg4-9mf5-wxxq incorrect order of evaluation of side effects for some builtins
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 26 Sep 2024 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-09-26T18:30:33.353Z

Reserved: 2023-08-22T16:57:23.933Z

Link: CVE-2023-41052

cve-icon Vulnrichment

Updated: 2024-08-02T18:46:11.683Z

cve-icon NVD

Status : Modified

Published: 2023-09-04T18:15:08.657

Modified: 2024-11-21T08:20:27.880

Link: CVE-2023-41052

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.