Skip to content

An entry with large index causes panic in WAL ReadAll method

Moderate
spzala published GHSA-m332-53r6-2w93 Aug 5, 2020

Package

wal

Affected versions

<= 3.4.9

Patched versions

3.4.10, 3.3.23

Description

Vulnerability type

Data Validation

Detail

In the ReadAll method in wal/wal.go, it is possible to have an entry index greater then the number of entries. This could cause issues when WAL entries are being read during consensus as an arbitrary etcd consensus participant could go down from a runtime panic when reading the entry.

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-15112

Weaknesses

No CWEs