CVE-2018-8048
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
Description
In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.2.1-1 |
| sid | Fixed | 2.2.1-1 |
| forky | Fixed | 2.2.1-1 |
| bullseye | Fixed | 2.2.1-1 |
| bookworm | Fixed | 2.2.1-1 |
References
- https://github.com/flavorjones/loofah/issues/144
- https://github.com/sparklemotion/nokogiri/pull/1746
- https://www.suse.com/security/cve/CVE-2018-8048.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-8048
- https://github.com/flavorjones/loofah/commit/f739cf8eac5851f328b8044281d6653f74eff116
- https://github.com/advisories/GHSA-x7rv-cr6v-4vm4
- https://github.com/flavorjones/loofah
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2018-8048.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-8048.yml
- https://security.netapp.com/advisory/ntap-20191122-0003
- https://www.debian.org/security/2018/dsa-4171
- http://www.openwall.com/lists/oss-security/2018/03/19/5
- https://security-tracker.debian.org/tracker/CVE-2018-8048
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.