p PatchFirst

CVE-2017-1002201

CVE-2017-1002201

CVSS 6.1 · Medium · EPSS 1.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-haml"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

In haml versions prior to version 5.0.0.beta.2, when using user input to perform tasks on the server, characters like < > " ' must be escaped properly. In this case, the ' character was missed. An attacker can manipulate the input to introduce additional attributes, potentially executing code.

Published
Updated

Fixes in distributions

  • DLA-2864-1 · Debian 9 ·
  • SUSE-SU-2020:0640-1 · SUSE HPE Helion OpenStack 8, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 ·
  • SUSE-SU-2019:3270-1 · SUSE OpenStack Cloud 7 ·
  • DLA-1986-1 · Debian 8 ·
  • SUSE-SU-2019:2932-1 · SUSE OpenStack Cloud 7, SUSE OpenStack Cloud Crowbar 8, SUSE OpenStack Cloud Crowbar 9 ·

Stack: system · ruby

Affected products and versions

  • haml

    Versions
    • All versions prior to version 5.0.0.beta.2: Affected

    No fix published

  • ruby-haml Debian 12

    Affected ranges
    • ECOSYSTEM: < 5.0.4-1

    Update to 5.0.4-1

  • ruby-haml Debian 13

    Affected ranges
    • ECOSYSTEM: < 5.0.4-1

    Update to 5.0.4-1

  • ruby-haml Debian 14

    Affected ranges
    • ECOSYSTEM: < 5.0.4-1

    Update to 5.0.4-1

  • haml RubyGems

    Versions
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    All versions (143)
    • 1.5.0
    • 1.5.1
    • 1.5.2
    • 1.7.0
    • 1.7.1
    • 1.7.2
    • 1.8.0
    • 1.8.1
    • 1.8.2
    • 2.0.0
    • 2.0.1
    • 2.0.10
    • 2.0.2
    • 2.0.3
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.0.8
    • 2.0.9
    • 2.2.0
    • 2.2.1
    • 2.2.10
    • 2.2.11
    • 2.2.12
    • 2.2.13
    • 2.2.14
    • 2.2.15
    • 2.2.16
    • 2.2.17
    • 2.2.18
    • 2.2.19
    • 2.2.2
    • 2.2.20
    • 2.2.21
    • 2.2.22
    • 2.2.23
    • 2.2.24
    • 2.2.3
    • 2.2.4
    • 2.2.5
    • 2.2.6
    • 2.2.8
    • 2.2.9
    • 3.0.0
    • 3.0.0.beta.1
    • 3.0.0.beta.2
    • 3.0.0.beta.3
    • 3.0.0.rc.1
    • 3.0.0.rc.2
    • 3.0.0.rc.3
    • 3.0.0.rc.4
    • 3.0.0.rc.5
    • 3.0.1
    • 3.0.10
    • 3.0.11
    • 3.0.12
    • 3.0.13
    • 3.0.14
    • 3.0.15
    • 3.0.16
    • 3.0.17
    • 3.0.18
    • 3.0.2
    • 3.0.21
    • 3.0.22
    • 3.0.23
    • 3.0.24
    • 3.0.25
    • 3.0.3
    • 3.0.4
    • 3.0.5
    • 3.0.6
    • 3.0.7
    • 3.0.9
    • 3.1.0
    • 3.1.0.alpha.10
    • 3.1.0.alpha.12
    • 3.1.0.alpha.14
    • 3.1.0.alpha.141
    • 3.1.0.alpha.144
    • 3.1.0.alpha.145
    • 3.1.0.alpha.147
    • 3.1.0.alpha.17
    • 3.1.0.alpha.18
    • 3.1.0.alpha.19
    • 3.1.0.alpha.2
    • 3.1.0.alpha.22
    • 3.1.0.alpha.23
    • 3.1.0.alpha.26
    • 3.1.0.alpha.27
    • 3.1.0.alpha.28
    • 3.1.0.alpha.30
    • 3.1.0.alpha.33
    • 3.1.0.alpha.36
    • 3.1.0.alpha.37
    • 3.1.0.alpha.5
    • 3.1.0.alpha.9
    • 3.1.1
    • 3.1.2
    • 3.1.3
    • 3.1.4
    • 3.1.5
    • 3.1.5.beta.1
    • 3.1.5.rc.1
    • 3.1.6
    • 3.1.6.rc.1
    • 3.1.7
    • 3.1.8
    • 3.2.0.alpha.10
    • 3.2.0.alpha.13
    • 3.2.0.alpha.14
    • 3.2.0.alpha.2
    • 3.2.0.alpha.3
    • 3.2.0.alpha.4
    • 3.2.0.alpha.5
    • 3.2.0.alpha.8
    • 3.2.0.beta.1
    • 3.2.0.beta.2
    • 3.2.0.beta.3
    • 3.2.0.rc.1
    • 3.2.0.rc.2
    • 3.2.0.rc.3
    • 3.2.0.rc.4
    • 4.0.0
    • 4.0.0.rc.1
    • 4.0.1
    • 4.0.1.rc.1
    • 4.0.2
    • 4.0.3
    • 4.0.4
    • 4.0.5
    • 4.0.6
    • 4.0.7
    • 4.1.0.alpha.2
    • 4.1.0.beta.1
    • 5.0.0.beta.2
    Affected ranges
    • ECOSYSTEM: < 5.0.0

    Update to 5.0.0

  • ruby-haml Ubuntu Pro 14.04 LTS

    Versions
    • 4.0.3-3
    • 4.0.5-1
    Affected ranges
    • ECOSYSTEM: < 4.0.5-2+deb8u1build0.14.04.1~esm1

    Update to 4.0.5-2+deb8u1build0.14.04.1~esm1

  • ruby-haml Ubuntu 16.04 LTS

    Versions
    • 4.0.6-1
    • 4.0.7-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-haml Ubuntu 18.04 LTS

    Versions
    • 4.0.7-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →