cve.bz

CVE-2021-31618 NULL Pointer Dereference

7.5 highEPSS 52%Fix available

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

On this page
Apache HTTP Server protocol handler for the HTTP/2 protocol checks received request headers against the size limitations as configured for the server and used for the HTTP/1 protocol as well. On violation of these restrictions and HTTP response is sent to the client with a status code indicating why the request was rejected. This rejection response was not fully initialised in the HTTP/2 protocol handler if the offending header was the very first one received or appeared in a a footer. This led to a NULL pointer dereference on initialised memory, crashing reliably the child process. Since such a triggering HTTP/2 request is easy to craft and submit, this can be exploited to DoS the server. This issue affected mod_http2 1.15.17 and Apache HTTP Server version 2.4.47 only. Apache HTTP Server 2.4.47 was never released.

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
52% (unchanged from 52% a week ago; 51% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-05-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-2021-31618 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31618?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31618?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-2021-31618 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
apache:http_server1.15.17
apache:http_server2.4.47
fedoraproject:fedora33
fedoraproject:fedora34
debian:debian_linux9.0
debian:debian_linux10.0
oracle:enterprise_manager_ops_center12.4.0.0
oracle:instantis_enterprisetrack17.1
oracle:instantis_enterprisetrack17.2
oracle:instantis_enterprisetrack17.3
oracle:zfs_storage_appliance_kit8.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9apache22.4.25-3+deb9u10DLA-2706-1
Debian10apache22.4.38-3+deb10u5DSA-4937-1
Debian12, 13, 14apache22.4.46-5DEBIAN-CVE-2021-31618
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 moreapache22.4.33-3.50.1SUSE-SU-2021:2004-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moreapache22.4.23-29.74.1SUSE-SU-2021:2006-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Package Hub 15 SP3 and 2 moreapache22.4.43-3.22.1SUSE-SU-2021:2127-1
openSUSELeap 15.2apache22.4.43-lp152.2.15.1openSUSE-SU-2021:0908-1
openSUSELeap 15.3apache22.4.43-3.22.1openSUSE-SU-2021:2127-1
Alpinev3.10, v3.11, v3.12 and 12 moreapache22.4.48-r0ALPINE-CVE-2021-31618
Azure Linux3mod_http22.0.29-3AZL-44166

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue was introduced in httpd via the following commit: https://github.com/icing/mod_h2/commit/1207f69bff3804c7920a57af7649d1eef8b645de#diff-4493820f9733c68fc77b402fc7c57ae05e272e5d3d76deb32b1608c116078313

Versions of httpd package shipped with Red Hat Products do not include this vulnerable code and therefore are not affected by this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6httpdNot affected
Red Hat Enterprise Linux 7httpdNot affected
Red Hat Enterprise Linux 8httpd:2.4/httpdNot affected
Red Hat Enterprise Linux 9httpdNot affected
Red Hat JBoss Core ServiceshttpdNot affected
Red Hat JBoss Enterprise Application Platform 6httpd22Not affected
Red Hat JBoss Enterprise Web Server 2httpd22Not affected
Red Hat Software Collectionshttpd24-httpdNot affected

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-2021-31618.

References

Check your stackJSON