Improper Certificate Validation Affecting mongodb package, versions [4.4.0 ,4.4.23-rc0)[5.0.0, 5.0.19-rc0)[6.0.0, 6.0.7-rc0)[6.3.0 ,7.0.0-rc1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MONGODB-14606787
  • published25 Dec 2025
  • disclosed23 Aug 2023
  • creditUnknown

Introduced: 23 Aug 2023

CVE-2023-1409  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade mongodb to version 4.4.23-rc0, 5.0.19-rc0, 6.0.7-rc0, 7.0.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation when TLS is configured with certain options that are known to be secure on other platforms. An attacker can exploit this by establishing a TLS connection using an arbitrary or untrusted client certificate, potentially gaining unauthorized access to the server.

CVSS Base Scores

version 4.0
version 3.1