- Accueil
- Vulnérabilités
- CVE-2022-31100
CVE-2022-31100
rulex is a new, portable, regular expression language. When parsing untrusted rulex expressions, rulex may…
Résumé
rulex is a new, portable, regular expression language. When parsing untrusted rulex expressions, rulex may crash, possibly enabling a Denial of Service attack. This happens when the expression contains a multi-byte UTF-8 code point in a string literal or after a backslash, because rulex tries to slice into the code point and panics as a result. This is a security concern for you, if your service parses untrusted rulex expressions (expressions provided by an untrusted user), and your service becomes unavailable when the thread running rulex panics. The crashes are fixed in version **0.4.3**. Affected users are advised to update to this version. The only known workaround for this issue is to assume that regular expression parsing will panic and to add logic to catch panics.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
crates.io (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| rulex | de 0.0.0-0 (inclus) à 0.4.3 (exclu) |
0.4.3 |
OSV |
Pomsky-lang (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Pomsky | avant 0.4.3 (exclu) |
— | NVD |
Correctif
Mise à jour — crates.io/rulex 0.4.3source officielle
Source : OSV
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- RUSTSEC-2022-0031 — Panic due to improper UTF-8 indexing 21 mai 2022
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- NVD
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-617 · Autre (CWE-617)