Open y4utj4 opened 6 years ago
Thanks @y4utj4, you are correct and the script needs to be updated. You can get around the issue by cloning an older version of VulnDB. From the root directory of vulndb run:
git checkout 59d87559c7cba869dba425cb38da36c25a00fb91
Then re-run the script, it should import fine.
I'd like to start shipping VulnDB data with Serpico. The licenses are compatible (BSD 3).
The plan:
Hi @BuffaloWill, this would be a comprehensive steps list to make things working at this stage.
Overall, it would be really nice to have this project updated. I think you did an amazing job, tbh. Thank you!
OS: Ubuntu 18.04
A possible automated script:
#!/usr/bin/env bash
clear
echo "[*] Configuring rbenv for you...stand by!"
sudo apt update
sudo apt install git curl libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev
export PATH="$HOME/.rbenv/bin:$PATH" >> ~/.bashrc
eval "$(rbenv init -)" >> ~/.bashrc
source ~/.bashrc
curl -sL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash -
That would be all!
Please fill out the Bug Form or Feature Request Below
Bug
Describe the issue and steps to reproduce Import_VulnDB script mentioned from the wiki no longer works as a pointer to the vulnerabilitiy's description is throwing an error "scripts/import_vulndb.rb:35:in
block in <main>': undefined method
join' for {"$ref"=>"#/files/description/43"}:Hash (NoMethodError)".It looks as though the VulnDB repository was updated to put descriptions into a folder in preparation for multiple languages and a pointer is used to reference the description instead of the description as well.