Nginx TLS 1.3 CPU overconsumption vulnerability when ssl_early_data is enabled (CVE-2026-132779, medium severity; affected versions: 1.21.4–1.31.9).
1.31.10 also fixes an issue where establishing a connection with an SSL backend could cause sustained CPU usage.
How to fix on Debian 13:
- Before upgrading
• Back up configs and data: back up /etc/nginx/, custom site configs, SSL certificates, and existing binaries/modules (if compiled from source, record the ./nginx -V output first).
• Check current state: confirm whether it's currently installed via apt or compiled from source, and whether anything depends on old-version modules or third-party dynamic modules.
- Upgrade via the official APT repository (recommended)
Follow the official nginx Linux packages guide, add the mainline repository on Debian 13 (trixie), and set a high priority to override the system default package:
a. Install prerequisites and import the official Nginx signing key.
b. Configure /etc/apt/sources.list.d/nginx.list to point to the mainline repository, and set the nginx.org source priority to 900 in /etc/apt/preferences.d/99nginx.
c. Run sudo apt update && sudo apt install -y nginx to install or upgrade.
- Verify and restart
• Run sudo nginx -t to test whether the config file syntax is correct.
• Run sudo systemctl restart nginx to restart the service, and verify the version number with nginx -v. If the production environment is sensitive to long-lived connections, evaluate the graceful restart process as needed.
Nginx TLS 1.3 启用 ssl_early_data 时 CPU 过度消耗漏洞(CVE-2026-132779,中危;受影响版本:1.21.4–1.31.9)。
1.31.10 还修复与 SSL 后端建立连接时可能持续占用 CPU 的问题。
debian 13 修复方法:
- 升级前准备
• 备份配置与数据:备份 /etc/nginx/、自定义站点配置、SSL 证书以及现有二进制 / 模块(如果是编译安装,先记录 ./nginx -V 输出)。
• 检查当前状态:确认当前是 apt 安装还是源码编译,以及是否有依赖旧版本模块或第三方动态模块。
- 通过官方 APT 源升级(推荐)
参考 nginx Linux packages 官方指引,在 Debian 13 (trixie) 上添加主线仓库并设置高优先级以覆盖系统默认包:
a. 安装前置依赖并导入 Nginx 官方签名密钥。
b. 配置 /etc/apt/sources.list.d/nginx.list 指向 mainline 仓库,并在 /etc/apt/preferences.d/99nginx 中将 nginx.org 源的优先级设为 900。
c. 执行 sudo apt update && sudo apt install -y nginx 进行安装或升级。
- 校验与重启
• 执行 sudo nginx -t 测试配置文件语法正确性。
• 执行 sudo systemctl restart nginx 重启服务,并通过 nginx -v 验证版本号。若生产环境对长连接敏感,可按需评估平滑重启流程。
Translated by AI from 简体中文Original (简体中文)
1 replies
Sort order