Skip to content

fix(deps): update module google.golang.org/protobuf to v1.33.0 [security] (release-1.15)#324

Closed
phisco-renovate[bot] wants to merge 1 commit into
release-1.15from
renovate/release-1.15-go-google.golang.org-protobuf-vulnerability
Closed

fix(deps): update module google.golang.org/protobuf to v1.33.0 [security] (release-1.15)#324
phisco-renovate[bot] wants to merge 1 commit into
release-1.15from
renovate/release-1.15-go-google.golang.org-protobuf-vulnerability

Conversation

@phisco-renovate
Copy link
Copy Markdown

@phisco-renovate phisco-renovate Bot commented Jul 26, 2024

This PR contains the following updates:

Package Change Age Confidence
google.golang.org/protobuf v1.31.0v1.33.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON

CVE-2024-24786 / GHSA-8r3f-844c-mc37

More information

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.

Severity

  • CVSS Score: 6.6 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON

CVE-2024-24786 / GHSA-8r3f-844c-mc37 / GO-2024-2611

More information

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.

Severity

  • CVSS Score: 6.6 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Infinite loop in JSON unmarshaling in google.golang.org/protobuf

CVE-2024-24786 / GHSA-8r3f-844c-mc37 / GO-2024-2611

More information

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.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Release Notes

protocolbuffers/protobuf-go (google.golang.org/protobuf)

v1.33.0

Compare Source

This release contains one security fix:

  • encoding/protojson: Unmarshal could 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. Unmarshal now correctly returns an error when handling these inputs. This is CVE-2024-24786.

v1.32.0

Compare Source

Full Changelog: protocolbuffers/protobuf-go@v1.31.0...v1.32.0

This release contains commit bfcd647, which fixes a denial of service vulnerability by preventing a stack overflow through a default maximum recursion limit. See golang/protobuf#1583 and golang/protobuf#1584 for details.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@phisco-renovate
Copy link
Copy Markdown
Author

phisco-renovate Bot commented Jul 26, 2024

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.mod
Command failed: install-tool golang $(grep -oP ^toolchain go\K.+ go.mod)

File name: go.mod
Command failed: make generate
# github.com/bufbuild/buf/private/pkg/protodescriptor
/home/ubuntu/go/pkg/mod/github.com/bufbuild/buf@v1.27.2/private/pkg/protodescriptor/protodescriptor.go:52:24: cannot use fileDescriptorProto (variable of type *descriptorpb.FileDescriptorProto) as FileDescriptor value in assignment: *descriptorpb.FileDescriptorProto does not implement FileDescriptor (wrong type for method GetEdition)
		have GetEdition() descriptorpb.Edition
		want GetEdition() string
/home/ubuntu/go/pkg/mod/github.com/bufbuild/buf@v1.27.2/private/pkg/protodescriptor/protodescriptor.go:71:32: impossible type assertion: fileDescriptor.(*descriptorpb.FileDescriptorProto)
	*descriptorpb.FileDescriptorProto does not implement FileDescriptor (wrong type for method GetEdition)
		have GetEdition() descriptorpb.Edition
		want GetEdition() string
/home/ubuntu/go/pkg/mod/github.com/bufbuild/buf@v1.27.2/private/pkg/protodescriptor/protodescriptor.go:97:33: cannot use proto.String(edition) (value of type *string) as *descriptorpb.Edition value in assignment
/home/ubuntu/go/pkg/mod/github.com/bufbuild/buf@v1.27.2/private/pkg/protodescriptor/protodescriptor.go:151:36: cannot use fileDescriptorProto (variable of type *descriptorpb.FileDescriptorProto) as FileDescriptor value in argument to ValidateFileDescriptor: *descriptorpb.FileDescriptorProto does not implement FileDescriptor (wrong type for method GetEdition)
		have GetEdition() descriptorpb.Edition
		want GetEdition() string
apis/generate.go:73: running "go": exit status 1
make[1]: *** [build/makelib/golang.mk:240: go.generate] Error 1
make: *** [build/makelib/common.mk:434: generate] Error 2

@phisco-renovate phisco-renovate Bot changed the title fix(deps): update module google.golang.org/protobuf to v1.33.0 [security] (release-1.15) fix(deps): update module google.golang.org/protobuf to v1.33.0 [security] (release-1.15) - autoclosed Apr 14, 2026
@phisco-renovate phisco-renovate Bot closed this Apr 14, 2026
@phisco-renovate phisco-renovate Bot deleted the renovate/release-1.15-go-google.golang.org-protobuf-vulnerability branch April 14, 2026 09:30
@phisco-renovate phisco-renovate Bot changed the title fix(deps): update module google.golang.org/protobuf to v1.33.0 [security] (release-1.15) - autoclosed fix(deps): update module google.golang.org/protobuf to v1.33.0 [security] (release-1.15) Apr 17, 2026
@phisco-renovate phisco-renovate Bot reopened this Apr 17, 2026
@phisco-renovate phisco-renovate Bot force-pushed the renovate/release-1.15-go-google.golang.org-protobuf-vulnerability branch 2 times, most recently from dbae605 to a561a64 Compare April 17, 2026 09:44
@phisco phisco deleted the branch release-1.15 May 6, 2026 12:20
@phisco phisco closed this May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant