CVE-2023-35163 Vega's validators able to submit duplicate transactions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.vegaprotocol.io/vega(Go) | < 0.71.6 | 0.71.6 | Fixed |
| gobalsky vega | < 0.71.6 | 0.71.6 | Fixed |
| vega-functions project vega-functions | < 0.71.6 | 0.71.6 | Fixed |
| vegaprotocol vega | = < 0.71.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.vegaprotocol.io/vega(Go) | < 0.71.6 | 0.71.6 |
| vegaprotocol vega | = < 0.71.6 | No fix listed |
| vega-functions project vega-functions | < 0.71.6 | 0.71.6 |
| gobalsky vega | < 0.71.6 | 0.71.6 |
References
- https://github.com/vegaprotocol/vega/security/advisories/GHSA-8rc9-vxjh-qjf2 exploit mitigation vendor-advisory
- https://github.com/vegaprotocol/vega/commit/56b09bf57af8cd9eca5996252d86f469a3e34c68 patch
- https://github.com/vegaprotocol/vega/releases/tag/v0.71.6 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product