Improper Input Validation Affecting github.com/etcd-io/etcd/wal package, versions <3.4.10


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMETCDIOETCDWAL-597475
  • published6 Aug 2020
  • disclosed6 Aug 2020
  • creditUnknown

Introduced: 6 Aug 2020

CVE-2020-15112  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/etcd-io/etcd/wal to version 3.4.10 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. It is possible to have an entry index greater then the number of entries in the ReadAll method in wal/wal.go. 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

CVSS Scores

version 3.1