nginx...

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

BUGTRAQ ID: 59496 nginx是HTTP及反向代理服务器,同时也用作邮件代理服务器,由Igor Sysoev编写。 nginx在实现上存在远程整数溢出漏洞,当 r->count 小于0或大于255时,Nginx ngx_http_close_connection函数会存在整数溢出错误,远程攻击者通过恶意http请求利用此漏洞,可能在应用上下文中执行任意代码。 0 Igor Sysoev nginx 1.1.19 Igor Sysoev nginx 1.1.17 Igor Sysoev nginx 1.0.9 Igor Sysoev nginx 1.0.8 Igor Sysoev nginx 1.0.15 Igor Sysoev nginx 1.0.14 Igor Sysoev nginx 1.0.10 临时解决方法: 在官方发布针对此问题的更新之前,建议您安装如下补丁: 来自 http://pastie.org/private/vrocsopzemghn4y5dlg8q diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 9f63143..807cbc0 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1986,7 +1986,8 @@ static u_char *ngx_http_log_error_handler(ngx_http_request_t *r, if (r == c->data) { - r->main->count--; + if (r->main->count > 0) + r->main->count--; if (!r->logged) { @@ -2022,7 +2023,8 @@ static u_char *ngx_http_log_error_handler(ngx_http_request_t *r, } if (ngx_http_post_request(pr, NULL) != NGX_OK) { -...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息