Skip to content

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

Open
gcsvc-or-orbot wants to merge 11 commits into
mainfrom
renovate/go-go.mongodb.org-mongo-driver-vulnerability
Open

Update module go.mongodb.org/mongo-driver to v1.17.7 [SECURITY]#7
gcsvc-or-orbot wants to merge 11 commits into
mainfrom
renovate/go-go.mongodb.org-mongo-driver-vulnerability

Conversation

@gcsvc-or-orbot

Copy link
Copy Markdown
Collaborator

This PR contains the following updates:

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

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!


Configuration

📅 Schedule: (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 has been generated by Mend Renovate.

KevinKlaesRackspace2 and others added 8 commits January 15, 2026 12:22
Add relaxPermChecks and encryption enabling flags to ps-entry
* Fix keyfile permissions

* Remove extra debug line

* Update build/ps-entry.sh

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
LIB-623: Add Renovate dependency management
KevinKlaesRackspace2 and others added 3 commits July 13, 2026 11:02
The --relaxPermChecks flag is a Percona Server for MongoDB specific option
that does not exist in MongoDB Community Edition. Our Docker images use
MongoDB Community packages (mongodb-org-*), so this flag causes mongod to
fail at startup with 'unrecognised option' error.

This was the root cause of build failures in the Braze zone: both cfg
(config server) and rs-0 (shard) pods entered CrashLoopBackOff because
mongod rejected the unrecognized --relaxPermChecks flag.

Changes:
- Remove --relaxPermChecks from containerArgs() in container.go
- Remove --relaxPermChecks from mongos args in mongos.go
- Update mongos_test.go to assert flag is NOT present
- Update all e2e test comparison YAML files (257 files)
- Update all reconcile-statefulset testdata YAML files (9 files)

The defense-in-depth stripping in build/ps-entry.sh is preserved for
backwards compatibility with any future edge cases.
…aze-zone

LIB-980: Build failures in Braze zone
@gcsvc-or-orbot gcsvc-or-orbot force-pushed the renovate/go-go.mongodb.org-mongo-driver-vulnerability branch from 3d211e7 to 21441dd Compare July 13, 2026 18:35
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.

4 participants