The lxml.html.clean module cleans up HTML by removing embedded or script content, special tags, CSS style annotations and much more. It was found [1] that the clean_html() function, provided by the lxml.html.clean module, did not properly clean HTML input if it included non-printed characters (\x01-\x08). A remote attacker could use this flaw to serve malicious content to an application using the clean_html() function to process HTML, possibly allowing the attacker to inject malicious code into a website generated by this application. This issue has been reported upstream at [2] and a patch is available at [3]. [1] http://seclists.org/fulldisclosure/2014/Apr/210 [2] https://mailman-mail5.webfaction.com/pipermail/lxml/2014-April/007128.html [3] https://github.com/lxml/lxml/commit/e86b294f1f81b899a59925123560ff924a72f1cc
Created python-lxml tracking bugs for this issue: Affects: epel-5 [bug 1092614]
Is this patch included in 3.3.5? The release notes would seem to indicate that it was, but I want to make sure. I submitted 3.3.5 packages yesterday but it does not look like they have been pushed to the mirrors yet. https://admin.fedoraproject.org/updates/python-lxml-3.3.5-1.fc20 https://admin.fedoraproject.org/updates/python-lxml-3.3.5-1.fc19
(In reply to Jeffrey C. Ollie from comment #2) > Is this patch included in 3.3.5? The release notes would seem to indicate > that it was, but I want to make sure. I submitted 3.3.5 packages yesterday > but it does not look like they have been pushed to the mirrors yet. > > https://admin.fedoraproject.org/updates/python-lxml-3.3.5-1.fc20 > https://admin.fedoraproject.org/updates/python-lxml-3.3.5-1.fc19 Hi Jeffrey, I checked the sources of the builds you link to and they both include the patch that fixes this issue. Both builds are in testing and will be pushed to stable updates once they get enough karma or the in-testing time passes.
python-lxml-3.3.5-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
python-lxml-3.3.5-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
Statement: Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.