{"cve":"CVE-2022-31183","nvd":{"published":"2022-08-01T20:15:08.410","modified":"2026-06-17T04:44:58.777","status":"Modified","description":"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. `TLSSocket`s in server-mode. Client-mode `TLSSocket`s are implemented via a different API. 3. mTLS as enabled via `requestCert = true` in `TLSParameters`. The default setting is `false` for server-mode `TLSSocket`s. 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-295"],"references":["https://github.com/nodejs/node/issues/43994","https://github.com/typelevel/fs2/commit/659824395826a314e0a4331535dbf1ef8bef8207","https://github.com/typelevel/fs2/security/advisories/GHSA-2cpx-6pqp-wf35","https://github.com/nodejs/node/issues/43994","https://github.com/typelevel/fs2/commit/659824395826a314e0a4331535dbf1ef8bef8207"],"products":["typelevel:fs2"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2022-31183","score":0.0083,"percentile":0.57569,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2cpx-6pqp-wf35","url":"https://osv.dev/vulnerability/GHSA-2cpx-6pqp-wf35","summary":"fs2-io skips mTLS client verification","modified":"2025-09-30T17:37:53.151409Z","packages":[{"ecosystem":"Maven","name":"co.fs2:fs2-io","purl":"pkg:maven/co.fs2/fs2-io","ranges":[">=3.1.0 <3.2.11"],"fixed":["3.2.11"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.12","purl":"pkg:maven/co.fs2/fs2-io_2.12","ranges":[">=3.1.0 <3.2.11"],"fixed":["3.2.11"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_3","purl":"pkg:maven/co.fs2/fs2-io_3","ranges":[">=3.1.0 <3.2.11"],"fixed":["3.2.11"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_2.13","purl":"pkg:maven/co.fs2/fs2-io_2.13","ranges":[">=3.1.0 <3.2.11"],"fixed":["3.2.11"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_sjs1_2.13","purl":"pkg:maven/co.fs2/fs2-io_sjs1_2.13","ranges":[">=3.1.0 <3.2.11"],"fixed":["3.2.11"]},{"ecosystem":"Maven","name":"co.fs2:fs2-io_sjs1_3","purl":"pkg:maven/co.fs2/fs2-io_sjs1_3","ranges":[">=3.1.0 <3.2.11"],"fixed":["3.2.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}