Advisory

GHSA-p4g4-wgrh-qrg2

Also known as: BIT-etcd-2020-15106, BIT-etcd-2020-15112, CVE-2020-15106, CVE-2020-15112, GHSA-m332-53r6-2w93, GO-2020-0005

Summary

Panic due to malformed WALs in go.etcd.io/etcd

Details

Vulnerability type
Data Validation

Detail
The size of a record is stored in the length field of a WAL file and no additional validation is done on this data. Therefore, it is possible to forge an extremely large frame size that can unintentionally panic at the expense of any RAFT participant trying to decode the WAL.

Specific Go Packages Affected
github.com/etcd-io/etcd/wal

References
Find out more on this vulnerability in the security audit report

For more information
If you have any questions or comments about this advisory:

Severity

Low Basis: The source's own band: LOW

Dates

Published
2023-02-07 22:59 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

go.etcd.io/etcd

Go · All systems

Affected

  • introduced 0, fixed 0.5.0-alpha.5.0.20200423152442-f4b650b51dc4 (semver)

Fixed versions

0.5.0-alpha.5.0.20200423152442-f4b650b51dc4

Fix

  • Fixed version 0.5.0-alpha.5.0.20200423152442-f4b650b51dc4
    go get go.etcd.io/[email protected]

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences