Vulnerability · Published Apr 3, 2023 · Assigned by GitHub_M

CVE-2023-28625mod_auth_openidc core dump when OIDCStripCookies is set and an empty Cookie header is supplied

High 7.5

In plain English

A high-severity null pointer dereference in mod_auth_openidc from OpenIDC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.3%top 29.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

mod_auth_openidc is an authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. In versions 2.0.0 through 2.4.13.1, when `OIDCStripCookies` is set and a crafted cookie supplied, a NULL pointer dereference would occur, resulting in a segmentation fault. This could be used in a Denial-of-Service attack and thus presents an availability risk. Version 2.4.13.2 contains a patch for this issue. As a workaround, avoid using `OIDCStripCookies`.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8cjose0.6.1-4.module_el8.9.0+3631+0ced13d7ALSA-2023:6940
AlmaLinux:8cjose-devel0.6.1-4.module_el8.9.0+3631+0ced13d7ALSA-2023:6940
AlmaLinux:8mod_auth_openidc2.4.9.4-5.module_el8.9.0+3631+0ced13d7ALSA-2023:6940
AlmaLinux:9mod_auth_openidc2.4.9.4-4.el9ALSA-2023:6365
Debian:12libapache2-mod-auth-openidc2.4.12.3-2DEBIAN-CVE-2023-28625
Debian:13libapache2-mod-auth-openidc2.4.12.3-2DEBIAN-CVE-2023-28625
Debian:14libapache2-mod-auth-openidc2.4.12.3-2DEBIAN-CVE-2023-28625
Rocky Linux:8cjose0:0.6.1-4.module+el8.9.0+1384+4b58c166RLSA-2023:6940
Rocky Linux:8mod_auth_openidc0:2.4.9.4-5.module+el8.9.0+1384+4b58c166RLSA-2023:6940
Ubuntu:22.04:LTSlibapache2-mod-auth-openidcno fix listedUBUNTU-CVE-2023-28625

Affected products (as reported)

VendorProductVersions
OpenIDC mod_auth_openidc >= 2.0.0, < 2.4.13.2

Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References