libxml2 在 2.11.9、2.12.9 和 2.13.3 之前的版本中存在一个安全漏洞,SAX 解析器在自定义 SAX 处理程序尝试通过设置 "checked" 来覆盖实体内容时,仍然会为外部实体生成事件。这使得经典的 XXE(XML 外部实体注入)攻击成为可能。 该漏洞已在后续版本中修复,建议用户尽快升级到最新版本以避免潜在的安全风险。 参考链接: - [GitHub 安全公告](https://github.com/advisories/GHSA-6c2p-rqx3-w4px) - [NVD 漏洞详情](https://nvd.nist.gov/vuln/detail/CVE-2024-40896) - [libxml2 修复提交](https://gitlab.gnome.org/GNOME/libxml2/-/commit/1a8932303969907f6572b1b6aac4081c56adb5c6) - [libxml2 问题报告](https://gitlab.gnome.org/GNOME/libxml2/-/issues/761) #安全漏洞#XXE#libxml2#SAX解析器 #AIGC
写了三年博客,多多少少对写博客、建博客有一点了解,之前在 V2EX 看到这样一条帖子:想给一个女性作家朋友搭建一个博客网站,有什么成熟点的方案 网友评论了很多,有价值的也不少,我在此摘录几条我认为有用的: 1️⃣作家应该不是程序员吧? 不明白为何那么多人还无脑推要用 git 的静态博客…… wordpress 吧,要是觉得卡顿,安利一下 zblogphp,很好用,主题也不少。 2️⃣Wordpress 插件多 技术成熟。。别信楼什么什么 github+hexo 的 别人又不是程序员,markdown 也做不了复杂的页面布局 3️⃣虚拟空间 + Typecho / Wordpress 或者博客平台.不要净搞些幺蛾子,还不好使(你朋友表示) 你以为很秀的操作在外行人眼中看来即不实际也不好使. 4️⃣大家还是偏极客了吧,程序员之外,愿意写 markdown,自己 git 提交的用户多吗? 还是有一个易用的后台,广泛的插件、主题选择,也真没有比 wordpress 更好的了。 5️⃣推静态博客的不是蠢就是坏,又不是人人都是程序员。 也不建议自己搭,因为没人做 SEO,没啥用。 建议直接买成熟的平台,或者就地取材。 #博客
Hashtags
找到 2 条相似帖子
搜索 #libxml2
@djangoproject · Post #551 · 2018/01/23 16:28
http://lxml.de/ #lxml is the most feature-rich and easy-to-use library for processing #XML and #HTML in the Python language. The lxml XML toolkit is a Pythonic binding for the #C libraries #libxml2 and #libxslt. It is unique in that it combines the speed and XML feature completeness of these libraries with the simplicity of a native Python #API, mostly compatible but superior to the well-known ElementTree API. The latest release works with all #CPython versions from 2.6 to 3.6. See the introduction for more information about background and goals of the lxml project. Some common questions are answered in the FAQ.