Summary
APISIX currently bundles a runtime built on nginx 1.27.1, which is affected by multiple open nginx CVEs — several of which touch subsystems APISIX exercises heavily (rewrite, resolver, HTTP/2 proxy). This issue tracks upgrading the bundled runtime to nginx 1.31.x (via a new OpenResty 1.31-based apisix-runtime release).
Current state
Upstream readiness signal
OpenResty's lua-nginx-module has just landed nginx 1.31.0 in its CI test matrix:
This indicates the OpenResty ecosystem is moving toward nginx 1.31 compatibility. OpenResty itself has not yet shipped a 1.31-based bundled release (latest tag is v1.27.1.2).
Proposal
- Track OpenResty's 1.31-based release in
api7/apisix-build-tools.
- When available, cut a new
apisix-runtime tag that:
- Bumps
OPENRESTY_VERSION to the OpenResty 1.31.x release.
- Re-verifies
apisix-nginx-module, wasm-nginx-module, and lua-var-nginx-module patches still apply cleanly on the 1.31 source tree.
- Bump
APISIX_RUNTIME in apache/apisix .requirements to that new tag and run the full CI matrix.
- (Optional, interim) If the OpenResty 1.31 bundle is delayed, evaluate cherry-picking the upstream nginx patches (especially for
ngx_http_rewrite_module and the resolver) into the current apisix-runtime patch set.
Acceptance criteria
References
Summary
APISIX currently bundles a runtime built on nginx 1.27.1, which is affected by multiple open nginx CVEs — several of which touch subsystems APISIX exercises heavily (rewrite, resolver, HTTP/2 proxy). This issue tracks upgrading the bundled runtime to nginx 1.31.x (via a new OpenResty 1.31-based
apisix-runtimerelease).Current state
apache/apisixmaster pinsAPISIX_RUNTIME=1.3.5(see.requirements).apisix-build-toolsapisix-runtime/1.3.5setsOPENRESTY_VERSION="1.27.1.2".Upstream readiness signal
OpenResty's
lua-nginx-modulehas just landed nginx 1.31.0 in its CI test matrix:This indicates the OpenResty ecosystem is moving toward nginx 1.31 compatibility. OpenResty itself has not yet shipped a 1.31-based bundled release (latest tag is
v1.27.1.2).Proposal
api7/apisix-build-tools.apisix-runtimetag that:OPENRESTY_VERSIONto the OpenResty 1.31.x release.apisix-nginx-module,wasm-nginx-module, andlua-var-nginx-modulepatches still apply cleanly on the 1.31 source tree.APISIX_RUNTIMEinapache/apisix.requirementsto that new tag and run the full CI matrix.ngx_http_rewrite_moduleand the resolver) into the currentapisix-runtimepatch set.Acceptance criteria
apisix-runtimereleased with nginx ≥ 1.31.0.apache/apisixmaster upgraded to the new runtime, CI green.References
apache/apisix.requirementsapisix-build-toolsbuild-apisix-runtime.sh