CVE-2023-30837
highPriorität · verfolgen · 30EPSS 0.007 · 53. PerzentilEUUSEPSS · bewertet 2026-10-27
Vyper is a pythonic smart contract language for the EVM. The storage allocator does not guard against allocation overflows in versions prior to 0.3.8. An attacker can overwrite the owner variable. This issue was fixed in version 0.3.8.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · medium–high · 6.9–7.5
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (3)
Betroffene Produkte und Versionsbereiche.
Advisories (2)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-mgv8-gggw-mrg6vyper vulnerable to storage allocator overflow2023-05-05ghsa · osvUS
### Impact The storage allocator does not guard against allocation overflows. This can result in vulnerabilities like the following: ```vyper owner: public(address) take_up_some_space: public(uint256[10]) buffer: public(uint256[max_value(uint256)]) @external def initialize(): self.owner = msg.sender @external def foo(idx: uint256, data: uint256): self.buffer[idx] = data ``` Per @toonvanhove, "An attacker can overwrite the owner variable by calling this contract with calldata: `0x04bc52f8 fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5 ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff` (spaces inserted for readability) `0x04bc52f8` is the selector for `foo(uint256, uint256)`, and the last argument `fff...fff` is the new value for the owner variable." ### Patches patched in 0bb7203b584e771b23536ba065a6efda457161bb ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ ### References _Are there any links users can visit to find out more?_
- PYSEC-2023-762023-05-08vendor · osvUS
Vyper is a pythonic smart contract language for the EVM. The storage allocator does not guard against allocation overflows in versions prior to 0.3.8. An attacker can overwrite the owner variable. This issue was fixed in version 0.3.8.
auch bekannt als (6)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (8)
Externe Belege — Patches, Meldungen, Analysen.
- https://cxsecurity.com/cveshow/CVE-2023-30837/cnnvd
- https://github.com/vyperlang/vyper/commit/0bb7203b584e771b23536ba065a6efda457161bbcnnvd
- https://github.com/vyperlang/vyper/security/advisories/GHSA-mgv8-gggw-mrg6cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2023-30837cnnvd
- https://github.com/vyperlang/vyper/commit/0bb7203b584e771b23536ba065a6efda457161bbenisa_euvd
- https://github.com/vyperlang/vyper/security/advisories/GHSA-mgv8-gggw-mrg6enisa_euvd
- https://github.com/vyperlang/vyper/commit/0bb7203b584e771b23536ba065a6efda457161bbPatchnvd
- https://github.com/vyperlang/vyper/security/advisories/GHSA-mgv8-gggw-mrg6ExploitVendor Advisorynvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan