njs through 0.3.1 used in NGINX has a heap-based buffer overflow in Array.prototype.push after a resize related to njs_array_prototype_push in njs/njs_array.c because of njs_array_expand size mishandling.