Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. go.etcd.io/etcd/v3
  4. ›
  5. CVE-2020-15112

CVE-2020-15112: Improper Validation of Array Index

October 6, 2022

In etcd before versions 3.3.23 and 3.4.10, 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

  • github.com/advisories/GHSA-m332-53r6-2w93
  • github.com/etcd-io/etcd/commit/7d1cf640497cbcdfb932e619b13624112c7e3865
  • github.com/etcd-io/etcd/security/advisories/GHSA-m332-53r6-2w93
  • nvd.nist.gov/vuln/detail/CVE-2020-15112

Code Behaviors & Features

Detect and mitigate CVE-2020-15112 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.3.23, all versions starting from 3.4.0 before 3.4.10

Fixed versions

  • 3.3.23
  • 3.4.10

Solution

Upgrade to versions 3.3.23, 3.4.10 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-129: Improper Validation of Array Index

Source file

go/go.etcd.io/etcd/v3/CVE-2020-15112.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:52 +0000.