Advisory

GO-2023-1882

Also known as: CVE-2023-34450, GHSA-mvj3-qrqh-cjvr

Summary

Deadlock in github.com/cometbft/cometbft/consensus

Details

An internal modification to the way PeerState is serialized to JSON introduced a deadlock when the new function MarshalJSON is called.

This function can be called in two ways. The first is via logs, by setting the consensus logging module to "debug" level (which should not happen in production), and setting the log output format to JSON. The second is via RPC dump_consensus_state.

Severity

Not rated by the source.

Dates

Published
2023-07-06 20:13 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/cometbft/cometbft

Go · All systems

Affected

  • introduced 0.37.1, fixed 0.37.2 (semver)

Fixed versions

0.37.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences