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

CVE-2021-20329 (Medium) detected in multiple libraries #345

Open
mend-for-github-com bot opened this issue Apr 12, 2022 · 0 comments
Open

CVE-2021-20329 (Medium) detected in multiple libraries #345

mend-for-github-com bot opened this issue Apr 12, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Apr 12, 2022

CVE-2021-20329 - Medium Severity Vulnerability

Vulnerable Libraries - go.mongodb.org/mongo-driver/bson-v1.0.3, go.mongodb.org/mongo-driver/bson/bsonrw-v1.0.3, go.mongodb.org/mongo-driver/x/bsonx/bsoncore-v1.0.3

go.mongodb.org/mongo-driver/bson-v1.0.3

The Go driver for MongoDB

Dependency Hierarchy:

  • go.mongodb.org/mongo-driver/bson-v1.0.3 (Vulnerable Library)
go.mongodb.org/mongo-driver/bson/bsonrw-v1.0.3

The Go driver for MongoDB

Dependency Hierarchy:

  • go.mongodb.org/mongo-driver/mongo-v1.0.3 (Root Library)
    • go.mongodb.org/mongo-driver/x/bsonx/bsoncore-v1.0.3
      • go.mongodb.org/mongo-driver/bson/primitive-v1.0.3
        • go.mongodb.org/mongo-driver/bson/bsoncodec-v1.0.3
          • go.mongodb.org/mongo-driver/bson/bsonrw-v1.0.3 (Vulnerable Library)
go.mongodb.org/mongo-driver/x/bsonx/bsoncore-v1.0.3

The Go driver for MongoDB

Dependency Hierarchy:

  • go.mongodb.org/mongo-driver/mongo-v1.0.3 (Root Library)
    • go.mongodb.org/mongo-driver/x/bsonx/bsoncore-v1.0.3 (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Specific cstrings input may not be properly validated in the MongoDB Go Driver when marshalling Go objects into BSON. A malicious user could use a Go object with specific string to potentially inject additional fields into marshalled documents. This issue affects all MongoDB GO Drivers up to (and including) 1.5.0.

Publish Date: 2021-06-10

URL: CVE-2021-20329

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2021-06-10

Fix Resolution: v1.5.1

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants