Skip to content

Commit

Permalink
Update gem kramdown for site generation
Browse files Browse the repository at this point in the history
This update is to address CVE-2020-14001
GHSA-mqm2-cgpr-p4m6

The kramdown gem before 2.3.0 for Ruby processes the template option inside
Kramdown documents by default, which allows unintended read access
(such as template="/etc/passwd") or unintended embedded Ruby code execution
(such as a string that begins with template="string://<%= `).

NOTE: kramdown is used in Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum.

Signed-off-by: Vladimir Vivien <vivienv@vmware.com>
  • Loading branch information
vladimirvivien committed Aug 11, 2020
1 parent b5e4803 commit 1d8d0b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
build/
.DS_Store
.vscode
.idea

# we output results to this directory by default
/archive
Expand Down
2 changes: 1 addition & 1 deletion site/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GEM
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
kramdown (>= 2.3.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
Expand Down

0 comments on commit 1d8d0b2

Please sign in to comment.