Skip to content

Conversation

@renovate-sh-app
Copy link

@renovate-sh-app renovate-sh-app bot commented Oct 13, 2025

This PR contains the following updates:

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

GitHub Vulnerability Alerts

CVE-2024-24786

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.


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

CGA-2vgr-6mqh-4r48 / CGA-v9cm-f6x8-5vj7 / 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

CGA-2vgr-6mqh-4r48 / CGA-v9cm-f6x8-5vj7 / 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: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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

Need help?

You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.

@renovate-sh-app renovate-sh-app bot requested review from a team as code owners October 13, 2025 18:20
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/go-google.golang.org-protobuf-vulnerability branch 2 times, most recently from 8804957 to e58f15c Compare October 16, 2025 15:11
@renovate-sh-app renovate-sh-app bot changed the title chore(deps): update module google.golang.org/protobuf to v1.33.0 [security] chore(deps): update module google.golang.org/protobuf to v1.33.0 [security] - autoclosed Oct 24, 2025
@renovate-sh-app renovate-sh-app bot closed this Oct 24, 2025
@renovate-sh-app renovate-sh-app bot deleted the renovate/go-google.golang.org-protobuf-vulnerability branch October 24, 2025 00:07
@renovate-sh-app renovate-sh-app bot changed the title chore(deps): update module google.golang.org/protobuf to v1.33.0 [security] - autoclosed chore(deps): update module google.golang.org/protobuf to v1.33.0 [security] Oct 24, 2025
@renovate-sh-app renovate-sh-app bot reopened this Oct 24, 2025
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/go-google.golang.org-protobuf-vulnerability branch 3 times, most recently from 791853e to 70d21dc Compare October 29, 2025 18:08
…urity]

| datasource | package                    | from    | to      |
| ---------- | -------------------------- | ------- | ------- |
| go         | google.golang.org/protobuf | v1.31.0 | v1.33.0 |


Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/go-google.golang.org-protobuf-vulnerability branch from 70d21dc to 6650a95 Compare October 30, 2025 10:32
@xnyo
Copy link
Collaborator

xnyo commented Nov 5, 2025

Indirect dependency not needed anymore due to #45

@xnyo xnyo closed this Nov 5, 2025
@renovate-sh-app
Copy link
Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v1.33.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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