CVE-2022-41741: NGINX ngx_http_mp4_module vulnerability CVE-2022-41741
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 corrupt NGINX worker memory, resulting in its termination or potential other impact using a specially crafted audio or video file. The issue affects only NGINX products that are built with the 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
nginx/ngx_http_mp4_moduleto a version that resolves this vulnerability.Fixed in 1.23.2 - Upgrade
Upgrade
nginx/ngx_http_mp4_moduleto a version that resolves this vulnerability.Fixed in 1.22.1 - Upgrade
Upgrade
NGINX Open Source Subscriptionto a version that resolves this vulnerability.Patch R2 P1 - Upgrade
Upgrade
NGINX Open Source Subscriptionto a version that resolves this vulnerability.Patch R1 P1 - Upgrade
Upgrade
NGINX Plusto a version that resolves this vulnerability.Patch R27 P1 - Upgrade
Upgrade
NGINX Plusto a version that resolves this vulnerability.Patch R26 P1 - Configuration
The vulnerability is present only for NGINX builds that include ngx_http_mp4_module and where the mp4 directive is used. If mp4 is not required, remove/disable the mp4 directive usage so specially crafted audio/video files cannot trigger processing by this module.
NGINX ngx_http_mp4_module mp4 directive in configuration file = disable/remove mp4 usage - Compensating control
Ensure applications do not allow untrusted users to upload or otherwise provide crafted audio/video files that could be processed by ngx_http_mp4_module (attack requires triggering processing of a specially crafted file).
Event History
Frequently Asked Questions
What is CVE-2022-41741?
CVE-2022-41741 is a vulnerability in 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 that allows a local attacker to corrupt NGINX worker memory.
What is the severity of CVE-2022-41741?
The severity of CVE-2022-41741 is high with a CVSS score of 7.8.
How can a local attacker exploit CVE-2022-41741?
A local attacker can exploit CVE-2022-41741 to corrupt NGINX worker memory.
Which versions of NGINX Open Source and NGINX Plus are affected by CVE-2022-41741?
NGINX Open Source versions before 1.23.2 and 1.22.1, NGINX Open Source Subscription versions before R2 P1 and R1 P1, and NGINX Plus versions before R27 P1 and R26 P1 are affected by CVE-2022-41741.
How can I fix CVE-2022-41741?
To fix CVE-2022-41741, upgrade NGINX Open Source to version 1.23.2 or 1.22.1, NGINX Open Source Subscription to version R2 P1 or R1 P1, or NGINX Plus to version R27 P1 or R26 P1.