UMCarpentries / umcarpentries.github.io

U-M Carpentries website
https://umcarpentries.github.io/
2 stars 10 forks source link

Update codebase to patch kramdown vulnerability. #20

Open jestill opened 3 years ago

jestill commented 3 years ago

I have a dependabot (https://dependabot.com/) scan running on repos I am attached to. It identified a high severity vulnerability in this code base. I pushed a button to fix it. I think that this should come through as a pull request.

jestill commented 3 years ago

Info from dependabot is

CVE-2020-14001 high severity Vulnerable versions: < 2.3.0 Patched version: 2.3.0 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.