CVE-2022-23943
mod_sed: Read/write beyond bounds
Check your servers for CVE-2022-23943
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-23943 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Out-of-bounds Write vulnerability in mod_sed of Apache HTTP Server allows an attacker to overwrite heap memory with possibly attacker provided data. This issue affects Apache HTTP Server 2.4 version 2.4.52 and prior versions.
Exploitation
EPSS 10.2%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.4% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Apache HTTP Server |
affected from 2.4 up to and including 2.4.52
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2022-23943 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2022-23943RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2022-23943Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-23943
trivy image --scanners vuln IMAGE | grep CVE-2022-23943
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the agent.
References
Advisories
- FEDORA-2022-b4103753e9 lists.fedoraproject.org · vendor advisory
- FEDORA-2022-21264ec6db lists.fedoraproject.org · vendor advisory
- FEDORA-2022-78e3211c55 lists.fedoraproject.org · vendor advisory
- https://www.tenable.com/security/tns-2022-08 tenable.com
- https://security.netapp.com/advisory/ntap-20220321-0001/ security.netapp.com
- https://www.tenable.com/security/tns-2022-09 tenable.com
- GLSA-202208-20 security.gentoo.org · vendor advisory
Other references
- https://httpd.apache.org/security/vulnerabilities_24.html httpd.apache.org
- [oss-security] 20220314 CVE-2022-23943: Apache HTTP Server: mod_sed: Read/write beyond bounds openwall.com · mailing list
- [debian-lts-announce] 20220322 [SECURITY] [DLA 2960-1] apache2 security update lists.debian.org · mailing list
- https://www.oracle.com/security-alerts/cpuapr2022.html oracle.com
Source: the record CVE-2022-23943 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse