bundler-audit 0.6.1 → 0.7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (402) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -1
  3. data/.travis.yml +3 -2
  4. data/ChangeLog.md +16 -0
  5. data/README.md +11 -11
  6. data/Rakefile +16 -10
  7. data/data/ruby-advisory-db.ts +1 -1
  8. data/data/ruby-advisory-db/CONTRIBUTING.md +16 -14
  9. data/data/ruby-advisory-db/CONTRIBUTORS.md +1 -0
  10. data/data/ruby-advisory-db/Gemfile +3 -1
  11. data/data/ruby-advisory-db/README.md +49 -15
  12. data/data/ruby-advisory-db/Rakefile +6 -10
  13. data/data/ruby-advisory-db/gems/Arabic-Prawn/{OSVDB-104365.yml → CVE-2014-2322.yml} +1 -1
  14. data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4995.yml +1 -1
  15. data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4996.yml +1 -1
  16. data/data/ruby-advisory-db/gems/actionmailer/{OSVDB-98629.yml → CVE-2013-4389.yml} +1 -1
  17. data/data/ruby-advisory-db/gems/actionpack-page_caching/CVE-2020-8159.yml +40 -0
  18. data/data/ruby-advisory-db/gems/actionpack/{OSVDB-79727.yml → CVE-2012-1099.yml} +1 -1
  19. data/data/ruby-advisory-db/gems/actionpack/{OSVDB-84243.yml → CVE-2012-3424.yml} +1 -1
  20. data/data/ruby-advisory-db/gems/actionpack/{OSVDB-84515.yml → CVE-2012-3463.yml} +1 -1
  21. data/data/ruby-advisory-db/gems/actionpack/{OSVDB-84513.yml → CVE-2012-3465.yml} +1 -1
  22. data/data/ruby-advisory-db/gems/actionpack/{OSVDB-89026.yml → CVE-2013-0156.yml} +1 -1
  23. data/data/ruby-advisory-db/gems/actionpack/{OSVDB-91452.yml → CVE-2013-1855.yml} +1 -1
  24. data/data/ruby-advisory-db/gems/actionpack/{OSVDB-91454.yml → CVE-2013-1857.yml} +1 -1
  25. data/data/ruby-advisory-db/gems/actionpack/{OSVDB-103439.yml → CVE-2014-0081.yml} +1 -1
  26. data/data/ruby-advisory-db/gems/actionpack/{OSVDB-103440.yml → CVE-2014-0082.yml} +2 -2
  27. data/data/ruby-advisory-db/gems/actionpack/CVE-2015-7576.yml +3 -0
  28. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-0751.yml +3 -0
  29. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-2097.yml +2 -1
  30. data/data/ruby-advisory-db/gems/actionpack/CVE-2020-8164.yml +49 -0
  31. data/data/ruby-advisory-db/gems/actionpack/CVE-2020-8166.yml +31 -0
  32. data/data/ruby-advisory-db/gems/actionview/CVE-2016-0752.yml +3 -0
  33. data/data/ruby-advisory-db/gems/actionview/CVE-2019-5418.yml +98 -0
  34. data/data/ruby-advisory-db/gems/actionview/CVE-2019-5419.yml +95 -0
  35. data/data/ruby-advisory-db/gems/actionview/CVE-2020-5267.yml +69 -0
  36. data/data/ruby-advisory-db/gems/actionview/CVE-2020-8163.yml +29 -0
  37. data/data/ruby-advisory-db/gems/actionview/CVE-2020-8167.yml +45 -0
  38. data/data/ruby-advisory-db/gems/active-support/CVE-2018-3779.yml +17 -0
  39. data/data/ruby-advisory-db/gems/activejob/CVE-2018-16476.yml +36 -0
  40. data/data/ruby-advisory-db/gems/activemodel/CVE-2016-0753.yml +3 -0
  41. data/data/ruby-advisory-db/gems/activerecord/{OSVDB-82610.yml → CVE-2012-2660.yml} +1 -1
  42. data/data/ruby-advisory-db/gems/activerecord/{OSVDB-82403.yml → CVE-2012-2661.yml} +1 -1
  43. data/data/ruby-advisory-db/gems/activerecord/{OSVDB-89025.yml → CVE-2013-0155.yml} +1 -1
  44. data/data/ruby-advisory-db/gems/activerecord/{OSVDB-90072.yml → CVE-2013-0276.yml} +1 -1
  45. data/data/ruby-advisory-db/gems/activerecord/{OSVDB-90073.yml → CVE-2013-0277.yml} +1 -1
  46. data/data/ruby-advisory-db/gems/activerecord/{OSVDB-91453.yml → CVE-2013-1854.yml} +1 -1
  47. data/data/ruby-advisory-db/gems/activerecord/{OSVDB-103438.yml → CVE-2014-0080.yml} +1 -1
  48. data/data/ruby-advisory-db/gems/activerecord/{OSVDB-108664.yml → CVE-2014-3482.yml} +1 -1
  49. data/data/ruby-advisory-db/gems/activerecord/{OSVDB-108665.yml → CVE-2014-3483.yml} +1 -1
  50. data/data/ruby-advisory-db/gems/activerecord/CVE-2015-7577.yml +3 -0
  51. data/data/ruby-advisory-db/gems/activeresource/CVE-2020-8151.yml +48 -0
  52. data/data/ruby-advisory-db/gems/activestorage/CVE-2018-16477.yml +43 -0
  53. data/data/ruby-advisory-db/gems/activestorage/CVE-2020-8162.yml +31 -0
  54. data/data/ruby-advisory-db/gems/activesupport/{OSVDB-79726.yml → CVE-2012-1098.yml} +1 -1
  55. data/data/ruby-advisory-db/gems/activesupport/{OSVDB-84516.yml → CVE-2012-3464.yml} +1 -1
  56. data/data/ruby-advisory-db/gems/activesupport/{OSVDB-89594.yml → CVE-2013-0333.yml} +1 -1
  57. data/data/ruby-advisory-db/gems/activesupport/{OSVDB-91451.yml → CVE-2013-1856.yml} +1 -1
  58. data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3226.yml +1 -0
  59. data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3227.yml +1 -0
  60. data/data/ruby-advisory-db/gems/activesupport/CVE-2020-8165.yml +41 -0
  61. data/data/ruby-advisory-db/gems/administrate/CVE-2020-5257.yml +24 -0
  62. data/data/ruby-advisory-db/gems/airbrake-ruby/CVE-2019-16060.yml +18 -0
  63. data/data/ruby-advisory-db/gems/archive-tar-minitar/CVE-2016-10173.yml +1 -1
  64. data/data/ruby-advisory-db/gems/authlogic/{OSVDB-89064.yml → CVE-2012-6497.yml} +1 -1
  65. data/data/ruby-advisory-db/gems/awesome-bot/CVE-2019-15224.yml +19 -0
  66. data/data/ruby-advisory-db/gems/backup-agoddard/{OSVDB-108578.yml → CVE-2014-4993.yml} +1 -1
  67. data/data/ruby-advisory-db/gems/backup_checksum/{OSVDB-108569.yml → CVE-2014-4993.yml} +1 -1
  68. data/data/ruby-advisory-db/gems/bibtex-ruby/CVE-2019-10780.yml +16 -0
  69. data/data/ruby-advisory-db/gems/bio-basespace-sdk/{OSVDB-101031.yml → CVE-2013-7111.yml} +1 -1
  70. data/data/ruby-advisory-db/gems/bitcoin_vanity/CVE-2019-15224.yml +18 -0
  71. data/data/ruby-advisory-db/gems/blockchain_wallet/CVE-2019-15224.yml +19 -0
  72. data/data/ruby-advisory-db/gems/bootstrap-sass/CVE-2016-10735.yml +20 -0
  73. data/data/ruby-advisory-db/gems/bootstrap-sass/CVE-2019-10842.yml +25 -0
  74. data/data/ruby-advisory-db/gems/bootstrap-sass/CVE-2019-8331.yml +20 -0
  75. data/data/ruby-advisory-db/gems/bootstrap/CVE-2016-10735.yml +20 -0
  76. data/data/ruby-advisory-db/gems/bootstrap/CVE-2018-14040.yml +24 -0
  77. data/data/ruby-advisory-db/gems/bootstrap/CVE-2019-8331.yml +20 -0
  78. data/data/ruby-advisory-db/gems/brakeman/CVE-2019-18409.yml +26 -0
  79. data/data/ruby-advisory-db/gems/brbackup/{OSVDB-108901.yml → CVE-2014-5004.yml} +1 -1
  80. data/data/ruby-advisory-db/gems/bson/CVE-2015-4411.yml +21 -0
  81. data/data/ruby-advisory-db/gems/bson/CVE-2015-4412.yml +5 -3
  82. data/data/ruby-advisory-db/gems/bundler/{OSVDB-110004.yml → CVE-2013-0334.yml} +1 -1
  83. data/data/ruby-advisory-db/gems/cairo/CVE-2017-7475.yml +15 -0
  84. data/data/ruby-advisory-db/gems/cap-strap/{OSVDB-108574.yml → CVE-2014-4992.yml} +1 -1
  85. data/data/ruby-advisory-db/gems/capistrano-colors/CVE-2019-15224.yml +19 -0
  86. data/data/ruby-advisory-db/gems/chartkick/CVE-2019-12732.yml +21 -0
  87. data/data/ruby-advisory-db/gems/chartkick/CVE-2019-18841.yml +13 -0
  88. data/data/ruby-advisory-db/gems/chloride/CVE-2018-6517.yml +17 -0
  89. data/data/ruby-advisory-db/gems/ciborg/{OSVDB-108586.yml → CVE-2014-5003.yml} +1 -1
  90. data/data/ruby-advisory-db/gems/cocaine/{OSVDB-98835.yml → CVE-2013-4457.yml} +1 -1
  91. data/data/ruby-advisory-db/gems/codders-dataset/CVE-2014-4991.yml +8 -0
  92. data/data/ruby-advisory-db/gems/coin_base/CVE-2019-15224.yml +18 -0
  93. data/data/ruby-advisory-db/gems/coming-soon/CVE-2019-15224.yml +18 -0
  94. data/data/ruby-advisory-db/gems/command_wrap/{OSVDB-91450.yml → CVE-2013-1875.yml} +1 -1
  95. data/data/ruby-advisory-db/gems/consul/CVE-2019-16377.yml +15 -0
  96. data/data/ruby-advisory-db/gems/crack/{OSVDB-90742.yml → CVE-2013-1800.yml} +1 -1
  97. data/data/ruby-advisory-db/gems/cremefraiche/{OSVDB-93395.yml → CVE-2013-2090.yml} +1 -1
  98. data/data/ruby-advisory-db/gems/cron_parser/CVE-2019-15224.yml +20 -0
  99. data/data/ruby-advisory-db/gems/curl/{OSVDB-91230.yml → CVE-2013-2617.yml} +1 -1
  100. data/data/ruby-advisory-db/gems/datagrid/CVE-2019-14281.yml +14 -0
  101. data/data/ruby-advisory-db/gems/delayed_job_web/CVE-2017-12097.yml +17 -0
  102. data/data/ruby-advisory-db/gems/devise/{OSVDB-89642.yml → CVE-2013-0233.yml} +1 -1
  103. data/data/ruby-advisory-db/gems/devise/CVE-2019-16109.yml +13 -0
  104. data/data/ruby-advisory-db/gems/devise/CVE-2019-5421.yml +16 -0
  105. data/data/ruby-advisory-db/gems/doge-coin/CVE-2019-15224.yml +19 -0
  106. data/data/ruby-advisory-db/gems/doorkeeper-openid_connect/CVE-2019-9837.yml +16 -0
  107. data/data/ruby-advisory-db/gems/doorkeeper/CVE-2018-1000088.yml +39 -0
  108. data/data/ruby-advisory-db/gems/doorkeeper/CVE-2018-1000211.yml +39 -0
  109. data/data/ruby-advisory-db/gems/doorkeeper/CVE-2020-10187.yml +34 -0
  110. data/data/ruby-advisory-db/gems/dragonfly/{OSVDB-90647.yml → CVE-2013-1756.yml} +1 -1
  111. data/data/ruby-advisory-db/gems/dragonfly/{OSVDB-96798.yml → CVE-2013-5671.yml} +1 -1
  112. data/data/ruby-advisory-db/gems/easymon/CVE-2018-1000855.yml +16 -0
  113. data/data/ruby-advisory-db/gems/echor/{OSVDB-102129.yml → CVE-2014-1834.yml} +1 -1
  114. data/data/ruby-advisory-db/gems/echor/{OSVDB-102130.yml → CVE-2014-1835.yml} +1 -1
  115. data/data/ruby-advisory-db/gems/excon/CVE-2019-16779.yml +23 -0
  116. data/data/ruby-advisory-db/gems/extlib/{OSVDB-90740.yml → CVE-2013-1802.yml} +1 -1
  117. data/data/ruby-advisory-db/gems/fastreader/{OSVDB-91232.yml → CVE-2013-2615.yml} +1 -1
  118. data/data/ruby-advisory-db/gems/fat_free_crm/{OSVDB-101445.yml → CVE-2013-7222.yml} +1 -1
  119. data/data/ruby-advisory-db/gems/fat_free_crm/{OSVDB-101446.yml → CVE-2013-7223.yml} +1 -1
  120. data/data/ruby-advisory-db/gems/fat_free_crm/{OSVDB-101447.yml → CVE-2013-7224.yml} +1 -1
  121. data/data/ruby-advisory-db/gems/fat_free_crm/{OSVDB-101448.yml → CVE-2013-7225.yml} +1 -1
  122. data/data/ruby-advisory-db/gems/fat_free_crm/{OSVDB-101700.yml → CVE-2013-7249.yml} +1 -1
  123. data/data/ruby-advisory-db/gems/fat_free_crm/{OSVDB-110420.yml → CVE-2014-5441.yml} +1 -1
  124. data/data/ruby-advisory-db/gems/fat_free_crm/{OSVDB-118465.yml → CVE-2015-1585.yml} +1 -1
  125. data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2018-1000842.yml +23 -0
  126. data/data/ruby-advisory-db/gems/fat_free_crm/CVE-2018-20975.yml +12 -0
  127. data/data/ruby-advisory-db/gems/faye/CVE-2020-11020.yml +91 -0
  128. data/data/ruby-advisory-db/gems/features/{OSVDB-96975.yml → CVE-2013-4318.yml} +1 -1
  129. data/data/ruby-advisory-db/gems/ffi/CVE-2018-1000201.yml +22 -0
  130. data/data/ruby-advisory-db/gems/field_test/CVE-2019-13146.yml +20 -0
  131. data/data/ruby-advisory-db/gems/fileutils/{OSVDB-90717.yml → CVE-2013-2516.yml} +5 -2
  132. data/data/ruby-advisory-db/gems/flash_tool/{OSVDB-90829.yml → CVE-2013-2513.yml} +1 -1
  133. data/data/ruby-advisory-db/gems/fog-dragonfly/{OSVDB-90647.yml → CVE-2013-1756.yml} +3 -1
  134. data/data/ruby-advisory-db/gems/fog-dragonfly/{OSVDB-96798.yml → CVE-2013-5671.yml} +1 -1
  135. data/data/ruby-advisory-db/gems/ftpd/{OSVDB-90784.yml → CVE-2013-2512.yml} +1 -1
  136. data/data/ruby-advisory-db/gems/geminabox/CVE-2017-16792.yml +21 -0
  137. data/data/ruby-advisory-db/gems/gemirro/CVE-2017-16833.yml +22 -0
  138. data/data/ruby-advisory-db/gems/gitlab-grit/{OSVDB-99370.yml → CVE-2013-4489.yml} +1 -1
  139. data/data/ruby-advisory-db/gems/grape/CVE-2018-3769.yml +20 -0
  140. data/data/ruby-advisory-db/gems/gtk2/{OSVDB-40774.yml → CVE-2007-6183.yml} +1 -1
  141. data/data/ruby-advisory-db/gems/gyazo/{OSVDB-108563.yml → CVE-2014-4994.yml} +1 -1
  142. data/data/ruby-advisory-db/gems/haml/CVE-2017-1002201.yml +19 -0
  143. data/data/ruby-advisory-db/gems/httparty/{OSVDB-90741.yml → CVE-2013-1801.yml} +1 -1
  144. data/data/ruby-advisory-db/gems/i18n/CVE-2014-10077.yml +18 -0
  145. data/data/ruby-advisory-db/gems/iodine/GHSA-85rf-xh54-whp3.yml +21 -0
  146. data/data/ruby-advisory-db/gems/jekyll/CVE-2018-17567.yml +14 -0
  147. data/data/ruby-advisory-db/gems/jquery-rails/CVE-2019-11358.yml +24 -0
  148. data/data/ruby-advisory-db/gems/jquery-ui-rails/CVE-2016-7103.yml +23 -0
  149. data/data/ruby-advisory-db/gems/json-jwt/CVE-2018-1000539.yml +21 -0
  150. data/data/ruby-advisory-db/gems/json-jwt/CVE-2019-18848.yml +15 -0
  151. data/data/ruby-advisory-db/gems/json/CVE-2013-0269.yml +20 -0
  152. data/data/ruby-advisory-db/gems/json/CVE-2020-10663.yml +35 -0
  153. data/data/ruby-advisory-db/gems/kafo/{OSVDB-106826.yml → CVE-2014-0135.yml} +1 -1
  154. data/data/ruby-advisory-db/gems/kajam/{OSVDB-108529.yml → CVE-2014-4999.yml} +1 -1
  155. data/data/ruby-advisory-db/gems/kaminari/CVE-2020-11082.yml +34 -0
  156. data/data/ruby-advisory-db/gems/karteek-docsplit/{OSVDB-92117.yml → CVE-2013-1933.yml} +1 -1
  157. data/data/ruby-advisory-db/gems/kcapifony/{OSVDB-108571.yml → CVE-2014-5001.yml} +1 -1
  158. data/data/ruby-advisory-db/gems/kelredd-pruview/{OSVDB-92228.yml → CVE-2013-1947.yml} +1 -1
  159. data/data/ruby-advisory-db/gems/lawn-login/{OSVDB-108576.yml → CVE-2014-5000.yml} +1 -1
  160. data/data/ruby-advisory-db/gems/ldap_fluff/{OSVDB-90579.yml → CVE-2012-5604.yml} +1 -1
  161. data/data/ruby-advisory-db/gems/ldoce/{OSVDB-91870.yml → CVE-2013-1911.yml} +1 -1
  162. data/data/ruby-advisory-db/gems/lean-ruport/{OSVDB-108581.yml → CVE-2014-4998.yml} +1 -1
  163. data/data/ruby-advisory-db/gems/lita_coin/CVE-2019-15224.yml +18 -0
  164. data/data/ruby-advisory-db/gems/loofah/CVE-2018-16468.yml +16 -0
  165. data/data/ruby-advisory-db/gems/loofah/CVE-2018-8048.yml +11 -0
  166. data/data/ruby-advisory-db/gems/loofah/CVE-2019-15587.yml +13 -0
  167. data/data/ruby-advisory-db/gems/lynx/{OSVDB-108580.yml → CVE-2014-5002.yml} +4 -1
  168. data/data/ruby-advisory-db/gems/mail/{OSVDB-70667.yml → CVE-2011-0739.yml} +1 -1
  169. data/data/ruby-advisory-db/gems/mail/{OSVDB-81631.yml → CVE-2012-2139.yml} +1 -1
  170. data/data/ruby-advisory-db/gems/mail/{OSVDB-81632.yml → CVE-2012-2140.yml} +1 -1
  171. data/data/ruby-advisory-db/gems/mail/{OSVDB-131677.yml → CVE-2015-9097.yml} +0 -0
  172. data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-129854.yml +4 -0
  173. data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-132871.yml +4 -0
  174. data/data/ruby-advisory-db/gems/marginalia/CVE-2019-1010191.yml +17 -0
  175. data/data/ruby-advisory-db/gems/matestack-ui-core/CVE-2020-5241.yml +18 -0
  176. data/data/ruby-advisory-db/gems/md2pdf/{OSVDB-92290.yml → CVE-2013-1948.yml} +1 -1
  177. data/data/ruby-advisory-db/gems/mini_magick/{OSVDB-91231.yml → CVE-2013-2616.yml} +1 -1
  178. data/data/ruby-advisory-db/gems/mini_magick/CVE-2019-13574.yml +14 -0
  179. data/data/ruby-advisory-db/gems/minitar/CVE-2016-10173.yml +5 -1
  180. data/data/ruby-advisory-db/gems/multi_xml/{OSVDB-89148.yml → CVE-2013-0175.yml} +1 -1
  181. data/data/ruby-advisory-db/gems/mysql-binuuid-rails/CVE-2018-18476.yml +21 -0
  182. data/data/ruby-advisory-db/gems/net-ldap/{OSVDB-106108.yml → CVE-2014-0083.yml} +1 -1
  183. data/data/ruby-advisory-db/gems/net-ldap/CVE-2017-17718.yml +17 -0
  184. data/data/ruby-advisory-db/gems/netaddr/CVE-2019-17383.yml +13 -0
  185. data/data/ruby-advisory-db/gems/newrelic_rpm/{OSVDB-90189.yml → CVE-2013-0284.yml} +1 -1
  186. data/data/ruby-advisory-db/gems/nokogiri/{OSVDB-90946.yml → CVE-2012-6685.yml} +1 -1
  187. data/data/ruby-advisory-db/gems/nokogiri/{OSVDB-101179.yml → CVE-2013-6460.yml} +1 -1
  188. data/data/ruby-advisory-db/gems/nokogiri/{OSVDB-101458.yml → CVE-2013-6461.yml} +1 -1
  189. data/data/ruby-advisory-db/gems/nokogiri/CVE-2016-4658.yml +1 -0
  190. data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-15412.yml +23 -0
  191. data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-16932.yml +21 -0
  192. data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-9050.yml +60 -0
  193. data/data/ruby-advisory-db/gems/nokogiri/CVE-2018-14404.yml +69 -0
  194. data/data/ruby-advisory-db/gems/nokogiri/CVE-2018-8048.yml +36 -0
  195. data/data/ruby-advisory-db/gems/nokogiri/CVE-2019-11068.yml +49 -0
  196. data/data/ruby-advisory-db/gems/nokogiri/CVE-2019-13117.yml +80 -0
  197. data/data/ruby-advisory-db/gems/nokogiri/CVE-2019-5477.yml +31 -0
  198. data/data/ruby-advisory-db/gems/nokogiri/CVE-2020-7595.yml +20 -0
  199. data/data/ruby-advisory-db/gems/nori/{OSVDB-90196.yml → CVE-2013-0285.yml} +1 -1
  200. data/data/ruby-advisory-db/gems/omniauth-facebook/{OSVDB-99693.yml → CVE-2013-4562.yml} +1 -1
  201. data/data/ruby-advisory-db/gems/omniauth-facebook/{OSVDB-99888.yml → CVE-2013-4593.yml} +1 -1
  202. data/data/ruby-advisory-db/gems/omniauth-oauth2/{OSVDB-90264.yml → CVE-2012-6134.yml} +1 -1
  203. data/data/ruby-advisory-db/gems/omniauth-saml/CVE-2017-11430.yml +17 -0
  204. data/data/ruby-advisory-db/gems/omniauth/CVE-2015-9284.yml +25 -0
  205. data/data/ruby-advisory-db/gems/omniauth/CVE-2017-18076.yml +18 -0
  206. data/data/ruby-advisory-db/gems/omniauth_amazon/CVE-2019-15224.yml +19 -0
  207. data/data/ruby-advisory-db/gems/openssl/CVE-2016-7798.yml +16 -0
  208. data/data/ruby-advisory-db/gems/ox/CVE-2017-15928.yml +16 -0
  209. data/data/ruby-advisory-db/gems/ox/CVE-2017-16229.yml +16 -0
  210. data/data/ruby-advisory-db/gems/padrino-contrib/CVE-2019-16145.yml +11 -0
  211. data/data/ruby-advisory-db/gems/paperclip/CVE-2017-0889.yml +23 -0
  212. data/data/ruby-advisory-db/gems/paranoid2/CVE-2019-13589.yml +16 -0
  213. data/data/ruby-advisory-db/gems/paratrooper-newrelic/{OSVDB-101839.yml → CVE-2014-1234.yml} +1 -1
  214. data/data/ruby-advisory-db/gems/paratrooper-pingdom/{OSVDB-101847.yml → CVE-2014-1233.yml} +1 -1
  215. data/data/ruby-advisory-db/gems/passenger/{OSVDB-93752.yml → CVE-2013-2119.yml} +1 -1
  216. data/data/ruby-advisory-db/gems/passenger/{OSVDB-94074.yml → CVE-2013-4136.yml} +1 -1
  217. data/data/ruby-advisory-db/gems/passenger/CVE-2014-1831.yml +1 -1
  218. data/data/ruby-advisory-db/gems/passenger/CVE-2014-1832.yml +1 -1
  219. data/data/ruby-advisory-db/gems/passenger/CVE-2016-10345.yml +3 -2
  220. data/data/ruby-advisory-db/gems/pdfkit/{OSVDB-90867.yml → CVE-2013-1607.yml} +1 -1
  221. data/data/ruby-advisory-db/gems/point-cli/{OSVDB-108577.yml → CVE-2014-4997.yml} +1 -1
  222. data/data/ruby-advisory-db/gems/private_address_check/CVE-2017-0904.yml +17 -0
  223. data/data/ruby-advisory-db/gems/private_address_check/CVE-2017-0909.yml +15 -0
  224. data/data/ruby-advisory-db/gems/private_address_check/CVE-2018-3759.yml +14 -0
  225. data/data/ruby-advisory-db/gems/puma/CVE-2019-16770.yml +21 -0
  226. data/data/ruby-advisory-db/gems/puma/CVE-2020-11076.yml +22 -0
  227. data/data/ruby-advisory-db/gems/puma/CVE-2020-11077.yml +31 -0
  228. data/data/ruby-advisory-db/gems/puma/CVE-2020-5247.yml +25 -0
  229. data/data/ruby-advisory-db/gems/puma/CVE-2020-5249.yml +36 -0
  230. data/data/ruby-advisory-db/gems/rack-cache/{OSVDB-83077.yml → CVE-2012-2671.yml} +1 -1
  231. data/data/ruby-advisory-db/gems/rack-cors/CVE-2017-11173.yml +21 -0
  232. data/data/ruby-advisory-db/gems/rack-cors/CVE-2019-18978.yml +13 -0
  233. data/data/ruby-advisory-db/gems/rack-protection/CVE-2018-1000119.yml +18 -0
  234. data/data/ruby-advisory-db/gems/rack-protection/CVE-2018-7212.yml +12 -0
  235. data/data/ruby-advisory-db/gems/rack-ssl/{OSVDB-104734.yml → CVE-2014-2538.yml} +1 -1
  236. data/data/ruby-advisory-db/gems/rack/{OSVDB-78121.yml → CVE-2011-5036.yml} +1 -1
  237. data/data/ruby-advisory-db/gems/rack/{OSVDB-89317.yml → CVE-2012-6109.yml} +1 -1
  238. data/data/ruby-advisory-db/gems/rack/{OSVDB-89320.yml → CVE-2013-0183.yml} +1 -1
  239. data/data/ruby-advisory-db/gems/rack/{OSVDB-89327.yml → CVE-2013-0184.yml} +1 -1
  240. data/data/ruby-advisory-db/gems/rack/{OSVDB-89938.yml → CVE-2013-0262.yml} +1 -1
  241. data/data/ruby-advisory-db/gems/rack/{OSVDB-89939.yml → CVE-2013-0263.yml} +1 -1
  242. data/data/ruby-advisory-db/gems/rack/CVE-2018-16470.yml +56 -0
  243. data/data/ruby-advisory-db/gems/rack/CVE-2018-16471.yml +80 -0
  244. data/data/ruby-advisory-db/gems/rack/CVE-2019-16782.yml +32 -0
  245. data/data/ruby-advisory-db/gems/rack/CVE-2020-8161.yml +32 -0
  246. data/data/ruby-advisory-db/gems/radiant/CVE-2018-5216.yml +12 -0
  247. data/data/ruby-advisory-db/gems/radiant/CVE-2018-7261.yml +13 -0
  248. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7578.yml +1 -1
  249. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7579.yml +1 -1
  250. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7580.yml +1 -1
  251. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2018-3741.yml +20 -0
  252. data/data/ruby-advisory-db/gems/rails_admin/CVE-2016-10522.yml +21 -0
  253. data/data/ruby-advisory-db/gems/rails_admin/CVE-2017-12098.yml +22 -0
  254. data/data/ruby-advisory-db/gems/railties/CVE-2019-5420.yml +49 -0
  255. data/data/ruby-advisory-db/gems/rake/CVE-2020-8130.yml +18 -0
  256. data/data/ruby-advisory-db/gems/rbovirt/{OSVDB-104080.yml → CVE-2014-0036.yml} +1 -1
  257. data/data/ruby-advisory-db/gems/rdoc/{OSVDB-90004.yml → CVE-2013-0256.yml} +1 -1
  258. data/data/ruby-advisory-db/gems/recurly/CVE-2017-0905.yml +35 -0
  259. data/data/ruby-advisory-db/gems/redis-store/CVE-2017-1000248.yml +17 -0
  260. data/data/ruby-advisory-db/gems/rest-client/CVE-2015-3448.yml +15 -0
  261. data/data/ruby-advisory-db/gems/rest-client/CVE-2019-15224.yml +13 -0
  262. data/data/ruby-advisory-db/gems/restforce/CVE-2018-3777.yml +36 -0
  263. data/data/ruby-advisory-db/gems/rexical/CVE-2019-5477.yml +21 -0
  264. data/data/ruby-advisory-db/gems/rgpg/{OSVDB-95948.yml → CVE-2013-4203.yml} +1 -1
  265. data/data/ruby-advisory-db/gems/rubocop/CVE-2017-8418.yml +20 -0
  266. data/data/ruby-advisory-db/gems/ruby-openid/CVE-2019-11027.yml +16 -0
  267. data/data/ruby-advisory-db/gems/ruby-saml/CVE-2016-5697.yml +4 -1
  268. data/data/ruby-advisory-db/gems/ruby-saml/CVE-2017-11428.yml +27 -0
  269. data/data/ruby-advisory-db/gems/ruby_parser-legacy/CVE-2019-18409.yml +16 -0
  270. data/data/ruby-advisory-db/gems/ruby_parser/{OSVDB-90561.yml → CVE-2013-0162.yml} +1 -1
  271. data/data/ruby-advisory-db/{libraries/rubygems/OSVDB-33561.yml → gems/rubygems-update/CVE-2007-0469.yml} +2 -1
  272. data/data/ruby-advisory-db/{libraries/rubygems/OSVDB-85809.yml → gems/rubygems-update/CVE-2012-2125.yml} +2 -1
  273. data/data/ruby-advisory-db/{libraries/rubygems/OSVDB-81444.yml → gems/rubygems-update/CVE-2012-2126.yml} +2 -1
  274. data/data/ruby-advisory-db/{libraries/rubygems → gems/rubygems-update}/CVE-2013-4287.yml +1 -0
  275. data/data/ruby-advisory-db/{libraries/rubygems → gems/rubygems-update}/CVE-2013-4363.yml +1 -0
  276. data/data/ruby-advisory-db/{libraries/rubygems → gems/rubygems-update}/CVE-2015-3900.yml +1 -0
  277. data/data/ruby-advisory-db/{libraries/rubygems → gems/rubygems-update}/CVE-2015-4020.yml +1 -0
  278. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0899.yml +16 -0
  279. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0900.yml +16 -0
  280. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0901.yml +16 -0
  281. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0902.yml +16 -0
  282. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2017-0903.yml +17 -0
  283. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8320.yml +21 -0
  284. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8321.yml +16 -0
  285. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8322.yml +16 -0
  286. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8323.yml +17 -0
  287. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8324.yml +18 -0
  288. data/data/ruby-advisory-db/gems/rubygems-update/CVE-2019-8325.yml +16 -0
  289. data/data/ruby-advisory-db/gems/rubyzip/CVE-2017-5946.yml +8 -5
  290. data/data/ruby-advisory-db/gems/rubyzip/CVE-2018-1000544.yml +19 -0
  291. data/data/ruby-advisory-db/gems/rubyzip/CVE-2019-16892.yml +13 -0
  292. data/data/ruby-advisory-db/gems/safemode/CVE-2017-7540.yml +16 -0
  293. data/data/ruby-advisory-db/gems/samlr/CVE-2018-20857.yml +16 -0
  294. data/data/ruby-advisory-db/gems/sanitize/CVE-2018-3740.yml +22 -0
  295. data/data/ruby-advisory-db/gems/secure_headers/CVE-2020-5216.yml +52 -0
  296. data/data/ruby-advisory-db/gems/secure_headers/CVE-2020-5217.yml +42 -0
  297. data/data/ruby-advisory-db/gems/sentry-raven/{OSVDB-115654.yml → CVE-2014-9490.yml} +1 -1
  298. data/data/ruby-advisory-db/gems/sfpagent/{OSVDB-105971.yml → CVE-2014-2888.yml} +1 -1
  299. data/data/ruby-advisory-db/gems/show_in_browser/{OSVDB-93490.yml → CVE-2013-2105.yml} +1 -1
  300. data/data/ruby-advisory-db/gems/simple_captcha2/CVE-2019-14282.yml +13 -0
  301. data/data/ruby-advisory-db/gems/simple_form/CVE-2019-16676.yml +15 -0
  302. data/data/ruby-advisory-db/gems/sinatra/CVE-2018-11627.yml +16 -0
  303. data/data/ruby-advisory-db/gems/sinatra/CVE-2018-7212.yml +19 -0
  304. data/data/ruby-advisory-db/gems/slanger/CVE-2019-1010306.yml +16 -0
  305. data/data/ruby-advisory-db/gems/smart_proxy_dynflow/CVE-2018-14643.yml +18 -0
  306. data/data/ruby-advisory-db/gems/sorcery/CVE-2020-11052.yml +27 -0
  307. data/data/ruby-advisory-db/gems/sounder/{OSVDB-96278.yml → CVE-2013-5647.yml} +1 -1
  308. data/data/ruby-advisory-db/gems/sprockets/CVE-2018-3760.yml +23 -0
  309. data/data/ruby-advisory-db/gems/sprout/{OSVDB-100598.yml → CVE-2013-6421.yml} +1 -1
  310. data/data/ruby-advisory-db/gems/strong_password/CVE-2019-13354.yml +19 -0
  311. data/data/ruby-advisory-db/gems/thumbshooter/{OSVDB-91839.yml → CVE-2013-1898.yml} +1 -1
  312. data/data/ruby-advisory-db/gems/twitter-bootstrap-rails/OSVDB-109206.yml +1 -1
  313. data/data/ruby-advisory-db/gems/user_agent_parser/CVE-2020-5243.yml +28 -0
  314. data/data/ruby-advisory-db/gems/webbynode/{OSVDB-100920.yml → CVE-2013-7086.yml} +1 -1
  315. data/data/ruby-advisory-db/gems/websocket-extensions/CVE-2020-7663.yml +35 -0
  316. data/data/ruby-advisory-db/gems/wicked/{OSVDB-98270.yml → CVE-2013-4413.yml} +1 -1
  317. data/data/ruby-advisory-db/gems/will_paginate/{OSVDB-101138.yml → CVE-2013-6459.yml} +1 -1
  318. data/data/ruby-advisory-db/gems/xaviershay-dm-rails/{OSVDB-118579.yml → CVE-2015-2179.yml} +1 -1
  319. data/data/ruby-advisory-db/gems/yajl-ruby/CVE-2017-16516.yml +19 -0
  320. data/data/ruby-advisory-db/gems/yard/CVE-2017-17042.yml +16 -0
  321. data/data/ruby-advisory-db/gems/yard/CVE-2019-1020001.yml +17 -0
  322. data/data/ruby-advisory-db/gems/yard/GHSA-xfhh-rx56-rxcr.yml +12 -0
  323. data/data/ruby-advisory-db/lib/github_advisory_sync.rb +296 -0
  324. data/data/ruby-advisory-db/libraries/rubygems +1 -0
  325. data/data/ruby-advisory-db/rubies/rbx/{OSVDB-87861.yml → CVE-2012-5372.yml} +0 -0
  326. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-46550.yml → CVE-2008-2662.yml} +0 -0
  327. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-46551.yml → CVE-2008-2663.yml} +0 -0
  328. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-46552.yml → CVE-2008-2664.yml} +0 -0
  329. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-46553.yml → CVE-2008-2725.yml} +0 -0
  330. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-46554.yml → CVE-2008-2726.yml} +0 -0
  331. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-47753.yml → CVE-2008-3790.yml} +0 -0
  332. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-55031.yml → CVE-2009-1904.yml} +0 -0
  333. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-60880.yml → CVE-2009-4124.yml} +0 -0
  334. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-61774.yml → CVE-2009-4492.yml} +0 -0
  335. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-65556.yml → CVE-2010-0541.yml} +0 -0
  336. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-66040.yml → CVE-2010-2489.yml} +0 -0
  337. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-70958.yml → CVE-2011-1004.yml} +0 -0
  338. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-70957.yml → CVE-2011-1005.yml} +0 -0
  339. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-74829.yml → CVE-2011-3389.yml} +1 -1
  340. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-78118.yml → CVE-2011-4815.yml} +0 -0
  341. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-87917.yml → CVE-2012-4522.yml} +0 -0
  342. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-87863.yml → CVE-2012-5371.yml} +0 -0
  343. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-90587.yml → CVE-2013-1821.yml} +0 -0
  344. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-93414.yml → CVE-2013-2065.yml} +0 -0
  345. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-94628.yml → CVE-2013-4073.yml} +0 -0
  346. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-100113.yml → CVE-2013-4164.yml} +0 -0
  347. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-105027.yml → CVE-2014-2525.yml} +0 -0
  348. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-107478.yml → CVE-2014-3916.yml} +0 -0
  349. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-108971.yml → CVE-2014-4975.yml} +0 -0
  350. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-113747.yml → CVE-2014-8080.yml} +0 -0
  351. data/data/ruby-advisory-db/rubies/ruby/{OSVDB-114641.yml → CVE-2014-8090.yml} +0 -0
  352. data/data/ruby-advisory-db/rubies/ruby/CVE-2015-9096.yml +1 -0
  353. data/data/ruby-advisory-db/rubies/ruby/CVE-2017-0898.yml +19 -0
  354. data/data/ruby-advisory-db/rubies/ruby/CVE-2017-10784.yml +25 -0
  355. data/data/ruby-advisory-db/rubies/ruby/CVE-2017-14033.yml +22 -0
  356. data/data/ruby-advisory-db/rubies/ruby/CVE-2017-14064.yml +20 -0
  357. data/data/ruby-advisory-db/rubies/ruby/CVE-2017-17405.yml +22 -0
  358. data/data/ruby-advisory-db/rubies/ruby/CVE-2017-17742.yml +22 -0
  359. data/data/ruby-advisory-db/rubies/ruby/CVE-2018-16395.yml +36 -0
  360. data/data/ruby-advisory-db/rubies/ruby/CVE-2018-16396.yml +26 -0
  361. data/data/ruby-advisory-db/rubies/ruby/CVE-2018-6914.yml +27 -0
  362. data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8777.yml +21 -0
  363. data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8778.yml +20 -0
  364. data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8779.yml +28 -0
  365. data/data/ruby-advisory-db/rubies/ruby/CVE-2018-8780.yml +22 -0
  366. data/data/ruby-advisory-db/rubies/ruby/CVE-2019-15845.yml +18 -0
  367. data/data/ruby-advisory-db/rubies/ruby/CVE-2019-16201.yml +15 -0
  368. data/data/ruby-advisory-db/rubies/ruby/CVE-2019-16254.yml +19 -0
  369. data/data/ruby-advisory-db/rubies/ruby/CVE-2019-16255.yml +20 -0
  370. data/data/ruby-advisory-db/rubies/ruby/CVE-2020-10663.yml +29 -0
  371. data/data/ruby-advisory-db/rubies/ruby/CVE-2020-10933.yml +25 -0
  372. data/data/ruby-advisory-db/spec/{gems_spec.rb → advisories_spec.rb} +3 -3
  373. data/data/ruby-advisory-db/spec/advisory_example.rb +34 -8
  374. data/data/ruby-advisory-db/spec/gem_example.rb +24 -2
  375. data/data/ruby-advisory-db/spec/ruby_example.rb +8 -2
  376. data/data/ruby-advisory-db/spec/schemas/gem.yml +71 -0
  377. data/data/ruby-advisory-db/spec/schemas/ruby.yml +36 -0
  378. data/data/ruby-advisory-db/spec/spec_helper.rb +1 -0
  379. data/gemspec.yml +1 -1
  380. data/lib/bundler/audit.rb +1 -1
  381. data/lib/bundler/audit/advisory.rb +47 -7
  382. data/lib/bundler/audit/cli.rb +15 -7
  383. data/lib/bundler/audit/database.rb +14 -5
  384. data/lib/bundler/audit/scanner.rb +5 -5
  385. data/lib/bundler/audit/version.rb +2 -2
  386. data/spec/advisory_spec.rb +112 -6
  387. data/spec/bundle/secure/Gemfile +1 -0
  388. data/spec/bundle/unpatched_gems/Gemfile +1 -1
  389. data/spec/cli_spec.rb +27 -0
  390. data/spec/database_spec.rb +40 -14
  391. data/spec/integration_spec.rb +3 -3
  392. data/spec/scanner_spec.rb +4 -3
  393. data/spec/spec_helper.rb +1 -13
  394. metadata +350 -164
  395. data/data/ruby-advisory-db/gems/codders-dataset/OSVDB-108582.yml +0 -8
  396. data/data/ruby-advisory-db/gems/codders-dataset/OSVDB-108583.yml +0 -8
  397. data/data/ruby-advisory-db/gems/json/OSVDB-101137.yml +0 -17
  398. data/data/ruby-advisory-db/gems/json/OSVDB-90074.yml +0 -23
  399. data/data/ruby-advisory-db/gems/rest-client/OSVDB-117461.yml +0 -13
  400. data/data/ruby-advisory-db/lib/osvdb_scrape.rb +0 -92
  401. data/data/ruby-advisory-db/rubies/ruby/OSVDB-120541.yml +0 -22
  402. data/data/ruby-advisory-db/rubies/ruby/OSVDB-87280.yml +0 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a3d576304278048394827d4322e8e4be389a2a899b3e22bff638a0aaffcf91a
4
- data.tar.gz: 025cf42cf42c6e868b1de3b07066aafe6e55878fe13f53f34c3e40396b44ba27
3
+ metadata.gz: c1c2ead83ab8d3dac034093a5ac034fbf3235fed7077e47c2f491a9f8fa24d6c
4
+ data.tar.gz: c520084f591d25b66f1524a1bfaa900297a6c4517e000f38ce46bc66fbdb812a
5
5
  SHA512:
6
- metadata.gz: 4485f6c903fcda454232c9305aaefb7d170edc6d6ea4bb8d766880a4135460dde1b3249cb28a87434ae3f01138d60c8bc0792e36b31e2b2893d314ae8cfb5acd
7
- data.tar.gz: c273401ad1f90286ff8a0981e858320cd2b14aa65718338ab7c54bb43b77cbf423848d982852217ab763e44b32ea9f6d977ce26e8dbc1f793cb405c52da3be82
6
+ metadata.gz: becd1a0bf6735ab08c3db5bd18199ceea5682e240a18ea2da88b8f9ff7c121ca11e5912613b559dc5916ff5db3e8e1d93627ead52e5a5bfc9f89ea574efb867d
7
+ data.tar.gz: 8a111e0b5e19eff5777bbe117560cc16f6d70a113fbb3d5059457557647a31ecef80f54956bb4f44d866d970579ed1fe19b0279aceed5355100b95a307a79491
data/.gitignore CHANGED
@@ -5,7 +5,6 @@ doc/
5
5
  .yardoc/
6
6
  coverage/
7
7
  pkg/
8
- spec/bundle/*/Gemfile.lock
9
8
  spec/bundle/*/.bundle/
10
9
  vendor/bundle/
11
10
  tmp/
@@ -4,10 +4,11 @@ rvm:
4
4
  - 2.4
5
5
  - 2.5
6
6
  - 2.6
7
+ - 2.7
7
8
  - jruby
8
- - rbx-3
9
+ - truffleruby
9
10
 
10
11
  matrix:
11
12
  allow_failures:
12
13
  - rvm: jruby
13
- - rvm: rbx-3
14
+ - rvm: truffleruby
@@ -1,3 +1,18 @@
1
+ ### 0.7.0.1 / 2020-06-12
2
+
3
+ * Forgot to populate `data/ruby-advisory-db`.
4
+
5
+ ### 0.7.0 / 2020-06-12
6
+
7
+ * Require [thor] >= 0.18, < 2.
8
+ * Added {Bundler::Audit::Advisory#ghsa} (@rschultheis).
9
+ * Added {Bundler::Audit::Advisory#cvss_v3} (@ahamlin-nr).
10
+ * Added {Bundler::Audit::Advisory#identifiers} (@rschultheis).
11
+ * Updated {Bundler::Audit::Advisory#criticality} ranges (@reedloden).
12
+ * Avoid rebasing the ruby-advisory-db when updating (@nicknovitski).
13
+ * Fixed issue with Bundler 2.x where source URIs are no longer parsed as
14
+ `URI::HTTP` objects, but as `Bundler::URI::HTTP` objects. (@milgner)
15
+
1
16
  ### 0.6.1 / 2019-01-17
2
17
 
3
18
  * Require bundler `>= 1.2.0, < 3` to support [bundler] 2.0.
@@ -126,4 +141,5 @@
126
141
  * [CVE-2013-0333](http://osvdb.org/show/osvdb/89594)
127
142
 
128
143
  [bundler]: http://gembundler.com/
144
+ [thor]: http://whatisthor.com/
129
145
  [ruby-advisory-db]: https://github.com/rubysec/ruby-advisory-db#readme
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # bundler-audit
2
+ [![Build Status](https://travis-ci.org/rubysec/bundler-audit.svg?branch=master)](https://travis-ci.org/rubysec/bundler-audit)
3
+ [![Code Climate](https://codeclimate.com/github/rubysec/bundler-audit.svg)](https://codeclimate.com/github/rubysec/bundler-audit)
2
4
 
3
5
  * [Homepage](https://github.com/rubysec/bundler-audit#readme)
4
6
  * [Issues](https://github.com/rubysec/bundler-audit/issues)
5
7
  * [Documentation](http://rubydoc.info/gems/bundler-audit/frames)
6
8
  * [Email](mailto:postmodern.mod3 at gmail.com)
7
- * [![Build Status](https://travis-ci.org/rubysec/bundler-audit.svg)](https://travis-ci.org/rubysec/bundler-audit)
8
- * [![Code Climate](https://codeclimate.com/github/rubysec/bundler-audit.svg)](https://codeclimate.com/github/rubysec/bundler-audit)
9
9
 
10
10
  ## Description
11
11
 
@@ -23,7 +23,7 @@ Patch-level verification for [bundler].
23
23
 
24
24
  Audit a project's `Gemfile.lock`:
25
25
 
26
- $ bundle audit
26
+ $ bundle-audit
27
27
  Name: actionpack
28
28
  Version: 3.2.10
29
29
  Advisory: OSVDB-91452
@@ -84,7 +84,7 @@ Audit a project's `Gemfile.lock`:
84
84
 
85
85
  Update the [ruby-advisory-db] that `bundle audit` uses:
86
86
 
87
- $ bundle audit update
87
+ $ bundle-audit update
88
88
  Updating ruby-advisory-db ...
89
89
  remote: Counting objects: 44, done.
90
90
  remote: Compressing objects: 100% (24/24), done.
@@ -110,11 +110,11 @@ Update the [ruby-advisory-db] that `bundle audit` uses:
110
110
 
111
111
  Update the [ruby-advisory-db] and check `Gemfile.lock` (useful for CI runs):
112
112
 
113
- $ bundle audit check --update
113
+ $ bundle-audit check --update
114
114
 
115
115
  Ignore specific advisories:
116
116
 
117
- $ bundle audit check --ignore OSVDB-108664
117
+ $ bundle-audit check --ignore OSVDB-108664
118
118
 
119
119
  Rake task:
120
120
 
@@ -129,22 +129,22 @@ task default: 'bundle:audit'
129
129
 
130
130
  * [ruby] >= 1.9.3
131
131
  * [rubygems] >= 1.8
132
- * [thor] ~> 0.18
132
+ * [thor] >= 0.18, < 2
133
133
  * [bundler] ~> 1.2
134
134
 
135
135
  ## Install
136
136
 
137
- $ gem install bundler-audit
137
+ $ [sudo] gem install bundler-audit
138
138
 
139
139
  ## Contributing
140
140
 
141
141
  1. Clone the repo
142
- 1. `git submodule update --init` # To populate data/ruby-advisory-db
143
- 1. `bundle exec rake`
142
+ 2. `git submodule update --init` # To populate data/ruby-advisory-db
143
+ 3. `bundle exec rake`
144
144
 
145
145
  ## License
146
146
 
147
- Copyright (c) 2013-2019 Hal Brodigan (postmodern.mod3 at gmail.com)
147
+ Copyright (c) 2013-2020 Hal Brodigan (postmodern.mod3 at gmail.com)
148
148
 
149
149
  bundler-audit is free software: you can redistribute it and/or modify
150
150
  it under the terms of the GNU General Public License as published by
data/Rakefile CHANGED
@@ -14,16 +14,20 @@ require 'time'
14
14
  require 'rubygems/tasks'
15
15
  Gem::Tasks.new
16
16
 
17
+ directory 'data/ruby-advisory-db' do
18
+ sh 'git', 'submodule', 'update', '--init'
19
+ end
20
+
17
21
  namespace :db do
18
22
  desc 'Updates data/ruby-advisory-db'
19
- task :update do
23
+ task :update => 'data/ruuby-advsisory-db' do
20
24
  timestamp = nil
21
25
 
22
26
  chdir 'data/ruby-advisory-db' do
23
27
  sh 'git', 'pull', 'origin', 'master'
24
28
 
25
29
  File.open('../ruby-advisory-db.ts','w') do |file|
26
- file.write Time.parse(`git log --pretty="%cd" -1`).utc
30
+ file.write Time.parse(`git log --date=iso8601 --pretty="%cd" -1`).utc
27
31
  end
28
32
  end
29
33
 
@@ -36,18 +40,20 @@ end
36
40
  require 'rspec/core/rake_task'
37
41
  RSpec::Core::RakeTask.new
38
42
 
39
- namespace :spec do
40
- task :bundle do
41
- root = 'spec/bundle'
43
+ %w[secure unpatched_gems insecure_sources].each do |bundle|
44
+ bundle_dir = File.join('spec/bundle',bundle)
45
+ gemfile = File.join(bundle_dir,'Gemfile')
46
+ gemfile_lock = File.join(bundle_dir,'Gemfile.lock')
42
47
 
43
- %w[secure unpatched_gems insecure_sources].each do |bundle|
44
- chdir(File.join(root,bundle)) do
45
- sh 'unset BUNDLE_BIN_PATH BUNDLE_GEMFILE RUBYOPT && bundle install --path ../../../vendor/bundle'
46
- end
48
+ file gemfile_lock => gemfile do
49
+ chdir(bundle_dir) do
50
+ sh 'unset BUNDLE_BIN_PATH BUNDLE_GEMFILE RUBYOPT && bundle install --path ../../../vendor/bundle'
47
51
  end
48
52
  end
53
+
54
+ desc "Generates the spec/bundler/*/Gemfile.lock files"
55
+ task 'spec:bundle' => gemfile_lock
49
56
  end
50
- task :spec => 'spec:bundle'
51
57
 
52
58
  task :test => :spec
53
59
  task :default => :spec
@@ -1 +1 @@
1
- 2017-06-13 16:51:56 UTC
1
+ 2020-06-12 22:55:28 UTC
@@ -16,6 +16,7 @@ bundle exec rspec
16
16
  ---
17
17
  gem: examplegem
18
18
  cve: 2013-0156
19
+ date: 2013-05-01
19
20
  url: https://github.com/rubysec/ruby-advisory-db/issues/123456
20
21
  title: |
21
22
  Ruby on Rails params_parser.rb Action Pack Type Casting Parameter Parsing
@@ -28,6 +29,7 @@ bundle exec rspec
28
29
  arbitrary code.
29
30
 
30
31
  cvss_v2: 10.0
32
+ cvss_v3: 9.8
31
33
 
32
34
  patched_versions:
33
35
  - ~> 2.3.15
@@ -47,23 +49,23 @@ bundle exec rspec
47
49
  ```
48
50
  ### Schema
49
51
 
50
- * `gem` \[String\]: Name of the affected gem.
51
- * `framework` \[String\] (optional): Name of framework gem belongs to.
52
- * `platform` \[String\] (optional): If this vulnerability is platform-specific, name of platform this vulnerability affects (e.g. JRuby)
53
- * `cve` \[String\]: CVE id.
54
- * `osvdb` \[Integer\]: OSVDB id.
55
- * `url` \[String\]: The URL to the full advisory.
56
- * `title` \[String\]: The title of the advisory.
57
- * `date` \[Date\]: Disclosure date of the advisory.
58
- * `description` \[String\]: Multi-paragraph description of the vulnerability.
59
- * `cvss_v2` \[Float\]: The [CVSSv2] score for the vulnerability.
60
- * `cvss_v3` \[Float\]: The [CVSSv3] score for the vulnerability.
52
+ * `gem` \[String\] (required): Name of the affected gem.
53
+ * `framework` \[String\] (optional): Name of the framework which the affected gem belongs to.
54
+ * `platform` \[String\] (optional): If this vulnerability is platform-specific, name of platform this vulnerability affects (e.g. jruby)
55
+ * `cve` \[String\] (optional): Common Vulnerabilities and Exposures (CVE) ID.
56
+ * `osvdb` \[Integer\] (optional): Open Sourced Vulnerability Database (OSVDB) ID.
57
+ * `ghsa` \[String\] (optional): GitHub Security Advisory (GHSA) ID.
58
+ * `url` \[String\] (required): The URL to the full advisory.
59
+ * `title` \[String\] (required): The title of the advisory or individual vulnerability.
60
+ * `date` \[Date\] (required): The public disclosure date of the advisory.
61
+ * `description` \[String\] (required): One or more paragraphs describing the vulnerability.
62
+ * `cvss_v2` \[Float\] (optional): The [CVSSv2] score for the vulnerability.
63
+ * `cvss_v3` \[Float\] (optional): The [CVSSv3] score for the vulnerability.
61
64
  * `unaffected_versions` \[Array\<String\>\] (optional): The version requirements for the
62
65
  unaffected versions of the Ruby library.
63
- * `patched_versions` \[Array\<String\>\]: The version requirements for the
66
+ * `patched_versions` \[Array\<String\>\] (optional): The version requirements for the
64
67
  patched versions of the Ruby library.
65
- * `related` \[Hash\<Array\<String\>\>\]: Sometimes an advisory references many urls and cves. Supported keys: `cve` and `url`
66
-
68
+ * `related` \[Hash\<Array\<String\>\>\] (optional): Sometimes an advisory references many urls and cves. Supported keys: `cve` and `url`
67
69
 
68
70
  [CVSSv2]: https://www.first.org/cvss/v2/guide
69
71
  [CVSSv3]: https://www.first.org/cvss/user-guide
@@ -36,5 +36,6 @@ This database would not be possible without volunteers willing to submit pull re
36
36
  * [Reed Loden](https://github.com/reedloden)
37
37
  * [ecneladis](https://github.com/ecneladis)
38
38
  * [Brendan Coles](https://github.com/bcoles)
39
+ * [Florian Wininger](https://github.com/fwininger)
39
40
 
40
41
  The rubysec.com domain was graciously donated by [Jordi Massaguer](https://github.com/jordimassaguerpla).
@@ -1,7 +1,9 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rspec'
3
+ gem 'faraday'
4
4
  gem 'rake'
5
+ gem 'kwalify'
6
+ gem 'rspec'
5
7
 
6
8
  group :development do
7
9
  gem 'pry'
@@ -27,6 +27,7 @@ Each advisory file contains the advisory information in [YAML] format:
27
27
  ---
28
28
  gem: examplegem
29
29
  cve: 2013-0156
30
+ date: 2013-05-01
30
31
  url: https://github.com/rubysec/ruby-advisory-db/issues/123456
31
32
  title: |
32
33
  Ruby on Rails params_parser.rb Action Pack Type Casting Parameter Parsing
@@ -39,6 +40,7 @@ Each advisory file contains the advisory information in [YAML] format:
39
40
  arbitrary code.
40
41
 
41
42
  cvss_v2: 10.0
43
+ cvss_v3: 9.8
42
44
 
43
45
  patched_versions:
44
46
  - ~> 2.3.15
@@ -58,22 +60,24 @@ Each advisory file contains the advisory information in [YAML] format:
58
60
 
59
61
  ### Schema
60
62
 
61
- * `gem` \[String\]: Name of the affected gem.
62
- * `framework` \[String\] (optional): Name of framework gem belongs to.
63
- * `platform` \[String\] (optional): If this vulnerability is platform-specific, name of platform this vulnerability affects (e.g. JRuby)
64
- * `cve` \[String\]: CVE id.
65
- * `osvdb` \[Integer\]: OSVDB id.
66
- * `url` \[String\]: The URL to the full advisory.
67
- * `title` \[String\]: The title of the advisory.
68
- * `date` \[Date\]: Disclosure date of the advisory.
69
- * `description` \[String\]: Multi-paragraph description of the vulnerability.
70
- * `cvss_v2` \[Float\]: The [CVSSv2] score for the vulnerability.
71
- * `cvss_v3` \[Float\]: The [CVSSv3] score for the vulnerability.
63
+ * `gem` \[String\] (required): Name of the affected gem.
64
+ * `framework` \[String\] (optional): Name of the framework which the affected
65
+ gem belongs to.
66
+ * `platform` \[String\] (optional): If this vulnerability is platform-specific, name of platform this vulnerability affects (e.g. jruby)
67
+ * `cve` \[String\] (optional): Common Vulnerabilities and Exposures (CVE) ID.
68
+ * `osvdb` \[Integer\] (optional): Open Sourced Vulnerability Database (OSVDB) ID.
69
+ * `ghsa` \[String\] (optional): GitHub Security Advisory (GHSA) ID.
70
+ * `url` \[String\] (required): The URL to the full advisory.
71
+ * `title` \[String\] (required): The title of the advisory or individual vulnerability.
72
+ * `date` \[Date\] (required): The public disclosure date of the advisory.
73
+ * `description` \[String\] (required): One or more paragraphs describing the vulnerability.
74
+ * `cvss_v2` \[Float\] (optional): The [CVSSv2] score for the vulnerability.
75
+ * `cvss_v3` \[Float\] (optional): The [CVSSv3] score for the vulnerability.
72
76
  * `unaffected_versions` \[Array\<String\>\] (optional): The version requirements for the
73
77
  unaffected versions of the Ruby library.
74
- * `patched_versions` \[Array\<String\>\]: The version requirements for the
78
+ * `patched_versions` \[Array\<String\>\] (optional): The version requirements for the
75
79
  patched versions of the Ruby library.
76
- * `related` \[Hash\<Array\<String\>\>\]: Sometimes an advisory references many urls and cves. Supported keys: `cve` and `url`
80
+ * `related` \[Hash\<Array\<String\>\>\] (optional): Sometimes an advisory references many urls and other identifiers. Supported keys: `cve`, `ghsa`, `osvdb`, and `url`
77
81
 
78
82
  ### Tests
79
83
  Prior to submitting a pull request, run the tests:
@@ -83,16 +87,46 @@ bundle install
83
87
  bundle exec rspec
84
88
  ```
85
89
 
90
+ ### GitHub Advisory Sync
91
+
92
+ There is a script that will create initial yaml files for RubyGem advisories which
93
+ are in the [GitHub Security Advisory API](https://developer.github.com/v4/object/securityadvisory/),
94
+ but are not already in this dataset. This script can be periodically run to ensure
95
+ this repo has all the data that is present in the GitHub Advisory data.
96
+
97
+ The GitHub Advisory API requires a token to access it.
98
+ - It can be a completely scopeless token (recommended); it does not require any permissions at all.
99
+ - Get yours at https://github.com/settings/tokens
100
+
101
+ To run the GitHub Advisory sync, start by executing the rake task:
102
+ ```
103
+ GH_API_TOKEN=<your GitHub API Token> bundle exec rake sync_github_advisories
104
+ ```
105
+
106
+ - The rake task will write yaml files for any missing advisories.
107
+ - Those files must be further edited.
108
+ - Fill in `cvss_v3` field by following the CVE link and getting it from page
109
+ - Fill in `patched_versions` field, using the comments at the bottom of the file
110
+ - Fill in `unaffected_versions`, optional, if there are unaffected_versions
111
+ - delete the GitHub data at the bottom of the yaml file
112
+ - double check all the data, commit it, and make a PR
113
+ - *The GitHub Advisory data is structured opposite of RubySec unfortunately:
114
+ GitHub identifies version range which are vulnerable; RubySec identifies
115
+ version ranges which are not vulnerable. This is why some manual
116
+ work to translate is needed.*
117
+
118
+
86
119
  ## Credits
87
120
 
88
121
  Please see [CONTRIBUTORS.md].
89
122
 
90
- This database also includes data from the [Open Source Vulnerability Database][OSVDB]
123
+ This database also includes data from the [Open Sourced Vulnerability Database][OSVDB]
91
124
  developed by the Open Security Foundation (OSF) and its contributors.
92
125
 
93
126
  [rubygems.org]: https://rubygems.org/
94
- [CVE]: http://cve.mitre.org/
127
+ [CVE]: https://cve.mitre.org/
95
128
  [OSVDB]: http://www.osvdb.org/
129
+ [GHSA]: https://help.github.com/en/articles/about-maintainer-security-advisories
96
130
  [CVSSv2]: https://www.first.org/cvss/v2/guide
97
131
  [CVSSv3]: https://www.first.org/cvss/user-guide
98
132
  [YAML]: http://www.yaml.org/
@@ -10,17 +10,13 @@ namespace :lint do
10
10
  abort "Please run `gem install rspec` to install RSpec."
11
11
  end
12
12
  end
13
+ end
13
14
 
14
- task :cve do
15
- Dir.glob('{gems,libraries,rubies}/*/*.yml') do |path|
16
- advisory = YAML.load_file(path)
17
-
18
- unless advisory['cve']
19
- puts "Missing CVE: #{path}"
20
- end
21
- end
22
- end
15
+ desc "Sync GitHub RubyGem Advisories into this project"
16
+ task :sync_github_advisories do
17
+ require_relative "lib/github_advisory_sync"
18
+ GitHub::GitHubAdvisorySync.sync
23
19
  end
24
20
 
25
- task :lint => ['lint:yaml', 'lint:cve']
21
+ task :lint => ['lint:yaml']
26
22
  task :default => :lint
@@ -2,7 +2,7 @@
2
2
  gem: Arabic-Prawn
3
3
  cve: 2014-2322
4
4
  osvdb: 104365
5
- url: http://osvdb.org/show/osvdb/104365
5
+ url: https://nvd.nist.gov/vuln/detail/CVE-2014-2322
6
6
  title: Arabic Prawn Gem for Ruby lib/string_utf_support.rb User Input Handling Remote Command Injection
7
7
  date: 2014-03-10
8
8
  description: |
@@ -2,7 +2,7 @@
2
2
  gem: VladTheEnterprising
3
3
  cve: 2014-4995
4
4
  osvdb: 108728
5
- url: http://www.osvdb.org/show/osvdb/108728
5
+ url: https://nvd.nist.gov/vuln/detail/CVE-2014-4995
6
6
  title: VladTheEnterprising Gem for Ruby /tmp/my.cnf.#{target_host} Symlink Multiple Impact
7
7
  date: 2014-06-30
8
8
  description: |
@@ -2,7 +2,7 @@
2
2
  gem: VladTheEnterprising
3
3
  cve: 2014-4996
4
4
  osvdb: 108728
5
- url: http://www.osvdb.org/show/osvdb/108728
5
+ url: https://nvd.nist.gov/vuln/detail/CVE-2014-4996
6
6
  title: VladTheEnterprising Gem for Ruby /tmp/my.cnf.#{target_host} Symlink Multiple Impact
7
7
  date: 2014-06-30
8
8
  description: |
@@ -2,7 +2,7 @@
2
2
  gem: actionmailer
3
3
  cve: 2013-4389
4
4
  osvdb: 98629
5
- url: http://www.osvdb.org/show/osvdb/98629
5
+ url: https://nvd.nist.gov/vuln/detail/CVE-2013-4389
6
6
  title: Action Mailer Gem for Ruby contains a possible DoS Vulnerability
7
7
  date: 2013-10-16
8
8
  description: Action Mailer Gem for Ruby contains a format string flaw in
@@ -0,0 +1,40 @@
1
+ ---
2
+ gem: actionpack-page_caching
3
+ cve: 2020-8159
4
+ url: https://groups.google.com/forum/#!topic/rubyonrails-security/CFRVkEytdP8
5
+ date: 2020-05-06
6
+ title: Arbitrary file write/potential remote code execution in actionpack-page_caching
7
+ description: |
8
+ There is a vulnerability in the actionpack-page_caching gem that allows an attacker
9
+ to write arbitrary files to a web server, potentially resulting in remote code execution
10
+ if the attacker can write unescaped ERB to a view.
11
+
12
+ Versions Affected: All versions of actionpack-page_caching (part of Rails prior to Rails 4.0)
13
+ Not affected: Applications not using actionpack-page_caching
14
+ Fixed Versions: actionpack-page_caching >= 1.2.1
15
+
16
+ Impact
17
+ ------
18
+
19
+ The Action Pack Page Caching gem writes cache files to the file system in
20
+ order for the front end webserver (nginx, Apache, etc) to serve the cached
21
+ file without making a request to the application server. Paths contain what
22
+ is effectively user input can be used to manipulate the location of the cache
23
+ file.
24
+
25
+ For example "/users/123" could be changed to "/users/../../../foo" and this
26
+ will escape the cache directory. Attackers can use this technique to
27
+ springboard to an RCE if they can write arbitrary ERb to a view folder.
28
+
29
+ Impacted code looks like this:
30
+
31
+ ```
32
+ class BooksController < ApplicationController
33
+ caches_page :show
34
+ end
35
+ ```
36
+
37
+ Where the `show` action of the `BooksController` may be vulnerable.
38
+
39
+ patched_versions:
40
+ - ">= 1.2.1"