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


0.0
medium
  • Attack Complexity

    High

  • Confidentiality

    High

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-2964207

  • published

    31 Jul 2022

  • disclosed

    29 Jul 2022

  • credit

    Unknown

How to fix?

Upgrade co.fs2:fs2-io_sjs1_3 to version 3.2.11 or higher.

Overview

co.fs2:fs2-io_sjs1_3 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.