CVE-2024-7347 NGINX MP4 module vulnerability

Medium 5.7 Published Updated

An attacker can cause a denial of service by sending a crafted MP4 file to an NGINX server configured with the MP4 module.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-7347?

CVE-2024-7347 is a medium-severity denial of service vulnerability in F5 NGINX Open Source, published on 14 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

NGINX Open Source and NGINX Plus have a vulnerability in the ngx_http_mp4_module, which might allow an attacker to over-read NGINX worker memory resulting in its termination, using a specially crafted mp4 file. The issue only affects NGINX if it is built with the ngx_http_mp4_module and the mp4 directive is used in the configuration file. Additionally, the attack is possible only if an attacker can trigger the processing of a specially crafted mp4 file with the ngx_http_mp4_module.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Weakness: CWE-125, CWE-126

Which versions are affected by CVE-2024-7347?

2 open source packages ship an affected version, including nginx and nginx-gateway. It affects 2 products.

PackageAffectedFixed in
nginx BitnamiFrom 1.5.131.26.2, 1.27.1
nginx-gateway BitnamiFrom 1.5.131.26.2, 1.27.1
Linux distribution packages (38)
nginx AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx-all-modules AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx-all-modules AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx-core AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx-core AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx-filesystem AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx-filesystem AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx-mod-devel AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx-mod-devel AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx-mod-http-image-filter AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx-mod-http-image-filter AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx-mod-http-perl AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx-mod-http-perl AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx-mod-http-xslt-filter AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx-mod-http-xslt-filter AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx-mod-mail AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx-mod-mail AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx-mod-stream AlmaLinux:9All versions1:1.22.1-8.module_el9.5.0+153+8c633b18.1.alma.1
nginx-mod-stream AlmaLinux:9All versions1:1.24.0-4.module_el9.5.0+154+722f94fd.1.alma.1
nginx Red Hat:enterprise_linux:9::appstreamAll versions1:1.22.1-8.module+el9.5.0+22953+b175c265.1
nginx Red Hat:enterprise_linux:9::appstreamAll versions1:1.24.0-4.module+el9.5.0+22954+e2d70a1c.1
nginx-all-modules Red Hat:enterprise_linux:9::appstreamAll versions1:1.22.1-8.module+el9.5.0+22953+b175c265.1
nginx-all-modules Red Hat:enterprise_linux:9::appstreamAll versions1:1.24.0-4.module+el9.5.0+22954+e2d70a1c.1
nginx-core Red Hat:enterprise_linux:9::appstreamAll versions1:1.22.1-8.module+el9.5.0+22953+b175c265.1
nginx-core Red Hat:enterprise_linux:9::appstreamAll versions1:1.24.0-4.module+el9.5.0+22954+e2d70a1c.1
nginx-core-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:1.22.1-8.module+el9.5.0+22953+b175c265.1
nginx-core-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:1.24.0-4.module+el9.5.0+22954+e2d70a1c.1
nginx-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:1.22.1-8.module+el9.5.0+22953+b175c265.1
nginx-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:1.24.0-4.module+el9.5.0+22954+e2d70a1c.1
nginx-debugsource Red Hat:enterprise_linux:9::appstreamAll versions1:1.22.1-8.module+el9.5.0+22953+b175c265.1
nginx-debugsource Red Hat:enterprise_linux:9::appstreamAll versions1:1.24.0-4.module+el9.5.0+22954+e2d70a1c.1
nginx-filesystem Red Hat:enterprise_linux:9::appstreamAll versions1:1.22.1-8.module+el9.5.0+22953+b175c265.1
nginx-filesystem Red Hat:enterprise_linux:9::appstreamAll versions1:1.24.0-4.module+el9.5.0+22954+e2d70a1c.1
nginx-mod-devel Red Hat:enterprise_linux:9::appstreamAll versions1:1.22.1-8.module+el9.5.0+22953+b175c265.1
nginx-mod-devel Red Hat:enterprise_linux:9::appstreamAll versions1:1.24.0-4.module+el9.5.0+22954+e2d70a1c.1
nginx-mod-http-image-filter Red Hat:enterprise_linux:9::appstreamAll versions1:1.22.1-8.module+el9.5.0+22953+b175c265.1
nginx-mod-http-image-filter Red Hat:enterprise_linux:9::appstreamAll versions1:1.24.0-4.module+el9.5.0+22954+e2d70a1c.1

Products include F5 Nginx Open Source, F5 Nginx Plus.

How do I fix CVE-2024-7347?

Upgrade nginx to a fixed version for your release line: 1.26.2 or 1.27.1.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-7347 being exploited?

There is no known exploitation of CVE-2024-7347 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2024-7347, ALSA-2025:3261, ALSA-2025:3262, AZL-47781, AZL-47789, BELL-CVE-2024-7347 and 24 more.

Is CVE-2024-7347 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free