CVEBrief

Home / typelevel / fs2 / CVE-2022-31183

CVE-2022-31183: is it exploited, and which versions of typelevel fs2 are affected and fixed?

CVE-2022-31183 is an improper certificate validation vulnerability in typelevel fs2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: co.fs2:fs2-io from 3.1.0 before 3.2.11, co.fs2:fs2-io_2.12 from 3.1.0 before 3.2.11, co.fs2:fs2-io_3 from 3.1.0 before 3.2.11 and 3 more (GitHub advisory GHSA-2cpx-6pqp-wf35). Fixed in 3.2.11 (GitHub advisory GHSA-2cpx-6pqp-wf35). Severity: Critical (9.1, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:46 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:08 UTC
Affected
co.fs2:fs2-io from 3.1.0 before 3.2.11, co.fs2:fs2-io_2.12 from 3.1.0 before 3.2.11, co.fs2:fs2-io_3 from 3.1.0 before 3.2.11 and 3 more
GitHub advisory GHSA-2cpx-6pqp-wf35
Fixed in
3.2.11
GitHub advisory GHSA-2cpx-6pqp-wf35
Severity
Critical 9.1
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.83% in 30 days
higher than 59% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2022-31183?

mTLS client verification is skipped in fs2 on Node.js

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.

From the CVE record by GitHub_M, last updated April 22, 2025, 17:45 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
typelevelfs2>= 3.1.0, < 3.2.11

As the CVE record by GitHub_M states it, last updated April 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenco.fs2:fs2-io>= 3.1.0, < 3.2.113.2.11GHSA-2cpx-6pqp-wf35
Mavenco.fs2:fs2-io_2.12>= 3.1.0, < 3.2.113.2.11GHSA-2cpx-6pqp-wf35
Mavenco.fs2:fs2-io_3>= 3.1.0, < 3.2.113.2.11GHSA-2cpx-6pqp-wf35
Mavenco.fs2:fs2-io_2.13>= 3.1.0, < 3.2.113.2.11GHSA-2cpx-6pqp-wf35
Mavenco.fs2:fs2-io_sjs1_2.13>= 3.1.0, < 3.2.113.2.11GHSA-2cpx-6pqp-wf35
Mavenco.fs2:fs2-io_sjs1_3>= 3.1.0, < 3.2.113.2.11GHSA-2cpx-6pqp-wf35

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 30, 2025. Summary: fs2-io skips mTLS client verification.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
typelevelfs2from 3.1.0 before 3.2.11application

NVD analysis (status Modified), last modified June 17, 2026, 04:44 UTC.

How severe is CVE-2022-31183?

ScoreVersionVectorSource
Critical 9.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NGitHub_M
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-31183 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, April 22, 2025)
EPSS
0.83% probability of exploitation activity in the next 30 days, percentile 58.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 18, 2022
Published
August 1, 2022, 19:50 UTC
CVE record updated
April 22, 2025, 17:45 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:44 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:46 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect fs2?

Every CVE in fs2

Questions about CVE-2022-31183

Is CVE-2022-31183 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.83% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of typelevel fs2 are affected by CVE-2022-31183?

co.fs2:fs2-io from 3.1.0 before 3.2.11, co.fs2:fs2-io_2.12 from 3.1.0 before 3.2.11, co.fs2:fs2-io_3 from 3.1.0 before 3.2.11, co.fs2:fs2-io_2.13 from 3.1.0 before 3.2.11, co.fs2:fs2-io_sjs1_2.13 from 3.1.0 before 3.2.11 and co.fs2:fs2-io_sjs1_3 from 3.1.0 before 3.2.11, per the GitHub advisory GHSA-2cpx-6pqp-wf35. The tables above give every range the sources list.

Which version fixes CVE-2022-31183?

3.2.11, per the GitHub advisory GHSA-2cpx-6pqp-wf35. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-31183?

Critical (9.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2022-31183?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.