Update module go.mongodb.org/mongo-driver to v1.17.7 [SECURITY]#5058
Open
renovate[bot] wants to merge 1 commit into
Open
Update module go.mongodb.org/mongo-driver to v1.17.7 [SECURITY]#5058renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
|
85d851b to
d204228
Compare
d204228 to
1fe6698
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.17.4→v1.17.7Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
mongo-go-driver has Heap Out-of-Bounds Read in GSSAPI Error Handling
CVE-2026-2303 / GHSA-cp6g-7hqx-qxhp
More information
Details
The mongo-go-driver repository contains CGo bindings for GSSAPI (Kerberos) authentication on Linux and macOS. The C wrapper implementation contains a heap out-of-bounds read vulnerability due to incorrect assumptions about string termination in the GSSAPI standard. Since GSSAPI buffers are not guaranteed to be null-terminated or have extra padding, this results in reading one byte past the allocated heap buffer.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
mongodb/mongo-go-driver (go.mongodb.org/mongo-driver)
v1.17.7: MongoDB Go Driver 1.17.7Compare Source
The MongoDB Go Driver Team is pleased to release version 1.17.7 of the official MongoDB Go Driver.
Release Highlights
This release removes the deprecation notice from options.MergeClientOptions and fixes buffer handling in GSSAPI error description and username functions.
What's Changed
🐛 Fixed
📝 Other Changes
MergeClientOptionsby @tadjik1 in #2294Full Changelog: mongodb/mongo-go-driver@v1.17.6...v1.17.7
For a full list of tickets included in this release, please see the list of fixed issues.
Documentation for the Go Driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go Driver is greatly appreciated!
v1.17.6: MongoDB Go Driver 1.17.6Compare Source
The MongoDB Go Driver Team is pleased to release version 1.17.6 of the official MongoDB Go Driver.
Release Highlights
This release makes various maintainability improvements to the Go Driver development and release automation.
What's Changed
📝 Other Changes
Full Changelog: mongodb/mongo-go-driver@v1.17.4...v1.17.6
For a full list of tickets included in this release, please see the list of fixed issues.
Documentation for the Go Driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. For issues with, questions about, or feedback for the Go Driver, please look into our support channels, including StackOverflow. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go Driver is greatly appreciated!
Configuration
📅 Schedule: (in timezone UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.
Note
Low Risk
Patch-level dependency bump with no source edits; risk is limited to MongoDB client behavior where the driver is used (e.g. MongoDB credential verification).
Overview
Bumps
go.mongodb.org/mongo-driverfrom v1.17.4 to v1.17.7 ingo.modandgo.sumonly—no application code changes.The upgrade addresses CVE-2026-2303 (heap out-of-bounds read in GSSAPI/Kerberos error handling on Linux and macOS). v1.17.7 also includes intermediate v1.17.6 maintainability work from the upstream driver.
Reviewed by Cursor Bugbot for commit 1fe6698. Bugbot is set up for automated code reviews on this repo. Configure here.