Vulnerabilities · 2023 · Vyperlang
CVE-2023-41052
Vyperlang Vyper vulnerability
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.
Affected products
Vyper. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vyperlang Vyper runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/vyperlang/vyper/pull/3583 · Patch
- github.com/vyperlang/vyper/security/advisories/GHSA-4hg4-9mf5-wxxq · Exploit
- nvd.nist.gov/vuln/detail/CVE-2023-41052
- github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2023-168.yaml
- github.com/advisories/GHSA-4hg4-9mf5-wxxq
- github.com/vyperlang/vyper/commit/78fa8dd8f91ba0cb26277eeffb585c68c83e7daa
- nvd.nist.gov/vuln/detail/CVE-2023-41052
- cve.org/CVERecord?id=CVE-2023-41052
More vulnerabilities in Vyperlang products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.