Skip to content

CVE-2024-24786 (High) detected in github.com/protocolbuffers/protobuf-go-v1.27.1 #134

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2024-24786 - High Severity Vulnerability

Vulnerable Library - github.com/protocolbuffers/protobuf-go-v1.27.1

Go support for Google's protocol buffers

Library home page: https://proxy.golang.org/github.com/protocolbuffers/protobuf-go/@v/v1.27.1.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go.mod

Dependency Hierarchy:

  • github.com/prometheus/common-v0.30.0 (Root Library)
    • github.com/golang/protobuF-v1.5.2
      • github.com/protocolbuffers/protobuf-go-v1.27.1 (Vulnerable Library)

Found in base branch: master

Vulnerability Details

The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.

Publish Date: 2024-03-05

URL: CVE-2024-24786

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://pkg.go.dev/vuln/GO-2024-2611

Release Date: 2024-03-05

Fix Resolution: v1.33.0


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Mend: dependency security vulnerabilitySecurity vulnerability detected by WhiteSourcelifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions