fix: add CVE-2026-6653 patch for entity amplification check rework#11
Merged
Merged
Conversation
Contributor
|
/hold |
|
TAG Bot TAG: 2.12.7+dfsg+really2.9.14-2.1+deb13u3deepin1 |
5c75540 to
2c398a0
Compare
Contributor
Author
Add debian/patches/CVE-2026-6653.patch to fix billion-laughs entity amplification attack detection. Changes in this patch: - Rework entity amplification check to fix billion-laughs attack. - Limit document size after entity substitution to 10x before expansion. - Add saturation arithmetic to prevent 32-bit integer overflow. - Enable entity amplification check even when XML_PARSE_HUGE is set. - Add echeck and elength fields to xmlEntity struct. Log: Add CVE-2026-6653 entity amplification check patch Influence: 1. Package builds successfully 2. Patch applies cleanly with quilt 3. No regression on existing CVE patches fix: 添加 CVE-2026-6653 实体放大检查补丁 添加 debian/patches/CVE-2026-6653.patch 修复实体放大攻击检测 本次补丁的变更: - 重新设计实体放大检查机制,修复检测 - 限制实体替换后文档大小不超过展开前的 10 倍 - 添加饱和算术防止 32 位整数溢出 - 即使设置了 XML_PARSE_HUGE 也启用实体放大检查 - 在 xmlEntity 结构中添加 echeck 和 elength 字段 Log: 添加 CVE-2026-6653 实体放大检查补丁 Influence: 1. 软件包构建成功 2. 补丁可通过 quilt 干净应用 3. 现有 CVE 补丁无回归 repo: libxml2 #cve-for-ubuntu
2c398a0 to
bb7d344
Compare
Contributor
Author
|
@UTsweetyfish add review |
hudeng-go
approved these changes
Jun 29, 2026
wxphaha
approved these changes
Jun 29, 2026
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hudeng-go, wxphaha The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Contributor
Author
|
/integrate |
|
AutoIntegrationPr Bot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add debian/patches/CVE-2026-6653.patch to fix billion-laughs entity amplification attack detection.
Changes in this patch:
Log: Add CVE-2026-6653 entity amplification check patch
Influence:
fix: 添加 CVE-2026-6653 实体放大检查补丁
添加 debian/patches/CVE-2026-6653.patch 修复实体放大攻击检测
本次补丁的变更:
Log: 添加 CVE-2026-6653 实体放大检查补丁
Influence:
repo: libxml2 #cve-for-ubuntu