NginxWeb server / proxy · F5

CVE-2022-41741

HIGH · 7.8 CVSS v3.1 Published 2022-10-19
Fix available
A fix is available. Upgrade to after 2.4.0 or later.
See remediation →
80/100
Remediation priority · High
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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 ngx_http_mp4_module 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 ngx_http_mp4_module, 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 ngx_http_mp4_module.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A memory corruption vulnerability in NGINX's ngx_http_mp4_module allows a local attacker to corrupt worker process memory by tricking NGINX into processing a specially crafted MP4 file, potentially causing worker crashes or other undefined behavior.

MitigationUpgrade NGINX to version 1.23.2+/1.22.1+ (Open Source) or R27 P1+/R26 P1+ (Plus), or disable the mp4 directive if the module is not required.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
NginxWeb server / proxy
Affected:>= 1.1.3, <= 1.22.0>= r22, <= r27= 1.23.0= 1.23.1= r1= r2
Nginx Ingress ControllerWeb server / proxy
Affected:>= 1.9.0, <= 1.12.4>= 2.0.0, <= 2.4.0
FedoraOperating system
Affected:= 35= 36= 37
Debian LinuxOperating system
Affected:= 10.0= 11.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify ngx_http_mp4_module is compiled into NGINX
    Run 'nginx -V 2>&1 | grep -o mp4' or check the output of 'nginx -V' for '--with-http_mp4_module' in the configure arguments
    Affected if The mp4 module is present in the NGINX build (vulnerable if version is in affected range)
  2. Check installed NGINX version
    Run 'nginx -v' or 'nginx -V' to obtain the exact version number
    Affected if Version is >= 1.1.3 and <= 1.22.0, or equals 1.23.0 or 1.23.1, or falls within r22-r27, r1, or r2
  3. Verify if mp4 module is loaded as dynamic module
    Check for 'load_module modules/ngx_http_mp4_module.so;' in nginx.conf or included configuration files under /etc/nginx/
    Affected if The dynamic mp4 module is loaded (vulnerable if version is in affected range)
  4. Check if mp4 directive is used in configuration
    Search configuration files for 'mp4' directive: 'grep -r "mp4" /etc/nginx/' or review each server/location block for 'mp4;' directive
    Affected if The 'mp4' directive is enabled in any location block (indicates active attack surface)
  5. Confirm MP4 files are being served
    Review configuration for location blocks serving .mp4 files, or check access logs for requests to .mp4 endpoints
    Affected if NGINX is configured to serve or process MP4 files, making the vulnerability exploitable in practice

You are affected if NGINX has the mp4 module compiled or loaded AND its version falls within the affected ranges AND the mp4 directive is enabled in your configuration to serve MP4 content.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 2.4.0
Interim mitigation

Upgrade NGINX to version 1.23.2+/1.22.1+ (Open Source) or R27 P1+/R26 P1+ (Plus), or disable the mp4 directive if the module is not required.

Recommended fix High confidence

NGINX Open Source: upgrade to 1.23.2 or 1.22.1; NGINX Plus: upgrade to R27 P1 or R26 P1; Nginx Ingress Controller: upgrade to 1.12.5+ or 2.4.1+

  1. Identify the current nginx version installed using 'nginx -v' or 'nginx -V'
  2. Check if ngx_http_mp4_module is enabled and the mp4 directive is in use in the nginx configuration files (typically in /etc/nginx/ or /usr/local/nginx/conf/)
  3. If the mp4 module is in use, upgrade nginx to version 1.23.2 (for the mainline) or 1.22.1 (for the stable branch) for NGINX Open Source
  4. For NGINX Plus subscribers, upgrade to R27 P1 or R26 P1 respectively
  5. For Nginx Ingress Controller users, upgrade to version 1.12.5 or later for the 1.x branch, or version 2.4.1 or later for the 2.x branch (check vendor documentation for exact fixed versions)
  6. After upgrade, verify the new version is running with 'nginx -v'
  7. Test that nginx configuration is valid with 'nginx -t' before reloading
  8. Reload or restart nginx to apply the changes
Caveat No breaking changes expected for standard upgrades; however, verify configuration compatibility and test in staging before production deployment

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Nginx Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing2.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,420
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2022-41741 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2022-41741 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data