Repository navigation
fix(mod_md): backport fix for CVE-2026-106023 - #20166
Open
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
Open
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
Conversation
Backport httpd commit 1b47e95c61fb from 2.4.71, which makes mod_md decline requests without a host name instead of dereferencing NULL. The standalone mod_md project is archived and Fedora has not patched 2.6.11 yet, so carry it as a patch overlay. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Kanishk Bansal (Kanishk-Bansal)
requested a review
from a team
as a code owner
November 12, 2026 04:36
This was referenced Nov 12, 2026
Author
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The overlay incorrectly uses upstreamed despite Fedora not yet carrying the fix; it should use upstreamable to record the correct backport-retirement condition.
1 open issue
What changed in this PR
Backports the CVE-2026-106023 fix to standalone mod_md 2.6.11, preventing crashes on requests without a Host header. This complements the httpd upgrade, which does not ship the module.
Changes:
- Adds NULL hostname checks to domain lookup and the ACME challenge and certificate status handlers.
- Moves
mod_mdinto a dedicated component definition with a backport overlay, preserving the upstream pin. - Refreshes the lock and rendered files, increasing the package release from 3 to 4.
| File | Description |
|---|---|
specs/m/mod_md/mod_md.spec |
Registers the patch and updates the release and changelog. |
specs/m/mod_md/mod_md-2.6.11-CVE-2026-106023.patch |
Includes the rendered security patch for packaging. |
locks/mod_md.lock |
Refreshes the component input fingerprint. |
base/comps/mod_md/overlays/0001-CVE-2026-106023.overlay.toml |
Applies the backport and records its provenance. |
base/comps/mod_md/mod_md.comp.toml |
Defines the component separately to support its overlay. |
base/comps/mod_md/mod_md-2.6.11-CVE-2026-106023.patch |
Adds the three NULL checks using standalone source paths. |
base/comps/components.toml |
Removes the former inline component entry. |
Review effort: Balanced
| @@ -0,0 +1,11 @@ | |||
| [metadata] | |||
| category = "upstream-backport" | |||
| upstream-status = "upstreamed" | |||
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Backport the fix for CVE-2026-106023 to
mod_md2.6.11 as a patch overlay. The release goes from2.6.11-3to2.6.11-4.CVE-2026-106023 (important) is a NULL pointer dereference: a request without a Host header (HTTP/1.0) to the ACME challenge or certificate status handlers crashes the child process. It was fixed in httpd 2.4.71 by 1b47e95c.
There is no other way to get the fix:
--disable-md, so the httpd 2.4.71 upgrade (fix(httpd): upgrade to 2.4.71 to address CVE-2026-109163 #20164) does not cover it.The patch is the upstream change with paths moved from
modules/md/tosrc/. It adds NULL host checks inmd_get_by_domain(),md_http_challenge_pr()andmd_http_cert_status().The CVE is not in Astrolabe yet, so there is nothing to claim.
Related: httpd 2.4.71 in #20164, mod_http2 in #20165.
Changes
base/comps/components.toml: drop the inlinemod_mdentrybase/comps/mod_md/mod_md.comp.toml: new, no pin change (still f43a463975c0f89)base/comps/mod_md/overlays/0001-CVE-2026-106023.overlay.toml+ patchlocks/mod_md.lock,specs/m/mod_md/: refreshed and re-renderedTesting
--fuzz=0after Fedora's CVE-2026-29168 patch;rpmautospecon the synthetic dist-git gives release 4MDomainconfigured: HTTP/1.0 requests with no Host to/.well-known/acme-challenge/xand/.httpd/certificate-statusreturn 404 and 403, normal requests still work, no crashes inerror_logazldev comp update --check-only -p mod_mdis clean