CVE-2022-41742: NGINX ngx_http_mp4_module vulnerability CVE-2022-41742
NGINX Open Source before versions 1.23.2 and 1.22.1, NGINX Open Source Subscription before versions R2 P1 and R1 P1, and NGINX Plus before versions R27 P1 and R26 P1 have a vulnerability in the module ngxhttpmp4module that might allow a local attacker to cause a worker process crash, or might result in worker process memory disclosure by using a specially crafted audio or video file. The issue affects only NGINX products that are built with the module ngxhttpmp4module, when the mp4 directive is used in the configuration file. Further, the attack is possible only if an attacker can trigger processing of a specially crafted audio or video file with the module ngxhttpmp4module.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/nginxto a version that resolves this vulnerability.Fixed in 1.14.2-2+deb10u5Fixed in 1.18.0-6.1+deb11u3Fixed in 1.22.1-9Fixed in 1.24.0-2 - Upgrade
Upgrade
nginxto a version that resolves this vulnerability.Fixed in 1.23.2 - Upgrade
Upgrade
nginxto a version that resolves this vulnerability.Fixed in 1.22.1 - Upgrade
Upgrade
nginxto a version that resolves this vulnerability.Fixed in R2 P1 - Upgrade
Upgrade
nginxto a version that resolves this vulnerability.Fixed in R1 P1 - Upgrade
Upgrade
nginxto a version that resolves this vulnerability.Fixed in R27 P1 - Upgrade
Upgrade
nginxto a version that resolves this vulnerability.Fixed in R26 P1 - Configuration
Ensure the NGINX configuration does not use the 'mp4' directive unless required; the vulnerability is described as affecting only NGINX products built with the 'ngx_http_mp4_module' when the mp4 directive is used.
nginx ngx_http_mp4_module mp4 directive (configuration usage) = not used
Event History
Frequently Asked Questions
What is the vulnerability ID of this NGINX vulnerability?
The vulnerability ID is CVE-2022-41742.
What is the severity of CVE-2022-41742?
The severity of CVE-2022-41742 is high (CVSS score of 7.1).
Which versions of NGINX Open Source are affected by CVE-2022-41742?
NGINX Open Source versions 1.23.0, 1.23.1, 1.23.2, and 1.22.1 are affected by CVE-2022-41742.
Which versions of NGINX Open Source Subscription are affected by CVE-2022-41742?
NGINX Open Source Subscription versions R2 P1 and R1 P1 are affected by CVE-2022-41742.
Which versions of NGINX Plus are affected by CVE-2022-41742?
NGINX Plus versions R27 P1 and R26 P1 are affected by CVE-2022-41742.
What is the vulnerability in the module ngx_http_mp4_module?
The vulnerability in the module ngx_http_mp4_module might allow a local attacker to cause a worker process crash or resource exhaustion.
What is the CVE identifier of this vulnerability?
The CVE identifier of this vulnerability is CVE-2022-41742.
How can this vulnerability be fixed?
To fix this vulnerability, upgrade to NGINX Open Source version 1.23.2 or 1.22.1, NGINX Open Source Subscription version R2 P1 or R1 P1, or NGINX Plus version R27 P1 or R26 P1.