Improper Certificate Validation Affecting co.fs2:fs2-io_sjs1_2.13 package, versions [3.1.0,3.2.11)
Snyk CVSS
Threat Intelligence
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
Introduced: 29 Jul 2022
CVE-2022-31183 Open this link in a new tabHow 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:
fs2-io
is running on Node.js.The
TLSSocket
being established is in server-mode.The default mTLS setting
requestCert = false
inTLSParameters
is changed totrue
.