Out-of-bounds Read Affecting nginx/njs package, versions [,0.3.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NGINXNJS-2366370
  • published26 Jan 2022
  • disclosed16 Jul 2019
  • creditUnknown

Introduced: 16 Jul 2019

CVE-2019-13617  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade nginx/njs to version 0.3.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read njs through 0.3.3, used in NGINX, has a heap-based buffer over-read in nxt_vsprintf in nxt/nxt_sprintf.c during error handling, as demonstrated by an njs_regexp_literal call that leads to an njs_parser_lexer_error call and then an njs_parser_scope_error call.

References

CVSS Scores

version 3.1