bundler-audit 0.6.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (426) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +3 -0
  3. data/.github/workflows/ruby.yml +29 -0
  4. data/.gitignore +1 -1
  5. data/.rspec +1 -1
  6. data/ChangeLog.md +81 -4
  7. data/Gemfile +1 -1
  8. data/README.md +71 -15
  9. data/Rakefile +10 -27
  10. data/bundler-audit.gemspec +0 -7
  11. data/gemspec.yml +2 -2
  12. data/lib/bundler/audit.rb +1 -1
  13. data/lib/bundler/audit/advisory.rb +58 -7
  14. data/lib/bundler/audit/cli.rb +93 -84
  15. data/lib/bundler/audit/cli/formats.rb +144 -0
  16. data/lib/bundler/audit/cli/formats/json.rb +51 -0
  17. data/lib/bundler/audit/cli/formats/text.rb +118 -0
  18. data/lib/bundler/audit/cli/thor_ext/shell/basic/say_error.rb +33 -0
  19. data/lib/bundler/audit/configuration.rb +105 -0
  20. data/lib/bundler/audit/database.rb +144 -28
  21. data/lib/bundler/audit/report.rb +149 -0
  22. data/lib/bundler/audit/results.rb +19 -0
  23. data/lib/bundler/audit/results/insecure_source.rb +75 -0
  24. data/lib/bundler/audit/results/result.rb +21 -0
  25. data/lib/bundler/audit/results/unpatched_gem.rb +94 -0
  26. data/lib/bundler/audit/scanner.rb +99 -26
  27. data/lib/bundler/audit/task.rb +2 -4
  28. data/lib/bundler/audit/version.rb +2 -2
  29. data/spec/advisory_spec.rb +145 -20
  30. data/spec/bundle/secure/Gemfile +1 -0
  31. data/spec/bundle/unpatched_gems/Gemfile +1 -1
  32. data/spec/bundle/unpatched_gems_with_dot_configuration/.bundler-audit.yml +3 -0
  33. data/spec/bundle/unpatched_gems_with_dot_configuration/Gemfile +3 -0
  34. data/spec/cli/formats/json_spec.rb +113 -0
  35. data/spec/cli/formats/text_spec.rb +203 -0
  36. data/spec/cli/formats_spec.rb +86 -0
  37. data/spec/cli_spec.rb +56 -17
  38. data/spec/configuration_spec.rb +78 -0
  39. data/spec/database_spec.rb +261 -38
  40. data/spec/fixtures/advisory/CVE-2020-1234.yml +20 -0
  41. data/spec/fixtures/{not_a_hash.yml → advisory/not_a_hash.yml} +0 -0
  42. data/spec/fixtures/config/bad/empty.yml +0 -0
  43. data/spec/fixtures/config/bad/ignore_contains_a_non_string.yml +4 -0
  44. data/spec/fixtures/config/bad/ignore_is_not_an_array.yml +3 -0
  45. data/spec/fixtures/config/valid.yml +4 -0
  46. data/spec/fixtures/lib/bundler/audit/cli/formats/bad.rb +19 -0
  47. data/spec/fixtures/lib/bundler/audit/cli/formats/good.rb +19 -0
  48. data/spec/integration_spec.rb +17 -89
  49. data/spec/report_spec.rb +98 -0
  50. data/spec/results/insecure_source_spec.rb +47 -0
  51. data/spec/results/result_spec.rb +10 -0
  52. data/spec/results/unpatched_gem_spec.rb +123 -0
  53. data/spec/scanner_spec.rb +66 -34
  54. data/spec/spec_helper.rb +37 -36
  55. metadata +40 -380
  56. data/.gitmodules +0 -3
  57. data/.travis.yml +0 -13
  58. data/data/ruby-advisory-db.ts +0 -1
  59. data/data/ruby-advisory-db/.gitignore +0 -1
  60. data/data/ruby-advisory-db/.rspec +0 -1
  61. data/data/ruby-advisory-db/.travis.yml +0 -12
  62. data/data/ruby-advisory-db/CONTRIBUTING.md +0 -69
  63. data/data/ruby-advisory-db/CONTRIBUTORS.md +0 -40
  64. data/data/ruby-advisory-db/Gemfile +0 -9
  65. data/data/ruby-advisory-db/LICENSE.txt +0 -5
  66. data/data/ruby-advisory-db/README.md +0 -99
  67. data/data/ruby-advisory-db/Rakefile +0 -26
  68. data/data/ruby-advisory-db/gems/Arabic-Prawn/OSVDB-104365.yml +0 -12
  69. data/data/ruby-advisory-db/gems/RedCloth/CVE-2012-6684.yml +0 -21
  70. data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4995.yml +0 -13
  71. data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4996.yml +0 -13
  72. data/data/ruby-advisory-db/gems/actionmailer/OSVDB-98629.yml +0 -17
  73. data/data/ruby-advisory-db/gems/actionpack/CVE-2014-0130.yml +0 -23
  74. data/data/ruby-advisory-db/gems/actionpack/CVE-2014-7818.yml +0 -24
  75. data/data/ruby-advisory-db/gems/actionpack/CVE-2014-7829.yml +0 -26
  76. data/data/ruby-advisory-db/gems/actionpack/CVE-2015-7576.yml +0 -116
  77. data/data/ruby-advisory-db/gems/actionpack/CVE-2015-7581.yml +0 -55
  78. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-0751.yml +0 -71
  79. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-0752.yml +0 -96
  80. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-2097.yml +0 -90
  81. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-2098.yml +0 -89
  82. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-6316.yml +0 -57
  83. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100524.yml +0 -20
  84. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100525.yml +0 -21
  85. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100526.yml +0 -27
  86. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100527.yml +0 -24
  87. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100528.yml +0 -22
  88. data/data/ruby-advisory-db/gems/actionpack/OSVDB-103439.yml +0 -24
  89. data/data/ruby-advisory-db/gems/actionpack/OSVDB-103440.yml +0 -22
  90. data/data/ruby-advisory-db/gems/actionpack/OSVDB-74616.yml +0 -18
  91. data/data/ruby-advisory-db/gems/actionpack/OSVDB-77199.yml +0 -23
  92. data/data/ruby-advisory-db/gems/actionpack/OSVDB-79727.yml +0 -26
  93. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84243.yml +0 -28
  94. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84513.yml +0 -23
  95. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84515.yml +0 -26
  96. data/data/ruby-advisory-db/gems/actionpack/OSVDB-89026.yml +0 -24
  97. data/data/ruby-advisory-db/gems/actionpack/OSVDB-91452.yml +0 -20
  98. data/data/ruby-advisory-db/gems/actionpack/OSVDB-91454.yml +0 -23
  99. data/data/ruby-advisory-db/gems/actionview/CVE-2016-0752.yml +0 -92
  100. data/data/ruby-advisory-db/gems/actionview/CVE-2016-2097.yml +0 -89
  101. data/data/ruby-advisory-db/gems/actionview/CVE-2016-6316.yml +0 -56
  102. data/data/ruby-advisory-db/gems/activemodel/CVE-2016-0753.yml +0 -92
  103. data/data/ruby-advisory-db/gems/activerecord-jdbc-adapter/OSVDB-114854.yml +0 -20
  104. data/data/ruby-advisory-db/gems/activerecord-oracle_enhanced-adapter/OSVDB-95376.yml +0 -15
  105. data/data/ruby-advisory-db/gems/activerecord/CVE-2014-3514.yml +0 -23
  106. data/data/ruby-advisory-db/gems/activerecord/CVE-2015-7577.yml +0 -107
  107. data/data/ruby-advisory-db/gems/activerecord/CVE-2016-6317.yml +0 -73
  108. data/data/ruby-advisory-db/gems/activerecord/OSVDB-103438.yml +0 -23
  109. data/data/ruby-advisory-db/gems/activerecord/OSVDB-108664.yml +0 -23
  110. data/data/ruby-advisory-db/gems/activerecord/OSVDB-108665.yml +0 -24
  111. data/data/ruby-advisory-db/gems/activerecord/OSVDB-82403.yml +0 -25
  112. data/data/ruby-advisory-db/gems/activerecord/OSVDB-82610.yml +0 -24
  113. data/data/ruby-advisory-db/gems/activerecord/OSVDB-88661.yml +0 -20
  114. data/data/ruby-advisory-db/gems/activerecord/OSVDB-89025.yml +0 -24
  115. data/data/ruby-advisory-db/gems/activerecord/OSVDB-90072.yml +0 -21
  116. data/data/ruby-advisory-db/gems/activerecord/OSVDB-90073.yml +0 -23
  117. data/data/ruby-advisory-db/gems/activerecord/OSVDB-91453.yml +0 -26
  118. data/data/ruby-advisory-db/gems/activeresource/OSVDB-95749.yml +0 -15
  119. data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3226.yml +0 -54
  120. data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3227.yml +0 -32
  121. data/data/ruby-advisory-db/gems/activesupport/OSVDB-79726.yml +0 -26
  122. data/data/ruby-advisory-db/gems/activesupport/OSVDB-84516.yml +0 -23
  123. data/data/ruby-advisory-db/gems/activesupport/OSVDB-89594.yml +0 -25
  124. data/data/ruby-advisory-db/gems/activesupport/OSVDB-91451.yml +0 -28
  125. data/data/ruby-advisory-db/gems/administrate/CVE-2016-3098.yml +0 -14
  126. data/data/ruby-advisory-db/gems/aescrypt/CVE-2013-7463.yml +0 -10
  127. data/data/ruby-advisory-db/gems/archive-tar-minitar/CVE-2016-10173.yml +0 -16
  128. data/data/ruby-advisory-db/gems/as/OSVDB-112683.yml +0 -10
  129. data/data/ruby-advisory-db/gems/authlogic/OSVDB-89064.yml +0 -15
  130. data/data/ruby-advisory-db/gems/auto_awesomplete/OSVDB-132800.yml +0 -11
  131. data/data/ruby-advisory-db/gems/auto_select2/OSVDB-132800.yml +0 -13
  132. data/data/ruby-advisory-db/gems/awesome_spawn/CVE-2014-0156.yml +0 -19
  133. data/data/ruby-advisory-db/gems/backup-agoddard/OSVDB-108578.yml +0 -8
  134. data/data/ruby-advisory-db/gems/backup_checksum/OSVDB-108569.yml +0 -12
  135. data/data/ruby-advisory-db/gems/backup_checksum/OSVDB-108570.yml +0 -10
  136. data/data/ruby-advisory-db/gems/bcrypt-ruby/OSVDB-62067.yml +0 -19
  137. data/data/ruby-advisory-db/gems/bcrypt/OSVDB-62067.yml +0 -17
  138. data/data/ruby-advisory-db/gems/bio-basespace-sdk/OSVDB-101031.yml +0 -8
  139. data/data/ruby-advisory-db/gems/brbackup/OSVDB-108899.yml +0 -12
  140. data/data/ruby-advisory-db/gems/brbackup/OSVDB-108900.yml +0 -11
  141. data/data/ruby-advisory-db/gems/brbackup/OSVDB-108901.yml +0 -11
  142. data/data/ruby-advisory-db/gems/bson/CVE-2015-4412.yml +0 -16
  143. data/data/ruby-advisory-db/gems/builder/OSVDB-95668.yml +0 -13
  144. data/data/ruby-advisory-db/gems/bundler/OSVDB-110004.yml +0 -15
  145. data/data/ruby-advisory-db/gems/bundler/OSVDB-115090.yml +0 -13
  146. data/data/ruby-advisory-db/gems/bundler/OSVDB-115091.yml +0 -12
  147. data/data/ruby-advisory-db/gems/bundler/OSVDB-115917.yml +0 -12
  148. data/data/ruby-advisory-db/gems/cap-strap/OSVDB-108574.yml +0 -8
  149. data/data/ruby-advisory-db/gems/cap-strap/OSVDB-108575.yml +0 -7
  150. data/data/ruby-advisory-db/gems/ciborg/OSVDB-108586.yml +0 -8
  151. data/data/ruby-advisory-db/gems/cocaine/OSVDB-98835.yml +0 -15
  152. data/data/ruby-advisory-db/gems/codders-dataset/OSVDB-108582.yml +0 -8
  153. data/data/ruby-advisory-db/gems/codders-dataset/OSVDB-108583.yml +0 -8
  154. data/data/ruby-advisory-db/gems/colorscore/CVE-2015-7541.yml +0 -21
  155. data/data/ruby-advisory-db/gems/command_wrap/OSVDB-91450.yml +0 -9
  156. data/data/ruby-advisory-db/gems/crack/OSVDB-90742.yml +0 -17
  157. data/data/ruby-advisory-db/gems/cremefraiche/OSVDB-93395.yml +0 -11
  158. data/data/ruby-advisory-db/gems/curb/OSVDB-114600.yml +0 -12
  159. data/data/ruby-advisory-db/gems/curl/OSVDB-91230.yml +0 -13
  160. data/data/ruby-advisory-db/gems/devise-two-factor/CVE-2015-7225.yml +0 -22
  161. data/data/ruby-advisory-db/gems/devise/CVE-2015-8314.yml +0 -14
  162. data/data/ruby-advisory-db/gems/devise/OSVDB-114435.yml +0 -17
  163. data/data/ruby-advisory-db/gems/devise/OSVDB-89642.yml +0 -20
  164. data/data/ruby-advisory-db/gems/doorkeeper/CVE-2014-8144.yml +0 -26
  165. data/data/ruby-advisory-db/gems/doorkeeper/CVE-2016-6582.yml +0 -43
  166. data/data/ruby-advisory-db/gems/doorkeeper/OSVDB-118830.yml +0 -17
  167. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-110439.yml +0 -13
  168. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-90647.yml +0 -16
  169. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-96798.yml +0 -14
  170. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-97854.yml +0 -12
  171. data/data/ruby-advisory-db/gems/echor/OSVDB-102129.yml +0 -12
  172. data/data/ruby-advisory-db/gems/echor/OSVDB-102130.yml +0 -11
  173. data/data/ruby-advisory-db/gems/ember-source/CVE-2013-4170.yml +0 -25
  174. data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0013.yml +0 -33
  175. data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0014.yml +0 -30
  176. data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0046.yml +0 -26
  177. data/data/ruby-advisory-db/gems/ember-source/CVE-2015-1866.yml +0 -26
  178. data/data/ruby-advisory-db/gems/ember-source/CVE-2015-7565.yml +0 -30
  179. data/data/ruby-advisory-db/gems/enum_column3/OSVDB-94679.yml +0 -9
  180. data/data/ruby-advisory-db/gems/espeak-ruby/CVE-2016-10193.yml +0 -15
  181. data/data/ruby-advisory-db/gems/extlib/OSVDB-90740.yml +0 -18
  182. data/data/ruby-advisory-db/gems/fastreader/OSVDB-91232.yml +0 -13
  183. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101445.yml +0 -17
  184. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101446.yml +0 -19
  185. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101447.yml +0 -17
  186. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101448.yml +0 -19
  187. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101700.yml +0 -16
  188. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-110420.yml +0 -19
  189. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-118465.yml +0 -17
  190. data/data/ruby-advisory-db/gems/features/OSVDB-96975.yml +0 -8
  191. data/data/ruby-advisory-db/gems/festivaltts4r/CVE-2016-10194.yml +0 -12
  192. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90715.yml +0 -7
  193. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90716.yml +0 -7
  194. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90717.yml +0 -8
  195. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90718.yml +0 -7
  196. data/data/ruby-advisory-db/gems/flash_tool/OSVDB-90829.yml +0 -8
  197. data/data/ruby-advisory-db/gems/flavour_saver/OSVDB-110796.yml +0 -14
  198. data/data/ruby-advisory-db/gems/flukso4r/OSVDB-101577.yml +0 -7
  199. data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-110439.yml +0 -15
  200. data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-90647.yml +0 -16
  201. data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-96798.yml +0 -16
  202. data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-97854.yml +0 -12
  203. data/data/ruby-advisory-db/gems/ftpd/OSVDB-90784.yml +0 -18
  204. data/data/ruby-advisory-db/gems/git-fastclone/CVE-2015-8968.yml +0 -21
  205. data/data/ruby-advisory-db/gems/git-fastclone/CVE-2015-8969.yml +0 -13
  206. data/data/ruby-advisory-db/gems/gitlab-grit/OSVDB-99370.yml +0 -14
  207. data/data/ruby-advisory-db/gems/gnms/OSVDB-108594.yml +0 -7
  208. data/data/ruby-advisory-db/gems/gollum-grit_adapter/CVE-2014-9489.yml +0 -23
  209. data/data/ruby-advisory-db/gems/gollum/CVE-2015-7314.yml +0 -13
  210. data/data/ruby-advisory-db/gems/gtk2/OSVDB-40774.yml +0 -20
  211. data/data/ruby-advisory-db/gems/gyazo/OSVDB-108563.yml +0 -10
  212. data/data/ruby-advisory-db/gems/handlebars-source/OSVDB-131671.yml +0 -17
  213. data/data/ruby-advisory-db/gems/http/CVE-2015-1828.yml +0 -14
  214. data/data/ruby-advisory-db/gems/httparty/OSVDB-90741.yml +0 -14
  215. data/data/ruby-advisory-db/gems/i18n/OSVDB-100528.yml +0 -17
  216. data/data/ruby-advisory-db/gems/jquery-rails/CVE-2015-1840.yml +0 -36
  217. data/data/ruby-advisory-db/gems/jquery-ujs/CVE-2015-1840.yml +0 -35
  218. data/data/ruby-advisory-db/gems/jruby-openssl/CVE-2009-4123.yml +0 -16
  219. data/data/ruby-advisory-db/gems/jruby-sandbox/OSVDB-106279.yml +0 -12
  220. data/data/ruby-advisory-db/gems/json/OSVDB-101137.yml +0 -17
  221. data/data/ruby-advisory-db/gems/json/OSVDB-101157.yml +0 -14
  222. data/data/ruby-advisory-db/gems/json/OSVDB-90074.yml +0 -23
  223. data/data/ruby-advisory-db/gems/kafo/OSVDB-106826.yml +0 -15
  224. data/data/ruby-advisory-db/gems/kajam/OSVDB-108529.yml +0 -12
  225. data/data/ruby-advisory-db/gems/kajam/OSVDB-108530.yml +0 -11
  226. data/data/ruby-advisory-db/gems/karo/OSVDB-108573.yml +0 -10
  227. data/data/ruby-advisory-db/gems/karteek-docsplit/OSVDB-92117.yml +0 -9
  228. data/data/ruby-advisory-db/gems/kcapifony/OSVDB-108571.yml +0 -8
  229. data/data/ruby-advisory-db/gems/kcapifony/OSVDB-108572.yml +0 -7
  230. data/data/ruby-advisory-db/gems/kelredd-pruview/OSVDB-92228.yml +0 -9
  231. data/data/ruby-advisory-db/gems/kompanee-recipes/OSVDB-108593.yml +0 -12
  232. data/data/ruby-advisory-db/gems/lawn-login/OSVDB-108576.yml +0 -8
  233. data/data/ruby-advisory-db/gems/ldap_fluff/OSVDB-90579.yml +0 -15
  234. data/data/ruby-advisory-db/gems/ldoce/OSVDB-91870.yml +0 -9
  235. data/data/ruby-advisory-db/gems/lean-ruport/OSVDB-108581.yml +0 -8
  236. data/data/ruby-advisory-db/gems/lingq/OSVDB-108585.yml +0 -7
  237. data/data/ruby-advisory-db/gems/loofah/OSVDB-90945.yml +0 -21
  238. data/data/ruby-advisory-db/gems/lynx/OSVDB-108579.yml +0 -7
  239. data/data/ruby-advisory-db/gems/lynx/OSVDB-108580.yml +0 -8
  240. data/data/ruby-advisory-db/gems/mail/OSVDB-131677.yml +0 -26
  241. data/data/ruby-advisory-db/gems/mail/OSVDB-70667.yml +0 -21
  242. data/data/ruby-advisory-db/gems/mail/OSVDB-81631.yml +0 -14
  243. data/data/ruby-advisory-db/gems/mail/OSVDB-81632.yml +0 -16
  244. data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-129854.yml +0 -21
  245. data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-132871.yml +0 -22
  246. data/data/ruby-advisory-db/gems/md2pdf/OSVDB-92290.yml +0 -9
  247. data/data/ruby-advisory-db/gems/mini_magick/OSVDB-91231.yml +0 -15
  248. data/data/ruby-advisory-db/gems/minitar/CVE-2016-10173.yml +0 -16
  249. data/data/ruby-advisory-db/gems/moped/CVE-2015-4410.yml +0 -17
  250. data/data/ruby-advisory-db/gems/multi_xml/OSVDB-89148.yml +0 -16
  251. data/data/ruby-advisory-db/gems/mustache-js-rails/OSVDB-131671.yml +0 -17
  252. data/data/ruby-advisory-db/gems/net-ldap/OSVDB-106108.yml +0 -14
  253. data/data/ruby-advisory-db/gems/newrelic_rpm/OSVDB-90189.yml +0 -17
  254. data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-1819.yml +0 -52
  255. data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-5312.yml +0 -92
  256. data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-7499.yml +0 -37
  257. data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-8806.yml +0 -42
  258. data/data/ruby-advisory-db/gems/nokogiri/CVE-2016-4658.yml +0 -32
  259. data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-5029.yml +0 -44
  260. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-101179.yml +0 -18
  261. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-101458.yml +0 -15
  262. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-118481.yml +0 -15
  263. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-90946.yml +0 -15
  264. data/data/ruby-advisory-db/gems/nori/OSVDB-90196.yml +0 -19
  265. data/data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99693.yml +0 -22
  266. data/data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99888.yml +0 -17
  267. data/data/ruby-advisory-db/gems/omniauth-oauth2/OSVDB-90264.yml +0 -16
  268. data/data/ruby-advisory-db/gems/open-uri-cached/OSVDB-121701.yml +0 -13
  269. data/data/ruby-advisory-db/gems/paperclip/CVE-2015-2963.yml +0 -16
  270. data/data/ruby-advisory-db/gems/paperclip/OSVDB-103151.yml +0 -13
  271. data/data/ruby-advisory-db/gems/paratrooper-newrelic/OSVDB-101839.yml +0 -13
  272. data/data/ruby-advisory-db/gems/paratrooper-pingdom/OSVDB-101847.yml +0 -13
  273. data/data/ruby-advisory-db/gems/passenger/CVE-2014-1831.yml +0 -13
  274. data/data/ruby-advisory-db/gems/passenger/CVE-2014-1832.yml +0 -13
  275. data/data/ruby-advisory-db/gems/passenger/CVE-2015-7519.yml +0 -17
  276. data/data/ruby-advisory-db/gems/passenger/CVE-2016-10345.yml +0 -16
  277. data/data/ruby-advisory-db/gems/passenger/OSVDB-90738.yml +0 -16
  278. data/data/ruby-advisory-db/gems/passenger/OSVDB-93752.yml +0 -15
  279. data/data/ruby-advisory-db/gems/passenger/OSVDB-94074.yml +0 -14
  280. data/data/ruby-advisory-db/gems/pdfkit/OSVDB-90867.yml +0 -11
  281. data/data/ruby-advisory-db/gems/point-cli/OSVDB-108577.yml +0 -8
  282. data/data/ruby-advisory-db/gems/quick_magick/OSVDB-106954.yml +0 -7
  283. data/data/ruby-advisory-db/gems/rack-attack/OSVDB-132234.yml +0 -26
  284. data/data/ruby-advisory-db/gems/rack-cache/OSVDB-83077.yml +0 -18
  285. data/data/ruby-advisory-db/gems/rack-mini-profiler/CVE-2016-4442.yml +0 -17
  286. data/data/ruby-advisory-db/gems/rack-ssl/OSVDB-104734.yml +0 -11
  287. data/data/ruby-advisory-db/gems/rack/CVE-2015-3225.yml +0 -18
  288. data/data/ruby-advisory-db/gems/rack/OSVDB-78121.yml +0 -21
  289. data/data/ruby-advisory-db/gems/rack/OSVDB-89317.yml +0 -21
  290. data/data/ruby-advisory-db/gems/rack/OSVDB-89320.yml +0 -19
  291. data/data/ruby-advisory-db/gems/rack/OSVDB-89327.yml +0 -20
  292. data/data/ruby-advisory-db/gems/rack/OSVDB-89938.yml +0 -18
  293. data/data/ruby-advisory-db/gems/rack/OSVDB-89939.yml +0 -23
  294. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7578.yml +0 -47
  295. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7579.yml +0 -75
  296. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7580.yml +0 -70
  297. data/data/ruby-advisory-db/gems/rbovirt/OSVDB-104080.yml +0 -20
  298. data/data/ruby-advisory-db/gems/rdoc/OSVDB-90004.yml +0 -27
  299. data/data/ruby-advisory-db/gems/redcarpet/CVE-2015-5147.yml +0 -17
  300. data/data/ruby-advisory-db/gems/redcarpet/OSVDB-120415.yml +0 -16
  301. data/data/ruby-advisory-db/gems/redis-namespace/OSVDB-96425.yml +0 -15
  302. data/data/ruby-advisory-db/gems/refile/OSVDB-120857.yml +0 -16
  303. data/data/ruby-advisory-db/gems/rest-client/CVE-2015-1820.yml +0 -23
  304. data/data/ruby-advisory-db/gems/rest-client/OSVDB-117461.yml +0 -13
  305. data/data/ruby-advisory-db/gems/rgpg/OSVDB-95948.yml +0 -15
  306. data/data/ruby-advisory-db/gems/ruby-saml/CVE-2016-5697.yml +0 -17
  307. data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-117903.yml +0 -13
  308. data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-124383.yml +0 -11
  309. data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-124991.yml +0 -13
  310. data/data/ruby-advisory-db/gems/ruby_parser/OSVDB-90561.yml +0 -11
  311. data/data/ruby-advisory-db/gems/rubyzip/CVE-2017-5946.yml +0 -14
  312. data/data/ruby-advisory-db/gems/safemode/CVE-2016-3693.yml +0 -13
  313. data/data/ruby-advisory-db/gems/screen_capture/OSVDB-107783.yml +0 -7
  314. data/data/ruby-advisory-db/gems/sentry-raven/OSVDB-115654.yml +0 -14
  315. data/data/ruby-advisory-db/gems/sfpagent/OSVDB-105971.yml +0 -15
  316. data/data/ruby-advisory-db/gems/show_in_browser/OSVDB-93490.yml +0 -8
  317. data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126329.yml +0 -12
  318. data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126330.yml +0 -10
  319. data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126331.yml +0 -14
  320. data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125675.yml +0 -9
  321. data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125676.yml +0 -14
  322. data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125678.yml +0 -9
  323. data/data/ruby-advisory-db/gems/sounder/OSVDB-96278.yml +0 -14
  324. data/data/ruby-advisory-db/gems/spina/CVE-2015-4619.yml +0 -16
  325. data/data/ruby-advisory-db/gems/spree/OSVDB-119205.yml +0 -18
  326. data/data/ruby-advisory-db/gems/spree/OSVDB-125699.yml +0 -18
  327. data/data/ruby-advisory-db/gems/spree/OSVDB-125701.yml +0 -17
  328. data/data/ruby-advisory-db/gems/spree/OSVDB-125712.yml +0 -16
  329. data/data/ruby-advisory-db/gems/spree/OSVDB-125713.yml +0 -15
  330. data/data/ruby-advisory-db/gems/spree/OSVDB-69098.yml +0 -19
  331. data/data/ruby-advisory-db/gems/spree/OSVDB-73751.yml +0 -11
  332. data/data/ruby-advisory-db/gems/spree/OSVDB-76011.yml +0 -15
  333. data/data/ruby-advisory-db/gems/spree/OSVDB-81505.yml +0 -14
  334. data/data/ruby-advisory-db/gems/spree/OSVDB-81506.yml +0 -16
  335. data/data/ruby-advisory-db/gems/spree/OSVDB-90865.yml +0 -20
  336. data/data/ruby-advisory-db/gems/spree/OSVDB-91216.yml +0 -17
  337. data/data/ruby-advisory-db/gems/spree/OSVDB-91217.yml +0 -17
  338. data/data/ruby-advisory-db/gems/spree/OSVDB-91218.yml +0 -17
  339. data/data/ruby-advisory-db/gems/spree/OSVDB-91219.yml +0 -17
  340. data/data/ruby-advisory-db/gems/spree_auth/OSVDB-90865.yml +0 -16
  341. data/data/ruby-advisory-db/gems/spree_auth_devise/OSVDB-90865.yml +0 -20
  342. data/data/ruby-advisory-db/gems/sprockets/CVE-2014-7819.yml +0 -27
  343. data/data/ruby-advisory-db/gems/sprout/OSVDB-100598.yml +0 -16
  344. data/data/ruby-advisory-db/gems/sup/CVE-2013-4478.yml +0 -14
  345. data/data/ruby-advisory-db/gems/sup/CVE-2013-4479.yml +0 -14
  346. data/data/ruby-advisory-db/gems/thumbshooter/OSVDB-91839.yml +0 -9
  347. data/data/ruby-advisory-db/gems/twitter-bootstrap-rails/OSVDB-109206.yml +0 -22
  348. data/data/ruby-advisory-db/gems/uglifier/OSVDB-126747.yml +0 -19
  349. data/data/ruby-advisory-db/gems/web-console/CVE-2015-3224.yml +0 -22
  350. data/data/ruby-advisory-db/gems/web-console/OSVDB-112346.yml +0 -12
  351. data/data/ruby-advisory-db/gems/webbynode/OSVDB-100920.yml +0 -12
  352. data/data/ruby-advisory-db/gems/wicked/OSVDB-98270.yml +0 -14
  353. data/data/ruby-advisory-db/gems/will_paginate/OSVDB-101138.yml +0 -15
  354. data/data/ruby-advisory-db/gems/xaviershay-dm-rails/OSVDB-118579.yml +0 -13
  355. data/data/ruby-advisory-db/lib/cf_scrape.py +0 -5
  356. data/data/ruby-advisory-db/lib/osvdb_scrape.rb +0 -92
  357. data/data/ruby-advisory-db/libraries/rubygems/CVE-2013-4287.yml +0 -19
  358. data/data/ruby-advisory-db/libraries/rubygems/CVE-2013-4363.yml +0 -20
  359. data/data/ruby-advisory-db/libraries/rubygems/CVE-2015-3900.yml +0 -19
  360. data/data/ruby-advisory-db/libraries/rubygems/CVE-2015-4020.yml +0 -19
  361. data/data/ruby-advisory-db/libraries/rubygems/OSVDB-33561.yml +0 -17
  362. data/data/ruby-advisory-db/libraries/rubygems/OSVDB-81444.yml +0 -14
  363. data/data/ruby-advisory-db/libraries/rubygems/OSVDB-85809.yml +0 -16
  364. data/data/ruby-advisory-db/rubies/jruby/CVE-2010-1330.yml +0 -17
  365. data/data/ruby-advisory-db/rubies/jruby/CVE-2011-4838.yml +0 -15
  366. data/data/ruby-advisory-db/rubies/jruby/CVE-2012-5370.yml +0 -17
  367. data/data/ruby-advisory-db/rubies/jruby/OSVDB-94644.yml +0 -12
  368. data/data/ruby-advisory-db/rubies/rbx/OSVDB-78119.yml +0 -13
  369. data/data/ruby-advisory-db/rubies/rbx/OSVDB-87861.yml +0 -17
  370. data/data/ruby-advisory-db/rubies/ruby/CVE-2007-5162.yml +0 -16
  371. data/data/ruby-advisory-db/rubies/ruby/CVE-2007-5770.yml +0 -17
  372. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-1447.yml +0 -15
  373. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-1891.yml +0 -21
  374. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2376.yml +0 -18
  375. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3443.yml +0 -17
  376. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3655.yml +0 -18
  377. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3656.yml +0 -19
  378. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3657.yml +0 -16
  379. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3905.yml +0 -17
  380. data/data/ruby-advisory-db/rubies/ruby/CVE-2009-0642.yml +0 -17
  381. data/data/ruby-advisory-db/rubies/ruby/CVE-2009-5147.yml +0 -13
  382. data/data/ruby-advisory-db/rubies/ruby/CVE-2011-0188.yml +0 -17
  383. data/data/ruby-advisory-db/rubies/ruby/CVE-2011-2686.yml +0 -17
  384. data/data/ruby-advisory-db/rubies/ruby/CVE-2011-2705.yml +0 -16
  385. data/data/ruby-advisory-db/rubies/ruby/CVE-2011-3009.yml +0 -17
  386. data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4464.yml +0 -17
  387. data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4466.yml +0 -16
  388. data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4481.yml +0 -15
  389. data/data/ruby-advisory-db/rubies/ruby/CVE-2015-1855.yml +0 -17
  390. data/data/ruby-advisory-db/rubies/ruby/CVE-2015-7551.yml +0 -19
  391. data/data/ruby-advisory-db/rubies/ruby/CVE-2015-9096.yml +0 -19
  392. data/data/ruby-advisory-db/rubies/ruby/OSVDB-100113.yml +0 -17
  393. data/data/ruby-advisory-db/rubies/ruby/OSVDB-105027.yml +0 -20
  394. data/data/ruby-advisory-db/rubies/ruby/OSVDB-107478.yml +0 -16
  395. data/data/ruby-advisory-db/rubies/ruby/OSVDB-108971.yml +0 -17
  396. data/data/ruby-advisory-db/rubies/ruby/OSVDB-113747.yml +0 -19
  397. data/data/ruby-advisory-db/rubies/ruby/OSVDB-114641.yml +0 -22
  398. data/data/ruby-advisory-db/rubies/ruby/OSVDB-120541.yml +0 -22
  399. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46550.yml +0 -22
  400. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46551.yml +0 -21
  401. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46552.yml +0 -21
  402. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46553.yml +0 -22
  403. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46554.yml +0 -18
  404. data/data/ruby-advisory-db/rubies/ruby/OSVDB-47753.yml +0 -16
  405. data/data/ruby-advisory-db/rubies/ruby/OSVDB-55031.yml +0 -17
  406. data/data/ruby-advisory-db/rubies/ruby/OSVDB-60880.yml +0 -17
  407. data/data/ruby-advisory-db/rubies/ruby/OSVDB-61774.yml +0 -20
  408. data/data/ruby-advisory-db/rubies/ruby/OSVDB-65556.yml +0 -17
  409. data/data/ruby-advisory-db/rubies/ruby/OSVDB-66040.yml +0 -17
  410. data/data/ruby-advisory-db/rubies/ruby/OSVDB-70957.yml +0 -15
  411. data/data/ruby-advisory-db/rubies/ruby/OSVDB-70958.yml +0 -20
  412. data/data/ruby-advisory-db/rubies/ruby/OSVDB-74829.yml +0 -18
  413. data/data/ruby-advisory-db/rubies/ruby/OSVDB-78118.yml +0 -14
  414. data/data/ruby-advisory-db/rubies/ruby/OSVDB-87280.yml +0 -17
  415. data/data/ruby-advisory-db/rubies/ruby/OSVDB-87863.yml +0 -18
  416. data/data/ruby-advisory-db/rubies/ruby/OSVDB-87917.yml +0 -16
  417. data/data/ruby-advisory-db/rubies/ruby/OSVDB-90587.yml +0 -16
  418. data/data/ruby-advisory-db/rubies/ruby/OSVDB-93414.yml +0 -19
  419. data/data/ruby-advisory-db/rubies/ruby/OSVDB-94628.yml +0 -21
  420. data/data/ruby-advisory-db/scripts/post-advisories.sh +0 -18
  421. data/data/ruby-advisory-db/spec/advisory_example.rb +0 -202
  422. data/data/ruby-advisory-db/spec/gem_example.rb +0 -22
  423. data/data/ruby-advisory-db/spec/gems_spec.rb +0 -23
  424. data/data/ruby-advisory-db/spec/library_example.rb +0 -21
  425. data/data/ruby-advisory-db/spec/ruby_example.rb +0 -23
  426. data/data/ruby-advisory-db/spec/spec_helper.rb +0 -1
@@ -1,8 +0,0 @@
1
- ---
2
- gem: ciborg
3
- cve: 2014-5003
4
- osvdb: 108586
5
- url: http://osvdb.org/show/osvdb/108586
6
- title: ciborg Gem for Ruby default.rb /tmp/perlbrew-installer Local Symlink File Overwrite
7
- date: 2014-06-30
8
- description: ciborg Gem for Ruby contains a flaw as default.rb creates temporary files insecurely. It is possible for a local attacker to use a symlink attack against the /tmp/perlbrew-installer file to cause the program to unexpectedly overwrite an arbitrary file.
@@ -1,15 +0,0 @@
1
- ---
2
- gem: cocaine
3
- cve: 2013-4457
4
- osvdb: 98835
5
- url: http://www.osvdb.org/show/osvdb/98835
6
- title: Cocaine Gem for Ruby contains a flaw
7
- date: 2013-10-22
8
- description: Cocaine Gem for Ruby contains a flaw that is due to the method
9
- of variable interpolation used by the program. With a specially crafted
10
- object, a context-dependent attacker can execute arbitrary commands.
11
- cvss_v2: 6.8
12
- unaffected_versions:
13
- - < 0.4.0
14
- patched_versions:
15
- - '>= 0.5.3'
@@ -1,8 +0,0 @@
1
- ---
2
- gem: codders-dataset
3
- cve: 2014-4991
4
- osvdb: 108582
5
- url: http://osvdb.org/show/osvdb/108582
6
- title: codders-dataset Gem for Ruby /lib/dataset/database/postgresql.rb Process Table Local Plaintext Credential Disclosure
7
- date: 2014-06-30
8
- description: codders-dataset Gem for Ruby contains a flaw in /lib/dataset/database/postgresql.rb that is due to the application exposing credential information in plaintext in the process table. This may allow a local attacker to gain access to credential information.
@@ -1,8 +0,0 @@
1
- ---
2
- gem: codders-dataset
3
- cve: 2014-4991
4
- osvdb: 108583
5
- url: http://osvdb.org/show/osvdb/108583
6
- title: codders-dataset Gem for Ruby /lib/dataset/database/mysql.rb Process Table Local Plaintext Credential Disclosure
7
- date: 2014-06-30
8
- description: codders-dataset Gem for Ruby contains a flaw in /lib/dataset/database/mysql.rb that is due to the application exposing credential information in plaintext in the process table. This may allow a local attacker to gain access to credential information.
@@ -1,21 +0,0 @@
1
- ---
2
- gem: colorscore
3
- cve: 2015-7541
4
- osvdb: 132516
5
- url: http://seclists.org/oss-sec/2016/q1/17
6
- title: colorscore Gem for Ruby lib/colorscore/histogram.rb Arbitrary Command Injection
7
- date: 2016-01-04
8
- description: |
9
- The contents of the `image_path`, `colors`, and `depth` variables generated
10
- from possibly user-supplied input are passed directly to the shell via
11
- `convert ...`.
12
-
13
- If a user supplies a value that includes shell metacharacters such as ';', an
14
- attacker may be able to execute shell commands on the remote system as the
15
- user id of the Ruby process.
16
-
17
- To resolve this issue, the aforementioned variables (especially `image_path`)
18
- must be sanitized for shell metacharacters.
19
-
20
- patched_versions:
21
- - '>= 0.0.5'
@@ -1,9 +0,0 @@
1
- ---
2
- gem: command_wrap
3
- cve: 2013-1875
4
- osvdb: 91450
5
- url: http://osvdb.org/show/osvdb/91450
6
- title: command_wrap Gem for Ruby URI Handling Arbitrary Command Injection
7
- date: 2013-03-18
8
- description: command_wrap Gem for Ruby contains a flaw that is triggered during the handling of input passed via the URL that contains a semicolon character (;). This will allow a remote attacker to inject arbitrary commands and have them executed in the context of the user clicking it.
9
- cvss_v2: 7.5
@@ -1,17 +0,0 @@
1
- ---
2
- gem: crack
3
- cve: 2013-1800
4
- osvdb: 90742
5
- url: http://osvdb.org/show/osvdb/90742
6
- title: crack Gem for Ruby Type Casting Parameter Parsing Remote Code Execution
7
- description: |
8
- crack Gem for Ruby contains a flaw that is triggered when a type casting
9
- error occurs during the parsing of parameters. This may allow a
10
- context-dependent attacker to potentially execute arbitrary code.
11
- date: 2013-01-09
12
-
13
- cvss_v2: 7.5
14
-
15
- patched_versions:
16
- - ">= 0.3.2"
17
-
@@ -1,11 +0,0 @@
1
- ---
2
- gem: cremefraiche
3
- cve: 2013-2090
4
- osvdb: 93395
5
- url: http://osvdb.org/show/osvdb/93395
6
- title: Creme Fraiche Gem for Ruby File Name Shell Metacharacter Injection Arbitrary Command Execution
7
- date: 2013-05-14
8
- description: Creme Fraiche Gem for Ruby contains a flaw that is due to the program failing to properly sanitize input in file names. With a specially crafted file name that contains shell metacharacters, a context-dependent attacker can execute arbitrary commands
9
- cvss_v2: 9.3
10
- patched_versions:
11
- - ">= 0.6.1"
@@ -1,12 +0,0 @@
1
- ---
2
- gem: curb
3
- osvdb: 114600
4
- url: http://osvdb.org/show/osvdb/114600
5
- title: curb Gem for Ruby Empty http_put Body Handling Remote DoS
6
- date: 2010-08-12
7
- description: |
8
- curb Gem for Ruby contains a flaw that is triggered when handling an empty
9
- http_put body. This may allow a remote attacker to crash an application
10
- linked against the library.
11
- patched_versions:
12
- - ">= 0.7.8"
@@ -1,13 +0,0 @@
1
- ---
2
- gem: curl
3
- cve: 2013-2617
4
- osvdb: 91230
5
- url: http://osvdb.org/show/osvdb/91230
6
- title: Curl Gem for Ruby URI Handling Arbitrary Command Injection
7
- date: 2013-03-12
8
- description: Curl Gem for Ruby contains a flaw that is triggered during the
9
- handling of specially crafted input passed via the URL. This may allow
10
- a context-dependent attacker to potentially execute arbitrary commands by
11
- injecting them via a semi-colon (;).
12
- cvss_v2: 7.5
13
- patched_versions:
@@ -1,22 +0,0 @@
1
- ---
2
- gem: devise-two-factor
3
- cve: 2015-7225
4
- url: http://www.openwall.com/lists/oss-security/2015/09/06/2
5
- title: |
6
- devise-two-factor 1.1.0 and earlier vulnerable to replay attacks
7
- date: 2015-09-17
8
- description: |
9
- A OTP replay vulnerability in devise-two-factor 1.1.0 and earlier allows local
10
- attackers to shoulder-surf a user's TOTP verification code and use it to
11
- login after the user has authenticated.
12
-
13
- By not "burning" a previously used TOTP, devise-two-factor allows a narrow
14
- window of opportunity (aka the timestep period) where an attacker can re-use a
15
- verification code.
16
-
17
- Should an attacker possess a given user's authentication
18
- credentials, this flaw effectively defeats two-factor authentication for the
19
- duration of the timestep.
20
-
21
- patched_versions:
22
- - ">= 2.0.0"
@@ -1,14 +0,0 @@
1
- ---
2
- gem: devise
3
- cve: 2015-8314
4
- url: http://blog.plataformatec.com.br/2016/01/improve-remember-me-cookie-expiration-in-devise/
5
- title: Devise Gem for Ruby Unauthorized Access Using Remember Me Cookie
6
- date: 2016-01-18
7
- description: |
8
- Devise version before 3.5.4 uses cookies to implement a "Remember me"
9
- functionality. However, it generates the same cookie for all devices. If an
10
- attacker manages to steal a remember me cookie and the user does not change
11
- the password frequently, the cookie can be used to gain access to the
12
- application indefinitely.
13
- patched_versions:
14
- - ">= 3.5.4"
@@ -1,17 +0,0 @@
1
- ---
2
- gem: devise
3
- osvdb: 114435
4
- url: http://blog.plataformatec.com.br/2013/08/csrf-token-fixation-attacks-in-devise/
5
- title: CSRF token fixation attacks in Devise
6
- date: 2013-08-02
7
-
8
- description: |
9
- Devise contains a flaw that allows a remote, user-assisted attacker to
10
- conduct a CSRF token fixation attack. This issue is triggered as previous
11
- CSRF tokens are not properly invalidated when a new token is created.
12
- If an attacker has knowledge of said token, a specially crafted request can
13
- be made to it, allowing the attacker to conduct CSRF attacks.
14
-
15
- patched_versions:
16
- - ~> 2.2.5
17
- - ">= 3.0.1"
@@ -1,20 +0,0 @@
1
- ---
2
- gem: devise
3
- cve: 2013-0233
4
- osvdb: 89642
5
- url: http://osvdb.org/show/osvdb/89642
6
- title: Devise Database Type Conversion Crafted Request Parsing Security Bypass
7
- date: 2013-01-28
8
-
9
- description: |
10
- Devise contains a flaw that is triggered during when a type conversion error
11
- occurs during the parsing of a malformed request. With a specially crafted
12
- request, a remote attacker can bypass security restrictions.
13
-
14
- cvss_v2: 6.8
15
-
16
- patched_versions:
17
- - ~> 1.5.4
18
- - ~> 2.0.5
19
- - ~> 2.1.3
20
- - ">= 2.2.3"
@@ -1,26 +0,0 @@
1
- ---
2
- gem: doorkeeper
3
- cve: 2014-8144
4
- osvdb: 116010
5
- url: https://groups.google.com/forum/#!topic/ruby-security-ann/5_VqJtNc8jw
6
- title: |
7
- Cross-site request forgery (CSRF) vulnerability in doorkeeper 1.4.0
8
- and earlier.
9
- date: 2014-12-18
10
-
11
- description: |
12
- Cross-site request forgery (CSRF) vulnerability in doorkeeper 1.4.0
13
- and earlier allows remote attackers to hijack the user's OAuth
14
- autorization code. This vulnerability has been assigned the CVE
15
- identifier CVE-2014-8144.
16
-
17
- Doorkeeper's endpoints didn't have CSRF protection. Any HTML document
18
- on the Internet can then read a user's authorization code with
19
- arbitrary scope from any Doorkeeper-compatible Rails app you are
20
- logged in.
21
-
22
- cvss_v2: 6.8
23
-
24
- patched_versions:
25
- - ~> 1.4.1
26
- - ">= 2.0.0"
@@ -1,43 +0,0 @@
1
- ---
2
- gem: doorkeeper
3
- cve: 2016-6582
4
- date: 2016-08-18
5
- url: "http://www.openwall.com/lists/oss-security/2016/08/19/2"
6
-
7
- title: Doorkeeper gem does not revoke tokens & uses wrong auth/auth method
8
-
9
- description: |
10
- Doorkeeper failed to implement OAuth 2.0 Token Revocation (RFC 7009) in the
11
- following ways:
12
-
13
- 1. Public clients making valid, unauthenticated calls to revoke a token
14
- would not have their token revoked
15
- 2. Requests were not properly authenticating the *client credentials* but
16
- were, instead, looking at the access token in a second location
17
- 3. Because of 2, the requests were also not authorizing confidential
18
- clients' ability to revoke a given token. It should only revoke tokens
19
- that belong to it.
20
-
21
- The security implication is: OAuth 2.0 clients who "log out" a user expect
22
- to have the corresponding access & refresh tokens revoked, preventing an
23
- attacker who may have already hijacked the session from continuing to
24
- impersonate the victim. Because of the bug described above, this is not the
25
- case. As far as OWASP is concerned, this counts as broken authentication
26
- design.
27
-
28
- MITRE has assigned CVE-2016-6582 due to the security issues raised. An
29
- attacker, thanks to 1, can replay a hijacked session after a victim logs
30
- out/revokes their token. Additionally, thanks to 2 & 3, an attacker via a
31
- compromised confidential client could "grief" other clients by revoking
32
- their tokens (albeit this is an exceptionally narrow attack with little
33
- value).
34
-
35
- unaffected_versions:
36
- - "< 1.2.0"
37
-
38
- patched_versions:
39
- - ">= 4.2.0"
40
-
41
- related:
42
- url:
43
- - https://github.com/doorkeeper-gem/doorkeeper/commit/fb938051777a3c9cb071e96fc66458f8f615bd53
@@ -1,17 +0,0 @@
1
- ---
2
- gem: doorkeeper
3
- osvdb: 118830
4
- url: http://www.osvdb.org/show/osvdb/118830
5
- title: |
6
- Doorkeeper Gem for Ruby stores sensitive information
7
- in production logs
8
- date: 2015-02-10
9
- description: |
10
- Doorkeeper Gem for Ruby contains a flaw in lib/doorkeeper/engine.rb.
11
- The issue is due to the program storing sensitive information in
12
- production logs. This may allow a local attacker to gain access to
13
- sensitive information.
14
- cvss_v2:
15
- patched_versions:
16
- - "~> 1.4.2"
17
- - ">= 2.1.2"
@@ -1,13 +0,0 @@
1
- ---
2
- gem: dragonfly
3
- osvdb: 110439
4
- url: http://osvdb.org/show/osvdb/110439
5
- title: Dragonfly Gem for Ruby Image Uploading & Processing Remote Command Execution
6
- date: 2014-08-25
7
- description: |
8
- Dragonfly Gem for Ruby contains a flaw in Uploading & Processing that is due
9
- to the gem failing to restrict arbitrary commands to imagemagicks convert.
10
- This may allow a remote attacker to gain read/write access to the filesystem
11
- and execute arbitrary commands.
12
- patched_versions:
13
- - ">= 1.0.7"
@@ -1,16 +0,0 @@
1
- ---
2
- gem: dragonfly
3
- cve: 2013-1756
4
- osvdb: 90647
5
- url: http://www.osvdb.org/show/osvdb/90647
6
- title: Dragonfly Gem for Ruby Crafted Request Parsing Remote Code Execution
7
- date: 2013-02-19
8
- description: |
9
- Dragonfly Gem for Ruby contains a flaw that is triggered during the parsing
10
- of a specially crafted request. This may allow a remote attacker to execute
11
- arbitrary code.
12
- cvss_v2: 7.5
13
- patched_versions:
14
- - ">= 0.9.13"
15
- unaffected_versions:
16
- - "< 0.7.0"
@@ -1,14 +0,0 @@
1
- ---
2
- gem: dragonfly
3
- cve: 2013-5671
4
- osvdb: 96798
5
- url: http://osvdb.org/show/osvdb/96798
6
- title: fog-dragonfly Gem for Ruby imagemagickutils.rb Remote Command Execution
7
- date: 2013-09-03
8
- description: |
9
- fog-dragonfly Gem for Ruby contains a flaw that is due to the program
10
- failing to properly sanitize input passed via the imagemagickutils.rb script.
11
- This may allow a remote attacker to execute arbitrary commands.
12
- cvss_v2: 7.5
13
- patched_versions:
14
- - ">= 0.8.4"
@@ -1,12 +0,0 @@
1
- ---
2
- gem: dragonfly
3
- osvdb: 97854
4
- url: http://osvdb.org/show/osvdb/97854
5
- title: Dragonfly Gem for Ruby on Windows Shell Escaping Weakness
6
- date: 2011-09-01
7
- description: |
8
- Dragonfly Gem for Ruby contains a flaw that is due to the program failing to
9
- properly escape a shell that contains injected characters. This may allow a
10
- context-dependent attacker to potentially execute arbitrary commands.
11
- patched_versions:
12
- - ">= 0.9.6"
@@ -1,12 +0,0 @@
1
- ---
2
- gem: echor
3
- cve: 2014-1834
4
- osvdb: 102129
5
- url: http://osvdb.org/show/osvdb/102129
6
- title: echor Gem for Ruby backplane.rb perform_request Function Arbitrary Command Execution
7
- date: 2014-01-14
8
- description: |
9
- Echor Gem for Ruby contains a flaw in backplane.rb in the perform_request
10
- function that is triggered when a semi-colon (;) is injected into a username
11
- or password. This may allow a context-dependent attacker to inject arbitrary
12
- commands if the gem is used in a rails application.
@@ -1,11 +0,0 @@
1
- ---
2
- gem: echor
3
- cve: 2014-1835
4
- osvdb: 102130
5
- url: http://osvdb.org/show/osvdb/102130
6
- title: echor Gem for Ruby Process Listing Local Plaintext Credential Disclosure
7
- date: 2014-01-14
8
- description: |
9
- echor Gem for Ruby contains a flaw that is due to the program exposing
10
- credential information in the system process listing. This may allow a local
11
- attacker to gain access to plaintext credential information.
@@ -1,25 +0,0 @@
1
- ---
2
- gem: ember-source
3
- cve: 2013-4170
4
- url: https://groups.google.com/forum/#!topic/ember-security/dokLVwwxAdM
5
- title: |
6
- Ember.js Potential XSS Exploit When Binding `tagName` to User-Supplied Data
7
- date: 2013-07-25
8
- description: |
9
- In general, Ember.js escapes or strips any user-supplied content
10
- before inserting it in strings that will be sent to innerHTML.
11
- However, the `tagName` property of an `Ember.View` was inserted into
12
- such a string without being sanitized. This means that if an
13
- application assigns a view's `tagName` to user-supplied data, a
14
- specially-crafted payload could execute arbitrary JavaScript in the
15
- context of the current domain ("XSS").
16
-
17
- This vulnerability only affects applications that assign or bind
18
- user-provided content to `tagName`.
19
- patched_versions:
20
- - ~> 1.0.0.rc1.1
21
- - ~> 1.0.0.rc2.1
22
- - ~> 1.0.0.rc3.1
23
- - ~> 1.0.0.rc4.1
24
- - ~> 1.0.0.rc5.1
25
- - ">= 1.0.0.rc6.1"
@@ -1,33 +0,0 @@
1
- ---
2
- gem: ember-source
3
- cve: 2014-0013
4
- url: https://groups.google.com/forum/#!topic/ember-security/2kpXXCxISS4
5
- title: |
6
- Ember.js Potential XSS Exploit With User-Supplied Data When Binding
7
- Primitive Values
8
- date: 2014-01-14
9
- description: |
10
- In general, Ember.js escapes or strips any user-supplied content before
11
- inserting it in strings that will be sent to innerHTML. However, we have
12
- identified a vulnerability that could lead to unescaped content being inserted
13
- into the innerHTML string without being sanitized.
14
-
15
- When a primitive value is used as the Handlebars context, that value is not
16
- properly escaped. An example of this would be using the `{{each}}` helper to
17
- iterate over an array of user-supplied strings and using `{{this}}` inside the
18
- block to display each string.
19
-
20
- In applications that contain templates whose context is a primitive value and
21
- use the `{{this}}` keyword to display that value, a specially-crafted payload
22
- could execute arbitrary JavaScript in the context of the current domain
23
- ("XSS").
24
-
25
- This vulnerability affects applications that contain templates whose context is
26
- set to a user-supplied primitive value (such as a string or number) and also
27
- contain the `{{this}}` special Handlebars variable to display the value.
28
- patched_versions:
29
- - ~> 1.0.1
30
- - ~> 1.1.3
31
- - ~> 1.2.1
32
- - ~> 1.3.1
33
- - ">= 1.4.0.beta.2"