[Bug 256094] textproc/libxml2: Add upstream patch to fix CVE-2021-3541

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 May 2021 14:36:19 +0000

--- Comment #5 from commit-hook_at_FreeBSD.org ---
A commit in branch 2021Q2 references this bug:


commit d1aa619eee6b57face171474c3166f4112447f26
Author:     Yasuhiro Kimura <yasu_at_utahime.org>
AuthorDate: 2021-05-23 14:27:31 +0000
Commit:     Tobias C. Berner <tcberner_at_FreeBSD.org>
CommitDate: 2021-05-23 14:35:28 +0000

    textproc/libxml2: add upstream fix for CVE-2021-3541

    This is relapted to parameter entities expansion and following
    the line of the billion laugh attack. Somehow in that path the
    counting of parameters was missed and the normal algorithm based
    on entities "density" was useless.

    PR:             256094
    Obtained from: 
    Security:       CVE-2021-3541

    (cherry picked from commit 83889bd6875d128b44342dd3cd58fe6027b98542)

 textproc/libxml2/Makefile                        |  2 +-
 textproc/libxml2/files/patch-CVE-2021-3541 (new) | 67 ++++++++++++++++++++++++
 2 files changed, 68 insertions(+), 1 deletion(-)

You are receiving this mail because:
You are the assignee for the bug.
Received on Sun May 23 2021 - 14:36:19 UTC

Original text of this message