UBUNTU-CVE-2024-45056

Vulnerability from osv_ubuntu – Published: 2024-08-29 17:15 – Updated: 2024-08-29 17:15 – Source website
Withdrawn 2025-06-23 VLAI
Details

zksolc is a Solidity compiler for ZKsync. All LLVM versions since 2015 fold (xor (shl 1, x), -1) to (rotl ~1, x) if run with optimizations enabled. Here ~1 is generated as an unsigned 64 bits number (2^64-1). This number is zero-extended to 256 bits on EraVM target while it should have been sign-extended. Thus instead of producing roti 2^256 - 1, x the compiler produces rotl 2^64 - 1, x. Analysis has shown that no contracts were affected by the date of publishing this advisory. This issue has been addressed in version 1.5.3. Users are advised to upgrade and redeploy all contracts. There are no known workarounds for this vulnerability.

Related
Impacted products
Ecosystem Package Version
Ubuntu:Pro:14.04:LTS llvm-toolchain-3.6
Affected: All versions (ecosystem)
1:3.6-2ubuntu1~trusty11:3.6-2ubuntu1~trusty2
Ubuntu:Pro:14.04:LTS llvm-toolchain-3.8
Affected: All versions (ecosystem)
1:3.8-2ubuntu3~trusty41:3.8-2ubuntu3~trusty5
Ubuntu:Pro:14.04:LTS llvm-toolchain-3.9
Affected: All versions (ecosystem)
1:3.9.1-4ubuntu3~14.04.21:3.9.1-4ubuntu3~14.04.3
Ubuntu:Pro:16.04:LTS llvm-toolchain-3.6
Affected: All versions (ecosystem)
1:3.6.2-11:3.6.2-31:3.6.2-3build11:3.6.2-3ubuntu11:3.6.2-3ubuntu2
Ubuntu:Pro:16.04:LTS llvm-toolchain-3.8
Affected: All versions (ecosystem)
1:3.8~+rc1-1~exp1ubuntu31:3.8~+rc2-1~exp1ubuntu21:3.8-2ubuntu11:3.8-2ubuntu31:3.8-2ubuntu4
Ubuntu:Pro:16.04:LTS llvm-toolchain-4.0
Affected: All versions (ecosystem)
1:4.0-1ubuntu1~16.04.11:4.0-1ubuntu1~16.04.2
Ubuntu:Pro:16.04:LTS llvm-toolchain-5.0
Affected: All versions (ecosystem)
1:5.0-3~16.04.1
Ubuntu:Pro:16.04:LTS llvm-toolchain-6.0
Affected: All versions (ecosystem)
1:6.0-1ubuntu2~16.04.1
Ubuntu:Pro:16.04:LTS llvm-toolchain-3.5
Affected: All versions (ecosystem)
1:3.5.2-21:3.5.2-31:3.5.2-3build11:3.5.2-3build21:3.5.2-3ubuntu1
Ubuntu:Pro:16.04:LTS llvm-toolchain-3.7
Affected: All versions (ecosystem)
1:3.7-2ubuntu11:3.7-2ubuntu21:3.7-4ubuntu11:3.7.1-1ubuntu11:3.7.1-1ubuntu21:3.7.1-1ubuntu31:3.7.1-1ubuntu41:3.7.1-2ubuntu11:3.7.1-2ubuntu2
Ubuntu:Pro:16.04:LTS llvm-toolchain-3.9
Affected: All versions (ecosystem)
1:3.9.1-4ubuntu3~16.04.11:3.9.1-4ubuntu3~16.04.2
Ubuntu:Pro:16.04:LTS llvm-toolchain-8
Affected: All versions (ecosystem)
1:8-3~ubuntu16.04.1
Ubuntu:Pro:18.04:LTS llvm-toolchain-10
Affected: All versions (ecosystem)
1:10.0.0-4ubuntu1~18.04.11:10.0.0-4ubuntu1~18.04.2
Ubuntu:Pro:18.04:LTS llvm-toolchain-3.9
Affected: All versions (ecosystem)
1:3.9.1-17ubuntu11:3.9.1-18ubuntu11:3.9.1-19ubuntu1
Ubuntu:Pro:18.04:LTS llvm-toolchain-6.0
Affected: All versions (ecosystem)
1:6.0~+rc1-11:6.0~+rc2-11:6.0-1ubuntu11:6.0-1ubuntu2
Ubuntu:Pro:18.04:LTS llvm-toolchain-7
Affected: All versions (ecosystem)
1:7-3~ubuntu0.18.04.1
Ubuntu:Pro:18.04:LTS llvm-toolchain-8
Affected: All versions (ecosystem)
1:8-3~ubuntu18.04.11:8-3~ubuntu18.04.2
Ubuntu:Pro:18.04:LTS llvm-toolchain-9
Affected: All versions (ecosystem)
1:9-2~ubuntu18.04.11:9-2~ubuntu18.04.2
Ubuntu:Pro:18.04:LTS llvm-toolchain-3.7
Affected: All versions (ecosystem)
1:3.7.1-5ubuntu3
Ubuntu:Pro:18.04:LTS llvm-toolchain-4.0
Affected: All versions (ecosystem)
1:4.0.1-61:4.0.1-81:4.0.1-10
Ubuntu:Pro:18.04:LTS llvm-toolchain-5.0
Affected: All versions (ecosystem)
1:5.0-31:5.0-41:5.0.1-11:5.0.1-21:5.0.1-4
Ubuntu:20.04:LTS llvm-toolchain-10
Affected: All versions (ecosystem)
1:10~++20200121023453+de4b2a7fad6-1~exp11:10.0.0~+rc1-1~exp11:10.0.0~+rc2-2~build21:10.0.0~+rc2-21:10.0.0~+rc3-11:10.0.0~+rc3-1build11:10.0.0~+rc4-11:10.0.0~+rc5-1ubuntu11:10.0.0-1ubuntu11:10.0.0-1ubuntu2 and 4 more (see JSON)
Ubuntu:20.04:LTS llvm-toolchain-11
Affected: All versions (ecosystem)
1:11.0.0-2~ubuntu20.04.1
Ubuntu:20.04:LTS llvm-toolchain-12
Affected: All versions (ecosystem)
1:12.0.0-3ubuntu1~20.04.31:12.0.0-3ubuntu1~20.04.41:12.0.0-3ubuntu1~20.04.5
Ubuntu:20.04:LTS llvm-toolchain-6.0
Affected: All versions (ecosystem)
1:6.0.1-111:6.0.1-11ubuntu11:6.0.1-121:6.0.1-14
Ubuntu:20.04:LTS llvm-toolchain-7
Affected: All versions (ecosystem)
1:7.0.1-9build11:7.0.1-9ubuntu21:7.0.1-101:7.0.1-10build11:7.0.1-12
Ubuntu:20.04:LTS llvm-toolchain-8
Affected: All versions (ecosystem)
1:8.0.1-3build11:8.0.1-41:8.0.1-4ubuntu31:8.0.1-7build11:8.0.1-7ubuntu11:8.0.1-8ubuntu11:8.0.1-9
Ubuntu:20.04:LTS llvm-toolchain-9
Affected: All versions (ecosystem)
1:9-21:9.0.0-3ubuntu21:9.0.0-4ubuntu41:9.0.1~+rc2-1~exp11:9.0.1~+rc2-1~exp1ubuntu11:9.0.1-11:9.0.1-21:9.0.1-6build11:9.0.1-8build11:9.0.1-8ubuntu1 and 5 more (see JSON)
Ubuntu:22.04:LTS llvm-toolchain-11
Affected: All versions (ecosystem)
1:11.0.1-2ubuntu51:11.1.0-6
Ubuntu:22.04:LTS llvm-toolchain-12
Affected: All versions (ecosystem)
1:12.0.1-8build11:12.0.1-161:12.0.1-19ubuntu3
Ubuntu:22.04:LTS llvm-toolchain-13
Affected: All versions (ecosystem)
1:13.0.0-21:13.0.0-91:13.0.1-2ubuntu11:13.0.1-2ubuntu21:13.0.1-2ubuntu2.11:13.0.1-2ubuntu2.2
Ubuntu:22.04:LTS llvm-toolchain-14
Affected: All versions (ecosystem)
1:14.0.0~+rc1-11:14.0.0~+rc1-1ubuntu41:14.0.0~+rc4-1ubuntu11:14.0.0-1ubuntu11:14.0.0-1ubuntu1.1
Ubuntu:22.04:LTS llvm-toolchain-15
Affected: All versions (ecosystem)
1:15.0.6-3~ubuntu0.22.04.21:15.0.7-0ubuntu0.22.04.11:15.0.7-0ubuntu0.22.04.21:15.0.7-0ubuntu0.22.04.3
Ubuntu:24.04:LTS llvm-toolchain-14
Affected: All versions (ecosystem)
1:14.0.6-161:14.0.6-16build11:14.0.6-16build21:14.0.6-19build21:14.0.6-19build4
Ubuntu:24.04:LTS llvm-toolchain-15
Affected: All versions (ecosystem)
1:15.0.7-101:15.0.7-10build11:15.0.7-10build21:15.0.7-10ubuntu11:15.0.7-111:15.0.7-14build11:15.0.7-14build3
Ubuntu:24.04:LTS llvm-toolchain-16
Affected: All versions (ecosystem)
1:16.0.6-151:16.0.6-181:16.0.6-191:16.0.6-19build11:16.0.6-201:16.0.6-23ubuntu11:16.0.6-23ubuntu31:16.0.6-23ubuntu4
Ubuntu:24.04:LTS llvm-toolchain-17
Affected: All versions (ecosystem)
1:17.0.2-1~exp1ubuntu2.11:17.0.5-1ubuntu11:17.0.5-1ubuntu21:17.0.6-21:17.0.6-31:17.0.6-5build11:17.0.6-9build21:17.0.6-9build31:17.0.6-9ubuntu1
Ubuntu:24.04:LTS llvm-toolchain-18
Affected: All versions (ecosystem)
1:18.1.0~rc1-11:18.1.0~rc2-31:18.1.0~rc2-41:18.1.0~++20240126095841+0991d3c7b53d-1~exp11:18.1.2-1ubuntu21:18.1.2-1ubuntu31:18.1.3-11:18.1.3-1ubuntu1

{
  "affected": [
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "llvm-toolchain-3.6"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.6-2ubuntu1~trusty1",
        "1:3.6-2ubuntu1~trusty2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "llvm-toolchain-3.8"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.8-2ubuntu3~trusty4",
        "1:3.8-2ubuntu3~trusty5"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "llvm-toolchain-3.9"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.9.1-4ubuntu3~14.04.2",
        "1:3.9.1-4ubuntu3~14.04.3"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "llvm-toolchain-3.6"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.6.2-1",
        "1:3.6.2-3",
        "1:3.6.2-3build1",
        "1:3.6.2-3ubuntu1",
        "1:3.6.2-3ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "llvm-toolchain-3.8"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.8~+rc1-1~exp1ubuntu3",
        "1:3.8~+rc2-1~exp1ubuntu2",
        "1:3.8-2ubuntu1",
        "1:3.8-2ubuntu3",
        "1:3.8-2ubuntu4"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "llvm-toolchain-4.0"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:4.0-1ubuntu1~16.04.1",
        "1:4.0-1ubuntu1~16.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "llvm-toolchain-5.0"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:5.0-3~16.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "llvm-toolchain-6.0"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:6.0-1ubuntu2~16.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "llvm-toolchain-3.5"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.5.2-2",
        "1:3.5.2-3",
        "1:3.5.2-3build1",
        "1:3.5.2-3build2",
        "1:3.5.2-3ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "llvm-toolchain-3.7"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.7-2ubuntu1",
        "1:3.7-2ubuntu2",
        "1:3.7-4ubuntu1",
        "1:3.7.1-1ubuntu1",
        "1:3.7.1-1ubuntu2",
        "1:3.7.1-1ubuntu3",
        "1:3.7.1-1ubuntu4",
        "1:3.7.1-2ubuntu1",
        "1:3.7.1-2ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "llvm-toolchain-3.9"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.9.1-4ubuntu3~16.04.1",
        "1:3.9.1-4ubuntu3~16.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "llvm-toolchain-8"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:8-3~ubuntu16.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "llvm-toolchain-10"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:10.0.0-4ubuntu1~18.04.1",
        "1:10.0.0-4ubuntu1~18.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "llvm-toolchain-3.9"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.9.1-17ubuntu1",
        "1:3.9.1-18ubuntu1",
        "1:3.9.1-19ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "llvm-toolchain-6.0"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:6.0~+rc1-1",
        "1:6.0~+rc2-1",
        "1:6.0-1ubuntu1",
        "1:6.0-1ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "llvm-toolchain-7"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7-3~ubuntu0.18.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "llvm-toolchain-8"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:8-3~ubuntu18.04.1",
        "1:8-3~ubuntu18.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "llvm-toolchain-9"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:9-2~ubuntu18.04.1",
        "1:9-2~ubuntu18.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "llvm-toolchain-3.7"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.7.1-5ubuntu3"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "llvm-toolchain-4.0"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:4.0.1-6",
        "1:4.0.1-8",
        "1:4.0.1-10"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "llvm-toolchain-5.0"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:5.0-3",
        "1:5.0-4",
        "1:5.0.1-1",
        "1:5.0.1-2",
        "1:5.0.1-4"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "llvm-toolchain-10"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:10~++20200121023453+de4b2a7fad6-1~exp1",
        "1:10.0.0~+rc1-1~exp1",
        "1:10.0.0~+rc2-2~build2",
        "1:10.0.0~+rc2-2",
        "1:10.0.0~+rc3-1",
        "1:10.0.0~+rc3-1build1",
        "1:10.0.0~+rc4-1",
        "1:10.0.0~+rc5-1ubuntu1",
        "1:10.0.0-1ubuntu1",
        "1:10.0.0-1ubuntu2",
        "1:10.0.0-2ubuntu1",
        "1:10.0.0-2ubuntu2",
        "1:10.0.0-3",
        "1:10.0.0-4ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "llvm-toolchain-11"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:11.0.0-2~ubuntu20.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "llvm-toolchain-12"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:12.0.0-3ubuntu1~20.04.3",
        "1:12.0.0-3ubuntu1~20.04.4",
        "1:12.0.0-3ubuntu1~20.04.5"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "llvm-toolchain-6.0"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:6.0.1-11",
        "1:6.0.1-11ubuntu1",
        "1:6.0.1-12",
        "1:6.0.1-14"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "llvm-toolchain-7"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.0.1-9build1",
        "1:7.0.1-9ubuntu2",
        "1:7.0.1-10",
        "1:7.0.1-10build1",
        "1:7.0.1-12"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "llvm-toolchain-8"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:8.0.1-3build1",
        "1:8.0.1-4",
        "1:8.0.1-4ubuntu3",
        "1:8.0.1-7build1",
        "1:8.0.1-7ubuntu1",
        "1:8.0.1-8ubuntu1",
        "1:8.0.1-9"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "llvm-toolchain-9"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:9-2",
        "1:9.0.0-3ubuntu2",
        "1:9.0.0-4ubuntu4",
        "1:9.0.1~+rc2-1~exp1",
        "1:9.0.1~+rc2-1~exp1ubuntu1",
        "1:9.0.1-1",
        "1:9.0.1-2",
        "1:9.0.1-6build1",
        "1:9.0.1-8build1",
        "1:9.0.1-8ubuntu1",
        "1:9.0.1-9ubuntu1",
        "1:9.0.1-10",
        "1:9.0.1-11",
        "1:9.0.1-11ubuntu1",
        "1:9.0.1-12"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "llvm-toolchain-11"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:11.0.1-2ubuntu5",
        "1:11.1.0-6"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "llvm-toolchain-12"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:12.0.1-8build1",
        "1:12.0.1-16",
        "1:12.0.1-19ubuntu3"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "llvm-toolchain-13"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:13.0.0-2",
        "1:13.0.0-9",
        "1:13.0.1-2ubuntu1",
        "1:13.0.1-2ubuntu2",
        "1:13.0.1-2ubuntu2.1",
        "1:13.0.1-2ubuntu2.2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "llvm-toolchain-14"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:14.0.0~+rc1-1",
        "1:14.0.0~+rc1-1ubuntu4",
        "1:14.0.0~+rc4-1ubuntu1",
        "1:14.0.0-1ubuntu1",
        "1:14.0.0-1ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "llvm-toolchain-15"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:15.0.6-3~ubuntu0.22.04.2",
        "1:15.0.7-0ubuntu0.22.04.1",
        "1:15.0.7-0ubuntu0.22.04.2",
        "1:15.0.7-0ubuntu0.22.04.3"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "llvm-toolchain-14"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:14.0.6-16",
        "1:14.0.6-16build1",
        "1:14.0.6-16build2",
        "1:14.0.6-19build2",
        "1:14.0.6-19build4"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "llvm-toolchain-15"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:15.0.7-10",
        "1:15.0.7-10build1",
        "1:15.0.7-10build2",
        "1:15.0.7-10ubuntu1",
        "1:15.0.7-11",
        "1:15.0.7-14build1",
        "1:15.0.7-14build3"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "llvm-toolchain-16"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:16.0.6-15",
        "1:16.0.6-18",
        "1:16.0.6-19",
        "1:16.0.6-19build1",
        "1:16.0.6-20",
        "1:16.0.6-23ubuntu1",
        "1:16.0.6-23ubuntu3",
        "1:16.0.6-23ubuntu4"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "llvm-toolchain-17"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:17.0.2-1~exp1ubuntu2.1",
        "1:17.0.5-1ubuntu1",
        "1:17.0.5-1ubuntu2",
        "1:17.0.6-2",
        "1:17.0.6-3",
        "1:17.0.6-5build1",
        "1:17.0.6-9build2",
        "1:17.0.6-9build3",
        "1:17.0.6-9ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "llvm-toolchain-18"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:18.1.0~rc1-1",
        "1:18.1.0~rc2-3",
        "1:18.1.0~rc2-4",
        "1:18.1.0~++20240126095841+0991d3c7b53d-1~exp1",
        "1:18.1.2-1ubuntu2",
        "1:18.1.2-1ubuntu3",
        "1:18.1.3-1",
        "1:18.1.3-1ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "zksolc is a Solidity compiler for ZKsync. All LLVM versions since 2015 fold `(xor (shl 1, x), -1)` to `(rotl ~1, x)` if run with optimizations enabled. Here `~1` is generated as an unsigned 64 bits number (`2^64-1`). This number is zero-extended to 256 bits on EraVM target while it should have been sign-extended. Thus instead of producing `roti 2^256 - 1, x` the compiler produces `rotl 2^64 - 1, x`. Analysis has shown that no contracts were affected by the date of publishing this advisory. This issue has been addressed in version 1.5.3. Users are advised to upgrade and redeploy all contracts. There are no known workarounds for this vulnerability.",
  "id": "UBUNTU-CVE-2024-45056",
  "modified": "2024-08-29T17:15:00Z",
  "published": "2024-08-29T17:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-45056"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-45056"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/matter-labs/era-compiler-solidity/security/advisories/GHSA-fpx7-8vc6-frjj"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/llvm/llvm-project/commit/e48237df95b49a36b8ffceb78c8a58f4be1b4344"
    }
  ],
  "related": [
    "CVE-2024-45056"
  ],
  "schema_version": "1.6.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "withdrawn": "2025-06-23T15:59:04Z"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.