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...

High CVSS 7.1

CVE id
CVE-2022-41742
Published
Last modified

Affected packages

PackageAffected versionsFixed in
NGINX
Runtimes and servers
>= 1.1.3, <= 1.22.0 after 1.22.0
F5 NGINX Ingress Controller
Runtimes and servers
>= 1.9.0, <= 1.12.4
>= 2.0.0, <= 2.4.0
after 1.12.4, 2.4.0

How to fix it

NGINX (Runtimes and servers)

Upgrade NGINX to a release newer than 1.22.0.

nginx -v
  • Install the patched NGINX release of your branch (the nginx image tag, the nginx.org packages, or your distribution's security update) and restart NGINX; with OpenResty, upgrade to the OpenResty release built on it.

F5 NGINX Ingress Controller (Runtimes and servers)

Upgrade F5 NGINX Ingress Controller to a release newer than the last affected update of the line you run (1.12.4, 2.4.0).

kubectl get deploy -A -l app.kubernetes.io/name=nginx-ingress -o jsonpath='{..image}'
  • Upgrade the NGINX Ingress Controller image (nginx/nginx-ingress or nginx-plus-ingress) or its Helm chart to the patched release and roll it out to every cluster.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

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 ngxhttpmp4_module.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.