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.
The product reads data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://github.com/nginx/njs/issues/174 | third party advisory exploit |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15093 | third party advisory permissions required |