CVE-2025-58767
MEDIUM5.3EPSS 0.08%REXML has DoS condition when parsing malformed XML file
發布日:2025/9/17修改日:2026/1/6
描述
REXML is an XML toolkit for Ruby. The REXML gems from 3.3.3 to 3.4.1 has a DoS vulnerability when parsing XML containing multiple XML declarations. If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities. The REXML gem 3.4.2 or later include the patches to fix these vulnerabilities.
受影響套件(4)
- Alpine/ruby-rexmlfrom 0, < 3.4.4-r0
- Debian/ruby2.7from 0
- Debian/ruby3.3from 0
- RubyGems/rexml>= 3.3.3, < 3.4.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
參考連結(8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-58767
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2025-58767
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-58767
- PATCHhttps://github.com/ruby/rexml
- WEBhttps://github.com/ruby/rexml/commit/5859bdeac792687eaf93d8e8f0b7e3c1e2ed5c23
- WEBhttps://github.com/ruby/rexml/security/advisories/GHSA-c2f4-jgmc-q2r5
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2025-58767.yml
- WEBhttps://www.ruby-lang.org/en/news/2025/09/18/dos-rexml-cve-2025-58767