Skip to content

A large slice causes panic in decodeRecord method

Moderate
spzala published GHSA-p4g4-wgrh-qrg2 Aug 5, 2020

Package

wal

Affected versions

<= 3.4.9

Patched versions

3.4.10, 3.3.23

Description

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.

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

Moderate

CVE ID

CVE-2020-15106

Weaknesses

No CWEs