1. Accueil
  2. Vulnérabilités
  3. CVE-2022-0866

CVE-2022-0866

This is a concurrency issue that can result in the wrong caller principal being returned from the session…

Publiée le 10 mai 2022 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Faible 38/100

Résumé

This is a concurrency issue that can result in the wrong caller principal being returned from the session context of an EJB that is configured with a RunAs principal. In particular, the org.jboss.as.ejb3.component.EJBComponent class has an incomingRunAsIdentity field. This field is used by the org.jboss.as.ejb3.security.RunAsPrincipalInterceptor to keep track of the current identity prior to switching to a new identity created using the RunAs principal. The exploit consist that the EJBComponent#incomingRunAsIdentity field is currently just a SecurityIdentity. This means in a concurrent environment, where multiple users are repeatedly invoking an EJB that is configured with a RunAs principal, it's possible for the wrong the caller principal to be returned from EJBComponent#getCallerPrincipal. Similarly, it's also possible for EJBComponent#isCallerInRole to return the wrong value. Both of these methods rely on incomingRunAsIdentity. Affects all versions of JBoss EAP from 7.1.0 and all versions of WildFly 11+ when Elytron is enabled.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Redhat (4 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Jboss enterprise application platform à partir de 7.1.0 (inclus) — NVD
Openstack platform 13.0 — NVD
Wildfly de 11.0.0 (inclus) à 26.1.1 (exclu) — NVD
Wildfly 27.0.0 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-863 · Authentification / contrôle d'accès

Comment sont obtenues et calculées ces données