CVE-2023-35163
Vega's validators able to submit duplicate transactions
Check your servers for CVE-2023-35163
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-35163 affects vega, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Vega is a decentralized trading platform that allows pseudo-anonymous trading of derivatives on a blockchain. Prior to version 0.71.6, a vulnerability exists that allows a malicious validator to trick the Vega network into re-processing past Ethereum events from Vega’s Ethereum bridge. For example, a deposit to the collateral bridge for 100USDT that credits a party’s general account on Vega, can be re-processed 50 times resulting in 5000USDT in that party’s general account. This is without depositing any more than the original 100USDT on the bridge. Despite this exploit requiring access to a validator's Vega key, a validator key can be obtained at the small cost of 3000VEGA, the amount needed to announce a new node onto the network.
A patch is available in version 0.71.6. No known workarounds are available, however there are mitigations in place should this vulnerability be exploited. There are monitoring alerts for `mainnet1` in place to identify any issues of this nature including this vulnerability being exploited. The validators have the ability to stop the bridge thus stopping any withdrawals should this vulnerability be exploited.
Severity (CVSS)
CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:L
- Attack vector
- physical: the attacker has to touch the device
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.49%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 43.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 7 Nov 2024):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-20 Improper Input Validation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| vega |
affected < 0.71.6
|
Is my server affected?
Find the installed version of vega and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i vega
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2023-35163 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2023-35163RHEL, Rocky, Alma, Fedora
rpm -q vega
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2023-35163Alpine
apk list --installed | grep -i vegaWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-35163
trivy image --scanners vuln IMAGE | grep CVE-2023-35163
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/vegaprotocol/vega/commit/56b09bf57af8cd9eca5996252d86f469a3e34c68 github.com
- https://github.com/vegaprotocol/vega/releases/tag/v0.71.6 github.com
Source: the record CVE-2023-35163 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse