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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | cjose | 0.6.1-4.module_el8.9.0+3631+0ced13d7 | ALSA-2023:6940 |
| AlmaLinux:8 | cjose-devel | 0.6.1-4.module_el8.9.0+3631+0ced13d7 | ALSA-2023:6940 |
| AlmaLinux:8 | mod_auth_openidc | 2.4.9.4-5.module_el8.9.0+3631+0ced13d7 | ALSA-2023:6940 |
| AlmaLinux:9 | mod_auth_openidc | 2.4.9.4-4.el9 | ALSA-2023:6365 |
| Debian:12 | libapache2-mod-auth-openidc | 2.4.12.3-2 | DEBIAN-CVE-2023-28625 |
| Debian:13 | libapache2-mod-auth-openidc | 2.4.12.3-2 | DEBIAN-CVE-2023-28625 |
| Debian:14 | libapache2-mod-auth-openidc | 2.4.12.3-2 | DEBIAN-CVE-2023-28625 |
| Rocky Linux:8 | cjose | 0:0.6.1-4.module+el8.9.0+1384+4b58c166 | RLSA-2023:6940 |
| Rocky Linux:8 | mod_auth_openidc | 0:2.4.9.4-5.module+el8.9.0+1384+4b58c166 | RLSA-2023:6940 |
| Ubuntu:22.04:LTS | libapache2-mod-auth-openidc | no fix listed | UBUNTU-CVE-2023-28625 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/OpenIDC/mod_auth_openidc/security/advisories/GHSA-f5xw-rvfr-24qr x_refsource_CONFIRM
- https://github.com/OpenIDC/mod_auth_openidc/commit/c0e1edac3c4c19988ccdc7713d7aebfce6ff916a x_refsource_MISC
- https://github.com/OpenIDC/mod_auth_openidc/blame/3f11976dab56af0a46a7dddb7a275cc16d6eb726/src/mod_auth_openidc.c#L178-L179 x_refsource_MISC
- https://github.com/OpenIDC/mod_auth_openidc/releases/tag/v2.4.13.2 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2023/04/msg00034.html
- https://www.debian.org/security/2023/dsa-5405
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WIBKFC22PDH6UXMSZ23PHTD7736ZC7BB/