Skip to content
Heist/ feed
Back to feed
MediumFix available

libapache2-mod-auth-openidc — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-32791

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. In mod_auth_openidc before version 2.4.9, the AES GCM encryption in mod_auth_openidc uses a static IV and AAD. It is important to fix because this creates a static nonce and since aes-gcm is a stream cipher, this can lead to known cryptographic issues, since the same key is being reused. From 2.4.9 onwards this has been patched to use dynamic values through usage of cjose AES encryption routines.

Products
libapache2-mod-auth-openidc
Affected versions
Not specified
Fixed versions
2.4.9-1
CVEs
CVE-2021-32791
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:22 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-32791

core-osv · Original source

Published 26 Jul 2021, 17:15 UTC

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. In mod_auth_openidc before version 2.4.9, the AES GCM encryption in mod_auth_openidc uses a static IV and AAD. It is important to fix because this creates a static nonce and since aes-gcm is a stream cipher, this can lead to known cryptographic issues, since the same key is being reused. From 2.4.9 onwards this has been patched to use dynamic values through usage of cjose AES encryption routines.

osv:DEBIAN-CVE-2021-32791

libapache2-mod-auth-openidc

Fixed versions: 2.4.9-1

libapache2-mod-auth-openidc

Fixed versions: 2.4.9-1

libapache2-mod-auth-openidc

Fixed versions: 2.4.9-1

Complete source record
{
  "id": "a86715f4a67c6caebaaa7011cbecd1ba038f62cc6c85c0d6110915562698f22c",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-32791",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-32791",
    "summary": "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. In mod_auth_openidc before version 2.4.9, the AES GCM encryption in mod_auth_openidc uses a static IV and AAD. It is important to fix because this creates a static nonce and since aes-gcm is a stream cipher, this can lead to known cryptographic issues, since the same key is being reused. From 2.4.9 onwards this has been patched to use dynamic values through usage of cjose AES encryption routines.",
    "evidence": "osv:DEBIAN-CVE-2021-32791",
    "products": [
      {
        "name": {
          "value": "libapache2-mod-auth-openidc",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.9-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libapache2-mod-auth-openidc",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.9-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libapache2-mod-auth-openidc",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.9-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-32791",
      "aliases": [
        "DEBIAN-CVE-2021-32791"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.9-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libapache2-mod-auth-openidc",
            "purl": "pkg:deb/debian/libapache2-mod-auth-openidc?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32791.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.9-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libapache2-mod-auth-openidc",
            "purl": "pkg:deb/debian/libapache2-mod-auth-openidc?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32791.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.9-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libapache2-mod-auth-openidc",
            "purl": "pkg:deb/debian/libapache2-mod-auth-openidc?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32791.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:14.346179343Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-32791"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-32791"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-32791",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420914,
  "published_at": "2021-07-26T17:15:08.1+00:00"
}