REDHAT-BUG-2141495: Medium severity Nginx Open Source vulnerability
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.
https://nginx.org/en/securityadvisories.html
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
nginx/nginxto a version that resolves this vulnerability.Fixed in 1.23.2 - Upgrade
Upgrade
nginx/nginxto a version that resolves this vulnerability.Fixed in 1.22.1 - Upgrade
Upgrade
nginx/nginx-open-source-subscriptionto a version that resolves this vulnerability.Patch R2 P1 - Upgrade
Upgrade
nginx/nginx-open-source-subscriptionto a version that resolves this vulnerability.Patch R1 P1 - Upgrade
Upgrade
nginx/nginx-plusto a version that resolves this vulnerability.Patch R27 P1 - Upgrade
Upgrade
nginx/nginx-plusto a version that resolves this vulnerability.Patch R26 P1 - Configuration
Ensure the NGINX configuration does not use the mp4 directive (avoid enabling ngx_http_mp4_module usage in configurations where possible), since the vulnerability is triggered only when processing a specially crafted audio/video file through this module.
nginx ngx_http_mp4_module mp4 directive = not used
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2141495?
The severity of REDHAT-BUG-2141495 is high due to its potential impact on NGINX worker memory corruption.
How do I fix REDHAT-BUG-2141495?
To fix REDHAT-BUG-2141495, upgrade to NGINX Open Source version 1.23.2 or 1.22.1, or to the respective updates of NGINX Plus.
Which versions of NGINX are affected by REDHAT-BUG-2141495?
REDHAT-BUG-2141495 affects NGINX Open Source versions prior to 1.23.2 and 1.22.1, as well as certain versions of NGINX Plus and Subscription.
Can a local attacker exploit REDHAT-BUG-2141495?
Yes, a local attacker may exploit REDHAT-BUG-2141495 to corrupt NGINX worker memory.
What components of NGINX are impacted by REDHAT-BUG-2141495?
REDHAT-BUG-2141495 specifically impacts the ngx_http_mp4_module within NGINX.