Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version of MongoDB.Driver.Core contain vulerability #2227

Closed
thompson-tomo opened this issue Nov 25, 2023 · 3 comments
Closed

Version of MongoDB.Driver.Core contain vulerability #2227

thompson-tomo opened this issue Nov 25, 2023 · 3 comments
Labels

Comments

@thompson-tomo
Copy link
Contributor

APM Agent version

Elastic.Apm.MongoDb

Describe the bug

All versions of the library are using a version of MongoDB.Driver.Core which has an identified vulnerability which has been fixed in newer version of the library

To Reproduce

Install Elastic.Apm.MongoDb
Observe when looking at transitive packages that the vulenerable System.Net.Security is there which has been added due to the version of MongoDB.Driver.Core being used

Expected behavior

No vulnerabilities being added to projects

Expected actions

The version of MongoDB.Driver.Core included in the library is increased to atleast 2.8.0 or removed if not needed

@Mpdreamz
Copy link
Member

We'll update this dependency, however its rare MongoDB.Driver.Core is a transitive dependency that is pulled in through our instrumentation.

More typically they are both installed and listed explicitly and the highest version will win.

@thompson-tomo
Copy link
Contributor Author

thompson-tomo commented Dec 14, 2023

Thanks I think it is more common than you think as all users of Elastic.Apm.NetCoreAll are affected and what % of those users are actually using mongodb. I alone am up to 20 affected projects none of which use mongodb

@Mpdreamz
Copy link
Member

That's a great callout @thompson-tomo, will see to it we'll bump this dependency this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants