Improper Certificate Validation Affecting github.com/oxia-db/oxia/common/security package, versions <0.16.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (6th 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-GOLANG-GITHUBCOMOXIADBOXIACOMMONSECURITY-16316102
  • published28 Apr 2026
  • disclosed22 Apr 2026
  • creditUnknown

Introduced: 22 Apr 2026

CVE-2026-40944  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade github.com/oxia-db/oxia/common/security to version 0.16.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in the trustedCertPool function, which only parses the first PEM block from CA certificate files. An attacker can bypass certificate chain validation by providing a multi-certificate PEM bundle where only the first certificate is loaded, potentially allowing unauthorized access.

CVSS Base Scores

version 4.0
version 3.1