Advisory

UBUNTU-CVE-2018-3740

Also known as: CVE-2018-3740

Summary

The record has no summary.

Details

A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2018-03-30 19:29 UTC
Modified
2025-07-17 16:53 UTC

Affected packages and fixes

ruby-sanitize

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.1.0-2+deb9u1build0.16.04.1 (ecosystem)

Fixed versions

2.1.0-2+deb9u1build0.16.04.1

Fix

  • Fixed version 2.1.0-2+deb9u1build0.16.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby-sanitize

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.1.0-2+deb9u1build0.18.04.1 (ecosystem)

Fixed versions

2.1.0-2+deb9u1build0.18.04.1

Fix

  • Fixed version 2.1.0-2+deb9u1build0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences