Improper Handling of Case Sensitivity Affecting nodejs package, versions [22.20.0,]


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (16th 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-CONAN-NODEJS-17675088
  • published29 Jun 2026
  • disclosed26 Jun 2026
  • credittmeletlidis

Introduced: 26 Jun 2026

NewCVE-2026-48928  (opens in a new tab)
CWE-178  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity in the Server.prototype.addContext method of lib/internal/tls/wrap.js, which builds the server name matching regular expression without the case-insensitive flag. An attacker can evade the TLS context bound to a specific hostname, and the client certificate policy attached to it, by sending an uppercase or mixed-case SNI hostname in the ClientHello, which fails to match the configured context and falls back to the server's default context. Exploitation affects servers with multi-context SNI configurations where the default context enforces a weaker client authentication policy than the host-specific context it should have matched.

CVSS Base Scores

version 4.0
version 3.1