p PatchFirst

CVE-2021-32785

CVE-2021-32785 · Format string bug in the Redis cache implementation

CVSS 5.3 · Moyenne · EPSS 2,7% · Correctif disponible

Comparez avec votre version installée

Les produits concernés et les versions corrigées connues sont des informations publiques. Comparez-les avec votre version installée.

Vérifiez la version installée :

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libapache2-mod-auth-openidc"'

Évaluez les risques de votre serveur

La vérification gratuite donne une note et un résumé des risques par pile technologique, sans inscription. Elle ne précise pas si cette vulnérabilité particulière vous concerne.

La surveillance compare les informations publiques aux logiciels de vos serveurs. Elle fournit les résultats détaillés et l’ordre des mises à jour.

curl -fsSL https://patchfirst.dev/check.sh | sh
Vérifier mon serveur gratuitement →

Les canaux diffusent des actualités générales sur les technologies ; la surveillance signale les nouveaux résultats sur vos serveurs dans votre tableau de bord, par notification du navigateur, dans Telegram ou par webhook.

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. When mod_auth_openidc versions prior to 2.4.9 are configured to use an unencrypted Redis cache (`OIDCCacheEncrypt off`, `OIDCSessionType server-cache`, `OIDCCacheType redis`), `mod_auth_openidc` wrongly performed argument interpolation before passing Redis requests to `hiredis`, which would perform it again and lead to an uncontrolled format string bug. Initial assessment shows that this bug does not appear to allow gaining arbitrary code execution, but can reliably provoke a denial of service by repeatedly crashing the Apache workers. This bug has been corrected in version 2.4.9 by performing argument interpolation only once, using the `hiredis` API. As a workaround, this vulnerability can be mitigated by setting `OIDCCacheEncrypt` to `on`, as cache keys are cryptographically hashed before use when this option is enabled.

Publication
Mise à jour

Correctifs dans les distributions

  • SUSE-SU-2025:4532-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Server Applications 15 SP6, SUSE Linux Enterprise Module for Server Applications 15 SP7 ·
  • openSUSE-SU-2024:10624-1 · openSUSE Tumbleweed ·
  • DLA-3409-1 · Debian 10 ·
  • SUSE-SU-2021:3352-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5 ·
  • openSUSE-SU-2021:1277-1 · openSUSE Leap 15.2 ·
  • openSUSE-SU-2021:3020-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2021:3020-1 · SUSE Linux Enterprise Module for Server Applications 15 SP2, SUSE Linux Enterprise Module for Server Applications 15 SP3 ·

Pile logicielle: system

Produits et versions concernés

  • mod_auth_openidc

    Versions du logiciel
    • < 2.4.9: Concernée

    Aucun correctif publié

  • libapache2-mod-auth-openidc Debian 12

    Plages de versions concernées
    • ECOSYSTEM: < 2.4.9-1

    Mettez à jour vers 2.4.9-1

  • libapache2-mod-auth-openidc Debian 13

    Plages de versions concernées
    • ECOSYSTEM: < 2.4.9-1

    Mettez à jour vers 2.4.9-1

  • libapache2-mod-auth-openidc Debian 14

    Plages de versions concernées
    • ECOSYSTEM: < 2.4.9-1

    Mettez à jour vers 2.4.9-1

  • libapache2-mod-auth-openidc Ubuntu 18.04 LTS

    Versions du logiciel
    • 2.1.6-1
    • 2.3.1-2
    • 2.3.2-1
    • 2.3.2-1build1
    • 2.3.3-1build1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • libapache2-mod-auth-openidc Ubuntu 20.04 LTS

    Versions du logiciel
    • 2.3.10.2-1
    • 2.4.0.4-1
    • 2.4.1-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →