Security Resilience

CVE-2023-46232

Matter-Labs Zkvyper ≤ 1.3.10

Public PoC
Published
25 October 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS Score 0.0069 54th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-46232 is a medium-severity MAID (CWE-471) vulnerability in Matter-Labs Zkvyper. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 46% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

era-compiler-vyper is the EraVM Vyper compiler for zkSync Era, a layer 2 rollup that uses zero-knowledge proofs to scale Ethereum. Prior to era-compiler-vype version 1.3.10, a bug prevented the initialization of the first immutable variable for Vyper contracts meeting certain…

more

criteria. The problem arises when there is a String or Array with more 256-bit words allocated than initialized. It results in the second word’s index unset, that is effectively set to 0, so the first immutable value with the actual 0 index is overwritten in the ImmutableSimulator. Version 1.3.10 fixes this issue by setting all indexes in advance. The problem will go away, but it will get more expensive if the user allocates a lot of uninitialized space, e.g. `String[4096]`. Upgrading and redeploying affected contracts is the only way of working around the issue.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1564.010 Process Argument Spoofing Stealth
Adversaries may attempt to hide process command-line arguments by overwriting process memory.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
T1014 Rootkit Stealth
Adversaries may use rootkits to hide the presence of programs, files, network connections, services, drivers, and other system components.
T1553.001 Gatekeeper Bypass Defense Impairment
Adversaries may modify file attributes and subvert Gatekeeper functionality to evade user prompts and execute untrusted programs.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-43366Same product: Matter-Labs Zkvyper
CVE-2023-2904Shared CWE-471
CVE-2026-8492Shared CWE-471
CVE-2024-51462Shared CWE-471
CVE-2025-33136Shared CWE-471
CVE-2026-50481Shared CWE-471
CVE-2023-43697Shared CWE-471
CVE-2024-55551Shared CWE-471
CVE-2024-45672Shared CWE-471
CVE-2024-34517Shared CWE-471

Affected Assets

matter-labs
zkvyper
≤ 1.3.10

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 1 hardening rule · 1 OS baseline
Validate
Prove the fix (OWASP ASVS)

—

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-471

Checksums and integrity protection during transformation/packing detect unauthorized modification of data assumed to be immutable before it is transmitted.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 mostly match
blocks

Least-privilege access controls directly block unauthorized writes to assumed-immutable data.

PR.DS-01 mostly match
blocks

Integrity mechanisms for data-at-rest prevent modification of elements expected to remain immutable.

PR.DS-10 mostly match
blocks

Protecting data-in-use integrity stops runtime tampering of values treated as constant.

PR.IR-01 partial match
blocks

Logical access controls reduce the attack surface for modifying internal assumed-immutable state.

PR.PS-01 partial match
blocks

Hardened configuration baselines limit opportunities to alter data presumed immutable.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect unauthorized modification paths for assumed-immutable data.

prevents

Training can make developers aware that hidden form fields, cookies, environment variables and similar inputs are attacker-modifiable, reducing some instances of MAID, but the weakness is a subtle implementation choice that training alone does not prevent for most developers.

blocks

A.8.24 mandates cryptography for integrity protection (signatures, MACs, authenticated encryption), which blocks MAID where applied to the assumed-immutable data (e.g., signed cookies, MAC'd hidden form fields), but MAID also arises from in-memory mutation, buffer overflows overwriting validated state, and mutable data structures where cryptography is not the relevant control, leaving a nameable remainder.

prevents

Secure coding standards discourage mutable storage for values that must remain constant.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software weaknesses in delivered code the way those practices do; MAID is an implementation-level defect (assumed-immutable form fields, cookies, mutable arrays) that secure coding guidance and security testing can catch in a minority of cases, with the clause's declared ceiling of `partial` on this verb.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Windows 10 (1 rule)
  • V-220812 Credential Guard must be running on Windows 10 domain-joined systems. blocks CWE-471

References