Skip to content

Update module go.mongodb.org/mongo-driver to v1.17.7 [SECURITY]#5058

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-go.mongodb.org-mongo-driver-vulnerability
Open

Update module go.mongodb.org/mongo-driver to v1.17.7 [SECURITY]#5058
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-go.mongodb.org-mongo-driver-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
go.mongodb.org/mongo-driver v1.17.4v1.17.7 age confidence

Warning

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 Score: 6.9 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

References

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.7

Compare 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

Full 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.6

Compare Source

The MongoDB Go Driver Team is pleased to release version 1.17.6 of the official MongoDB Go Driver.

[!NOTE]
Due to a bug in the Go Driver release automation, there is no 1.17.5 release.

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)

  • Branch creation
    • At any time (no schedule defined)
  • 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

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-driver from v1.17.4 to v1.17.7 in go.mod and go.sum only—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.

@renovate renovate Bot added the security label Jun 20, 2026
@renovate renovate Bot requested a review from a team June 20, 2026 09:08
@renovate renovate Bot requested a review from a team as a code owner June 20, 2026 09:08
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@renovate renovate Bot force-pushed the renovate/go-go.mongodb.org-mongo-driver-vulnerability branch 7 times, most recently from 85d851b to d204228 Compare June 25, 2026 00:08
@renovate renovate Bot force-pushed the renovate/go-go.mongodb.org-mongo-driver-vulnerability branch from d204228 to 1fe6698 Compare June 25, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant