CVE-2018-3740
HIGH7.5EPSS 0.26%Sanitize vulnerable to Improper Input Validation and Cross-site Scripting
發布日:2018/3/21修改日:2026/4/28
描述
A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.
受影響套件(3)
- Debian/ruby-sanitizefrom 0, < 4.6.6-1
- Debian/ruby-sanitizefrom 0, < 2.1.0-2+deb9u1
- RubyGems/sanitize>= 3.0.0, < 4.6.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
參考連結(9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-3740
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-3740
- PATCHhttps://github.com/rgrove/sanitize
- WEBhttps://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released
- WEBhttps://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e
- WEBhttps://github.com/rgrove/sanitize/commit/93feeb38e21864146bb29191792b971dbe1ec62e
- WEBhttps://github.com/rgrove/sanitize/issues/176
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/sanitize/CVE-2018-3740.yml
- WEBhttps://www.debian.org/security/2018/dsa-4358