Improper Input Validation Affecting ruby-sanitize package, versions <2.1.0-2+deb9u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.47% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN9-RUBYSANITIZE-272170
  • published30 Mar 2018
  • disclosed30 Mar 2018

Introduced: 30 Mar 2018

CVE-2018-3740  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:9 ruby-sanitize to version 2.1.0-2+deb9u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-sanitize package and not the ruby-sanitize package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

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