CVE-2021-3121: Out-of-bounds Read

Published Jan 11, 2021
·
Updated

A flaw was found in github.com/gogo/protobuf before 1.3.2 that allows an out-of-bounds access when unmarshalling certain protobuf objects. This flaw allows a remote attacker to send crafted protobuf messages, causing panic and resulting in a denial of service. The highest threat from this vulnerability is to availability.

Other sources

An issue was discovered in GoGo Protobuf before 1.3.2. plugin/unmarshal/unmarshal.go lacks certain index validation, aka the "skippy peanut butter" issue.

Affected Software

14 affected componentsFixes available
redhat/kiali<0:v1.24.7.redhat1-1.el8
0:v1.24.7.redhat1-1.el8
redhat/cri-o<0:1.20.0-0.rhaos4.7.git8921e00.el8.51
0:1.20.0-0.rhaos4.7.git8921e00.el8.51
redhat/cri-tools<0:1.20.0-1.el8
0:1.20.0-1.el8
redhat/openshift-clients<0:4.7.0-202103251046.p0.git.3957.c4da68b.el7
0:4.7.0-202103251046.p0.git.3957.c4da68b.el7
redhat/openshift<0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el8
0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el8
redhat/openshift-clients<0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el8
0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el8
redhat/github.com/gogo/protobuf<1.3.2
1.3.2
Golang Protobuf<1.3.2
HashiCorp Consul<1.8.15
HashiCorp Consul<1.8.15
HashiCorp Consul>=1.9.0<1.9.9
HashiCorp Consul>=1.9.0<1.9.9
HashiCorp Consul>=1.10.0<1.10.2
HashiCorp Consul>=1.10.0<1.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kiali to a version that resolves this vulnerability.

    Fixed in 0:v1.24.7.redhat1-1.el8
  2. Upgrade

    Upgrade redhat/cri-o to a version that resolves this vulnerability.

    Fixed in 0:1.20.0-0.rhaos4.7.git8921e00.el8.51
  3. Upgrade

    Upgrade redhat/cri-tools to a version that resolves this vulnerability.

    Fixed in 0:1.20.0-1.el8
  4. Upgrade

    Upgrade redhat/openshift-clients to a version that resolves this vulnerability.

    Fixed in 0:4.7.0-202103251046.p0.git.3957.c4da68b.el7
  5. Upgrade

    Upgrade redhat/openshift to a version that resolves this vulnerability.

    Fixed in 0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el8
  6. Upgrade

    Upgrade redhat/openshift-clients to a version that resolves this vulnerability.

    Fixed in 0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el8
  7. Upgrade

    Upgrade redhat/github.com/gogo/protobuf to a version that resolves this vulnerability.

    Fixed in 1.3.2

Event History

Jan 11, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·05:57 AM
Data Sourced
via MITRE·05:57 AM
Description
Data Sourced
via NVD·06:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID of this issue is CVE-2021-3121.

2

What is the severity of CVE-2021-3121?

The severity of CVE-2021-3121 is high with a CVSS score of 8.6.

3

What is the affected software?

The affected software includes github.com/gogo/protobuf versions up to 1.3.2, kiali up to v1.24.7.redhat1-1.el8, cri-o up to 1.20.0-0.rhaos4.7.git8921e00.el8.51, cri-tools up to 1.20.0-1.el8, and others.

4

How does this vulnerability occur?

This vulnerability occurs due to an out-of-bounds access when unmarshalling certain protobuf objects in github.com/gogo/protobuf.

5

How can I fix CVE-2021-3121?

To fix CVE-2021-3121, update your golang/protobuf package to version 1.3.2 or newer and apply any available patches or updates for the affected software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203