Improper Certificate Validation Affecting co.fs2:fs2-io_sjs1_2.13 package, versions [3.1.0,3.2.11)


0.0
medium

Snyk CVSS

    Attack Complexity High
    Confidentiality High

    Threat Intelligence

    EPSS 0.21% (59th percentile)
Expand this section
NVD
9.8 critical

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 ID SNYK-JAVA-COFS2-2964206
  • published 31 Jul 2022
  • disclosed 29 Jul 2022
  • credit Unknown

How to fix?

Upgrade co.fs2:fs2-io_sjs1_2.13 to version 3.2.11 or higher.

Overview

co.fs2:fs2-io_sjs1_2.13 is a compositional, streaming I/O library

Affected versions of this package are vulnerable to Improper Certificate Validation in TLSContextPlatform.scala when establishing a server-mode TLSSocket. The parameter requestCert = true is ignored, and the connection proceeds without certificate validation.

NOTE:

This vulnerability is only exploitable when the following conditions are met:

  1. fs2-io is running on Node.js.

  2. The TLSSocket being established is in server-mode.

  3. The default mTLS setting requestCert = false in TLSParameters is changed to true.