CVE-2022-29255 json
Multiple evaluation of contract address in call in vyper
published 2022-06-06 4 y ago modified 2026-06-17 4 mo ago also GHSA-4v9q-cgpw-cf38 , PYSEC-2022-43053 , EUVD-2022-0356
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
Vyper is a Pythonic Smart Contract Language for the ethereum virtual machine. In versions prior to 0.3.4 when a calling an external contract with no return value, the contract address (including side effects) could be evaluated twice. This may result in incorrect outcomes for contracts. This issue has been addressed in v0.3.4.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.35% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/vyperlang/vyper/security/advisories/GHSA-4v9q-cgpw-cf38 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | vyper | <0.3.4 |
0.3.4 |
Affected products
- vyperlang vyper
Classification
- Weakness
-
- CWE-670 Always-Incorrect Control Flow Implementation
References
-
github.com
/vyperlang/vyper/commit/6b4d8ff185de071252feaa1c319712b2d6577f8d
web, patch, third-party-advisory
-
github.com
/vyperlang/vyper/security/advisories/GHSA-4v9q-cgpw-cf38
web, exploit, mitigation, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-29255
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2022-43053.yaml
web
-
github.com
/vyperlang/vyper
package
Sources
- CVE List CVE-2022-29255
- GitHub Advisory GHSA-4v9q-cgpw-cf38
- NVD CVE-2022-29255
- OSV PYSEC-2022-43053
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.