CWE
119
Advisory Published
Updated

CVE-2021-46461: Buffer Overflow

First published: Mon Feb 14 2022(Updated: )

njs through 0.7.0, used in NGINX, was discovered to contain an out-of-bounds array access via njs_vmcode_typeof in /src/njs_vmcode.c.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Nginx NJS<=0.7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-46461?

    CVE-2021-46461 is a vulnerability in njs, a JavaScript/ECMAScript engine used by NGINX, that allows an attacker to trigger an out-of-bounds array access.

  • What is the severity of CVE-2021-46461?

    CVE-2021-46461 has a severity rating of 9.8 (Critical).

  • Which software is affected by CVE-2021-46461?

    Nginx NJS versions up to and including 0.7.0 are affected by CVE-2021-46461.

  • How can I fix CVE-2021-46461?

    To fix CVE-2021-46461, upgrade to a version of Nginx NJS that is higher than 0.7.0.

  • Where can I find more information about CVE-2021-46461?

    You can find more information about CVE-2021-46461 at the following references: [link1](https://github.com/nginx/njs/commit/d457c9545e7e71ebb5c0479eb16b9d33175855e2), [link2](https://github.com/nginx/njs/issues/450), [link3](https://security.netapp.com/advisory/ntap-20220303-0007/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203