CVE-2018-3740
medium
CVSS v3
—
CVSS v2
—
VIR risk
5.5
Description
A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-3740
Vendor advisory: arch — https://security.archlinux.org/ASA-201807-1
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 11.0.1-1 | |
| debian | bookworm | fixed | 4.6.6-1 |
| debian | bullseye | fixed | 4.6.6-1 |
| debian | forky | fixed | 4.6.6-1 |
| debian | sid | fixed | 4.6.6-1 |
| debian | trixie | fixed | 4.6.6-1 |
References
- https://github.com/rgrove/sanitize/issues/176
- https://security.archlinux.org/ASA-201807-1
- https://nvd.nist.gov/vuln/detail/CVE-2018-3740
- https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e
- https://github.com/rgrove/sanitize/commit/93feeb38e21864146bb29191792b971dbe1ec62e
- https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released
- https://github.com/rgrove/sanitize
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sanitize/CVE-2018-3740.yml
- https://www.debian.org/security/2018/dsa-4358
- https://security-tracker.debian.org/tracker/CVE-2018-3740
Verify integrity in audit chain (admin only). AS-IS.