Security mailing lists by PureSourceCode

CVE-2022-31183

CRITICAL 9.8CVSS 3.1

fs2-io skips mTLS client verification

fs2 is a compositional, streaming I/O library for Scala. When establishing a server-mode TLSSocket using fs2-io on Node.js, the parameter requestCert = true is ignored, peer certificate verification is skipped, and the connection proceeds. The vulnerability is limited to: 1. fs2-io running on Node.js. The JVM TLS implementation is completely independent. 2. TLSSockets in server-mode. Client-mode TLSSockets are implemented via a different API. 3. mTLS as enabled via requestCert = true in TLSParameters. The default setting is false for server-mode TLSSockets. It was introduced with the initial Node.js implementation of fs2-io in 3.1.0. A patch is released in v3.2.11. The requestCert = true parameter is respected and the peer certificate is verified. If verification fails, a SSLException is raised. If using an unpatched version on Node.js, do not use a server-mode TLSSocket with requestCert = true to establish a mTLS connection.

Published
1 Aug 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-295
Also known as
GHSA-2cpx-6pqp-wf35
Sources
NVDJSONOSV GHSA-2cpx-6pqp-wf35JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD typelevel fs2
cpe:2.3:a:typelevel:fs2:*:*:*:*:*:*:*:*
>= 3.1.0, < 3.2.11 3.2.11
OSV Maven co.fs2:fs2-io >= 3.1.0, < 3.2.11 3.2.11
OSV Maven co.fs2:fs2-io_2.12 >= 3.1.0, < 3.2.11 3.2.11
OSV Maven co.fs2:fs2-io_3 >= 3.1.0, < 3.2.11 3.2.11
OSV Maven co.fs2:fs2-io_2.13 >= 3.1.0, < 3.2.11 3.2.11
OSV Maven co.fs2:fs2-io_sjs1_2.13 >= 3.1.0, < 3.2.11 3.2.11
OSV Maven co.fs2:fs2-io_sjs1_3 >= 3.1.0, < 3.2.11 3.2.11

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Aug 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jul 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.