#1833

Update openresty to patch NGINX2shell

OpenFarisZRopened 16d ago

Existing issue

  • I have searched the existing issues and found no duplicate.

Current behavior

https://nginx2root.com/ The project uses OpenResty and it seems to use an outdated version where it doesn't patch Nginx2root.

Proposed improvement

https://nginx2root.com/

Benefits

  • not being hacked

Additional context

No response

Activity

1
SibilSoren15d ago

I can take this. The edge image is built from openresty/openresty:1.27.1.1-alpine in apps/edge/Dockerfile, and a box with a bare OpenResty gets converted to that container, so that line is the one to move. The newest image is 1.27.1.2-13-alpine, from 31 Oct.

OpenResty pushed a backport of nine nginx 1.31.9 security fixes to its 1.27.1 line today (openresty/openresty@8f1a374), but there's no release or Docker image with them yet. I'd wait for that image, bump the Dockerfile and the version in the comments that quote it, and run the routing e2e against real OpenResty, the same one I used for #1813. If you'd rather move to 1.31.x, I can do that instead.

I couldn't find anything public about "nginx2root" itself, so I can't say which of these fixes it refers to.