{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-31492 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-31492 is a high-severity vulnerability in mod_auth_openidc, published on 6 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-31492 and fix it if it is affected.\n\nWhat it is: CVE-2025-31492 is a high-severity vulnerability in mod_auth_openidc, published on 6 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-31492 in the wild and no public exploit code.\n\nAffected product: mod_auth_openidc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-31492/ (Markdown: https://insights.sbomify.com/CVE-2025-31492/index.md)","id":"CVE-2025-31492","markdown":"https://insights.sbomify.com/CVE-2025-31492/index.md","name":"CVE-2025-31492","record":{"aliases":["ALSA-2025:3997","ALSA-2025:7419","ALSA-2025:7490","AZL-59592","AZL-61786","CLSA-2025-1746188656","DEBIAN-CVE-2025-31492","DLA-4129-1","DSA-5904-1","GHSA-59jp-rwph-878r","MGASA-2025-0147","OESA-2025-1442","OESA-2025-1443","OESA-2025-1444","OESA-2025-1445","RHSA-2025:3945","RHSA-2025:3997","RHSA-2025:4128","RHSA-2025:4192","RHSA-2025:4224","RHSA-2025:4225","RHSA-2025:4227","RHSA-2025:4228","RHSA-2025:7419","RHSA-2025:7490","RLSA-2025:3997","RLSA-2025:7419","RLSA-2025:7490","SUSE-SU-2025:1286-1","SUSE-SU-2025:1324-1","SUSE-SU-2025:1337-1","SUSE-SU-2025:1465-1","UBUNTU-CVE-2025-31492","USN-7446-1","openSUSE-SU-2025:14972-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache authentication module","requires_auth":"none","summary":"An attacker can access protected resources without authentication if the server uses POST for OIDC provider auth and lacks a gateway, leaking sensitive data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"mod_auth_openidc is an OpenID Certified authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. Prior to 2.4.16.11, a bug in a mod_auth_openidc results in disclosure of protected content to unauthenticated users. The conditions for disclosure are an OIDCProviderAuthRequestMethod POST, a valid account, and there mustn't be any application-level gateway (or load balancer etc) protecting the server. When you request a protected resource, the response includes the HTTP status, the HTTP headers, the intended response (the self-submitting form), and the protected resource (with no headers). This is an example of a request for a protected resource, including all the data returned. In the case where mod_auth_openidc returns a form, it has to return OK from check_userid so as not to go down the error path in httpd. This means httpd will try to issue the protected resource. oidc_content_handler is called early, which has the opportunity to prevent the normal output being issued by httpd. oidc_content_handler has a number of checks for when it intervenes, but it doesn't check for this case, so the handler returns DECLINED. Consequently, httpd appends the protected content to the response. The issue has been patched in mod_auth_openidc versions \u003e= 2.4.16.11.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.4::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_tus:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Server Applications 15 SP6","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"mod_auth_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data","id":"CVE-2025-31492","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":110,"n_references":2,"next":{"headline":"Path traversal of collection names during file system lookup","id":"CVE-2025-31493"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["2.4.15-4.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/almalinux/mod_auth_openidc","source":"ALSA-2025:7490"},{"ecosystem":"AlmaLinux:8","fixed":["0.6.1-4.module_el8.10.0+3881+234adf82"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/almalinux/cjose","source":"ALSA-2025:3997"},{"ecosystem":"AlmaLinux:8","fixed":["0.6.1-4.module_el8.9.0+3631+0ced13d7"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/almalinux/cjose","source":"ALSA-2025:3997"},{"ecosystem":"AlmaLinux:8","fixed":["0.6.1-4.module_el8.10.0+3881+234adf82"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/almalinux/cjose-devel","source":"ALSA-2025:3997"},{"ecosystem":"AlmaLinux:8","fixed":["0.6.1-4.module_el8.9.0+3631+0ced13d7"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/almalinux/cjose-devel","source":"ALSA-2025:3997"},{"ecosystem":"AlmaLinux:8","fixed":["2.4.9.4-7.module_el8.10.0+3978+e883c40d"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/almalinux/mod_auth_openidc","source":"ALSA-2025:3997"},{"ecosystem":"AlmaLinux:9","fixed":["2.4.10-1.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/almalinux/mod_auth_openidc","source":"ALSA-2025:7419"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:2.4.15-4.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2025:7490"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:2.4.15-4.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2025:7490"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:2.4.15-4.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2025:7490"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.6.1-4.module+el8.10.0+21813+b5444eb8"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2025:3997"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.6.1-4.module+el8.10.0+21813+b5444eb8"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2025:3997"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.6.1-4.module+el8.10.0+21813+b5444eb8"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2025:3997"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.6.1-4.module+el8.10.0+21813+b5444eb8"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2025:3997"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.9.4-7.module+el8.10.0+23023+ba6d7066"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2025:3997"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.9.4-7.module+el8.10.0+23023+ba6d7066"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2025:3997"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.4.9.4-7.module+el8.10.0+23023+ba6d7066"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2025:3997"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.4.10-1.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2025:7419"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.4.10-1.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2025:7419"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2.4.10-1.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2025:7419"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2025:4228"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2025:4228"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2025:4228"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.6.1-3.module+el8.2.0+19461+3a40b6ee"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2025:4228"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.4.9.4-1.module+el8.2.0+23039+41dcbbc6"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2025:4228"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.4.9.4-1.module+el8.2.0+23039+41dcbbc6"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2025:4228"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:2.4.9.4-1.module+el8.2.0+23039+41dcbbc6"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2025:4228"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+19462+14bde120"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2025:4227"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+19462+14bde120"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2025:4227"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+19462+14bde120"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2025:4227"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.6.1-3.module+el8.4.0+19462+14bde120"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2025:4227"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.4.9.4-1.module+el8.4.0+23043+b69acfab.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2025:4227"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.4.9.4-1.module+el8.4.0+23043+b69acfab.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2025:4227"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.4.9.4-1.module+el8.4.0+23043+b69acfab.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debugsource","purl":"pkg:rpm/redhat/mod_auth_openidc-debugsource","source":"RHSA-2025:4227"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c"],"introduced":["0"],"last_affected":[],"package":"cjose","purl":"pkg:rpm/redhat/cjose","source":"RHSA-2025:4192"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c"],"introduced":["0"],"last_affected":[],"package":"cjose-debuginfo","purl":"pkg:rpm/redhat/cjose-debuginfo","source":"RHSA-2025:4192"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c"],"introduced":["0"],"last_affected":[],"package":"cjose-debugsource","purl":"pkg:rpm/redhat/cjose-debugsource","source":"RHSA-2025:4192"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c"],"introduced":["0"],"last_affected":[],"package":"cjose-devel","purl":"pkg:rpm/redhat/cjose-devel","source":"RHSA-2025:4192"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.4.9.4-1.module+el8.6.0+23040+515b7c43.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc","purl":"pkg:rpm/redhat/mod_auth_openidc","source":"RHSA-2025:4192"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.4.9.4-1.module+el8.6.0+23040+515b7c43.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_openidc-debuginfo","purl":"pkg:rpm/redhat/mod_auth_openidc-debuginfo","source":"RHSA-2025:4192"}],"prev":{"headline":"AutoGPT allows leakage of cross-domain cookies and protected headers in requests redirect","id":"CVE-2025-31491"},"products":["mod_auth_openidc"],"published":"2025-04-06","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-17","vendors":["OpenIDC"]},"summary":"An attacker can access protected resources without authentication if the server uses POST for OIDC provider auth and lacks a gateway, leaking sensitive data.","url":"https://insights.sbomify.com/CVE-2025-31492/"}