CVE-2022-31183
CRITICAL 9.8CVSS 3.1fs2-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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | typelevel | fs2cpe: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
- https://github.com/nodejs/node/issues/43994 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/typelevel/fs2/commit/659824395826a314e0a4331535dbf1ef8bef8207 · Patch, Third Party Advisory, WEB
- https://github.com/typelevel/fs2/security/advisories/GHSA-2cpx-6pqp-wf35 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31183 · ADVISORY
- https://github.com/typelevel/fs2/commit/19ce392e8093d9571387dbd78e159e655a85aeea · WEB
- https://github.com/typelevel/fs2 · PACKAGE
- https://github.com/typelevel/fs2/releases/tag/v3.2.11 · WEB
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)