cve.bz

CVE-2022-34037 caddyserver caddy: Out-of-bounds Read

7.5 highExploit referenceEPSS 1.2%Fix available

High (7.5) in caddyserver caddy. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
An out-of-bounds read in the rewrite function at /modules/caddyhttp/rewrite/rewrite.go in Caddy v2.5.1 allows attackers to cause a Denial of Service (DoS) via a crafted URI. Note: This has been disputed as a bug, not a security vulnerability, in the Caddy web server that emerged when an administrator's bad configuration containing a malformed request URI caused the server to return an empty reply instead of a valid HTTP response to the client.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-34037 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-34037?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-34037?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-34037 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
caddyserver:caddy2.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSEPackage Hub 15 SP4caddy2.5.2-bp154.2.8.1openSUSE-SU-2022:10080-1
openSUSELeap 15.4caddy2.5.2-bp154.2.8.1openSUSE-SU-2022:10080-1
openSUSETumbleweedcaddy2.5.2-2.1openSUSE-SU-2024:12220-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Red Hat

Red Hat's statement

Red Hat Product Security does not consider this to be a vulnerability.

ProductPackageStateAdvisory
Migration Toolkit for Containersrhmtc/openshift-migration-controller-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-plugin-for-aws-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-plugin-for-gcp-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-plugin-for-microsoft-azure-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-restic-restore-helper-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-velero-plugin-rhel8Not affected
OpenShift API for Data Protectionoadp/oadp-kubevirt-velero-plugin-rhel9Not affected
OpenShift API for Data Protectionoadp/oadp-rhel8-operatorNot affected
OpenShift API for Data Protectionoadp/oadp-velero-plugin-for-aws-rhel8Not affected
OpenShift API for Data Protectionoadp/oadp-velero-plugin-for-csi-rhel8Not affected
OpenShift API for Data Protectionoadp/oadp-velero-plugin-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/cluster-backup-rhel9-operatorNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/lighthouse-agent-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/managedcluster-import-controller-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/management-ingress-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/rcm-controller-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/search-aggregator-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/subctl-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-rhel8-operatorNot affected
Red Hat OpenShift Container Platform 4openshift4/cnf-tests-rhel8Not affected
48 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-34037.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON