> CVE-2026-47242 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-06-22 21:16
MODIFIED
2026-06-22 21:16
CVSS_SCORE V3
5.8
EPSS (Prob. Exploit)
0.18%
Top 92.5%
DATA SOURCES:
NVD đź”— 2026-06-22 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-11-05 MSRC đź”— 2026-11-02

> DESCRIPTION

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. This vulnerability is fixed in 0.6.5 and 0.5.15.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
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
Unknown (P)
Interaction inconnue
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-77 CWE-93

> CWE DETAILED DESCRIPTIONS

CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. | CWE-93: Improper Neutralization of CRLF Sequences - The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.

> GITHUB SECURITY ADVISORY

GHSA-46q3-7gv7-qmgg MODERATE

Net::IMAP: Command Injection via ID command argument

AFFECTED PACKAGES:
RUBYGEMS / net-imap
<= 0.5.14
Fixed in: 0.5.15
RUBYGEMS / net-imap
>= 0.6.0, <= 0.6.4
Fixed in: 0.6.4.1

> HISTORIQUE DES MODIFICATIONS

Première apparition
22/06/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not ne...
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/ruby/net-imap/security/advisories/GHSA-46q3-7gv7-qmgg
« BACK_TO_HOME