> CVE-2022-31183 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2022-08-01 20:15
MODIFIED
2024-11-21 07:04
CVSS_SCORE V3
9.1
EPSS (Prob. Exploit)
0.83%
Top 42.2%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> 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.

> AFFECTED_PRODUCTS

Typelevel - Fs2
>= 3.1.0 < 3.2.11

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-2cpx-6pqp-wf35 CRITICAL

fs2-io skips mTLS client verification

AFFECTED PACKAGES:
MAVEN / co.fs2:fs2-io_sjs1_3
>= 3.1.0, < 3.2.11
Fixed in: 3.2.11
MAVEN / co.fs2:fs2-io_sjs1_2.13
>= 3.1.0, < 3.2.11
Fixed in: 3.2.11
MAVEN / co.fs2:fs2-io_2.13
>= 3.1.0, < 3.2.11
Fixed in: 3.2.11
MAVEN / co.fs2:fs2-io_3
>= 3.1.0, < 3.2.11
Fixed in: 3.2.11
MAVEN / co.fs2:fs2-io_2.12
>= 3.1.0, < 3.2.11
Fixed in: 3.2.11
MAVEN / co.fs2:fs2-io
>= 3.1.0, < 3.2.11
Fixed in: 3.2.11

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

mTLS client verification is skipped in fs2 on Node.js

AFFECTED PACKAGES:
Unknown / Unknown
17 versions affected
ALIASES:
GHSA-2cpx-6pqp-wf35

> HISTORIQUE DES MODIFICATIONS

Première apparition
01/08/2022 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:34
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME