Skip to content

Add missing CVE-2017-1002201 for haml #422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions gems/haml/CVE-2017-1002201.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
gem: haml
cve: 2017-1002201
url: https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2
title: haml failure to escape single quotes
date: 2017-05-08
description: |
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.
cvss_v2: 4.3
cvss_v3: 6.1
patched_versions:
- ">= 5.0.0.beta.2"

related:
url:
- https://snyk.io/vuln/SNYK-RUBY-HAML-20362