rubysec / ruby-advisory-db

A database of vulnerable Ruby Gems

Home Page:https://rubysec.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Pre585] Write a lint check for: multiple-cve-1-ghsa-in-1-dir in support of issue #580

jasnow opened this issue · comments

Write a lint check for: multiple-cve-1-ghsa-in-1-dir in support of issue #580.

git grep "^ghsa:" |sed -e "s,CVE-.*ghsa:,," |sort |uniq -d

This script found the advisories fixed in #660.

Current testcase:

gems/bootstrap/CVE-2018-14040.yml:ghsa: 3wqf-4x89-9g79
gems/bootstrap/CVE-2018-14041.yml:ghsa: 3wqf-4x89-9g79