{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-31183","id":"CVE-2022-31183","title":"mTLS client verification is skipped in fs2 on Node.js","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. Cli","descriptionLong":"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.","published":"2022-08-01T19:50:11.000Z","updated":"2026-10-28T02:30:43.178768882Z","reserved":"2022-05-18T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["typelevel fs2"],"affectedProducts":[{"vendor":"typelevel","product":"fs2","defaultStatus":null,"versions":[{"status":"affected","version":">= 3.1.0, < 3.2.11"}],"platforms":[]}],"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"],"advisory":"GHSA-2cpx-6pqp-wf35"},{"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"],"advisory":"GHSA-2cpx-6pqp-wf35"},{"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"],"advisory":"GHSA-2cpx-6pqp-wf35"},{"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"],"advisory":"GHSA-2cpx-6pqp-wf35"},{"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"],"advisory":"GHSA-2cpx-6pqp-wf35"},{"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"],"advisory":"GHSA-2cpx-6pqp-wf35"}],"cwes":["CWE-295"],"aliases":["GHSA-2cpx-6pqp-wf35"],"references":[{"url":"https://github.com/typelevel/fs2/security/advisories/GHSA-2cpx-6pqp-wf35","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/nodejs/node/issues/43994","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/typelevel/fs2/commit/659824395826a314e0a4331535dbf1ef8bef8207","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31183.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31183","tags":["advisory"]},{"url":"https://github.com/typelevel/fs2/commit/19ce392e8093d9571387dbd78e159e655a85aeea","tags":["web"]},{"url":"https://github.com/typelevel/fs2","tags":["package"]},{"url":"https://github.com/typelevel/fs2/releases/tag/v3.2.11","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.0083,"epssPercentile":0.58316,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-31183","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31183","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-31183","ok":true,"note":"6 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2cpx-6pqp-wf35","ok":true,"note":"GHSA-2cpx-6pqp-wf35"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-31183","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}