bundler-audit 0.6.1 → 0.9.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +3 -0
  3. data/.github/ISSUE_TEMPLATE/bug-report.md +44 -0
  4. data/.github/workflows/ruby.yml +42 -0
  5. data/.gitignore +1 -1
  6. data/.rspec +1 -1
  7. data/.rubocop.yml +83 -0
  8. data/COPYING.txt +4 -4
  9. data/ChangeLog.md +111 -4
  10. data/Gemfile +7 -3
  11. data/README.md +85 -23
  12. data/Rakefile +17 -30
  13. data/bundler-audit.gemspec +3 -11
  14. data/gemspec.yml +2 -2
  15. data/lib/bundler/audit/advisory.rb +81 -9
  16. data/lib/bundler/audit/cli/formats/json.rb +65 -0
  17. data/lib/bundler/audit/cli/formats/junit.rb +127 -0
  18. data/lib/bundler/audit/cli/formats/text.rb +122 -0
  19. data/lib/bundler/audit/cli/formats.rb +148 -0
  20. data/lib/bundler/audit/cli/thor_ext/shell/basic/say_error.rb +33 -0
  21. data/lib/bundler/audit/cli.rb +114 -88
  22. data/lib/bundler/audit/configuration.rb +108 -0
  23. data/lib/bundler/audit/database.rb +161 -29
  24. data/lib/bundler/audit/report.rb +149 -0
  25. data/lib/bundler/audit/results/insecure_source.rb +78 -0
  26. data/lib/bundler/audit/results/result.rb +21 -0
  27. data/lib/bundler/audit/results/unpatched_gem.rb +98 -0
  28. data/lib/bundler/audit/results.rb +19 -0
  29. data/lib/bundler/audit/scanner.rb +105 -26
  30. data/lib/bundler/audit/task.rb +19 -6
  31. data/lib/bundler/audit/version.rb +3 -3
  32. data/lib/bundler/audit.rb +2 -2
  33. data/spec/advisory_spec.rb +153 -20
  34. data/spec/bundle/insecure_sources/Gemfile.lock +151 -0
  35. data/spec/bundle/secure/Gemfile +1 -0
  36. data/spec/bundle/secure/Gemfile.lock +123 -0
  37. data/spec/bundle/unpatched_gems/Gemfile +1 -1
  38. data/spec/bundle/unpatched_gems/Gemfile.lock +31 -0
  39. data/spec/bundle/unpatched_gems_with_dot_configuration/.bundler-audit.yml +3 -0
  40. data/spec/bundle/unpatched_gems_with_dot_configuration/Gemfile +3 -0
  41. data/spec/bundle/unpatched_gems_with_dot_configuration/Gemfile.lock +31 -0
  42. data/spec/cli/formats/json_spec.rb +114 -0
  43. data/spec/cli/formats/junit_spec.rb +284 -0
  44. data/spec/cli/formats/text_spec.rb +273 -0
  45. data/spec/cli/formats_spec.rb +86 -0
  46. data/spec/cli_spec.rb +100 -21
  47. data/spec/configuration_spec.rb +78 -0
  48. data/spec/database_spec.rb +286 -39
  49. data/spec/fixtures/advisory/CVE-2020-1234.yml +21 -0
  50. data/spec/fixtures/{not_a_hash.yml → advisory/not_a_hash.yml} +0 -0
  51. data/spec/fixtures/config/bad/empty.yml +0 -0
  52. data/spec/fixtures/config/bad/ignore_contains_a_non_string.yml +4 -0
  53. data/spec/fixtures/config/bad/ignore_is_not_an_array.yml +3 -0
  54. data/spec/fixtures/config/valid.yml +4 -0
  55. data/spec/fixtures/lib/bundler/audit/cli/formats/bad.rb +17 -0
  56. data/spec/fixtures/lib/bundler/audit/cli/formats/good.rb +17 -0
  57. data/spec/integration_spec.rb +17 -89
  58. data/spec/report_spec.rb +98 -0
  59. data/spec/results/insecure_source_spec.rb +47 -0
  60. data/spec/results/result_spec.rb +10 -0
  61. data/spec/results/unpatched_gem_spec.rb +123 -0
  62. data/spec/scanner_spec.rb +90 -34
  63. data/spec/spec_helper.rb +40 -35
  64. metadata +47 -383
  65. data/.gitmodules +0 -3
  66. data/.travis.yml +0 -13
  67. data/data/ruby-advisory-db/.gitignore +0 -1
  68. data/data/ruby-advisory-db/.rspec +0 -1
  69. data/data/ruby-advisory-db/.travis.yml +0 -12
  70. data/data/ruby-advisory-db/CONTRIBUTING.md +0 -69
  71. data/data/ruby-advisory-db/CONTRIBUTORS.md +0 -40
  72. data/data/ruby-advisory-db/Gemfile +0 -9
  73. data/data/ruby-advisory-db/Gemfile.lock +0 -40
  74. data/data/ruby-advisory-db/LICENSE.txt +0 -5
  75. data/data/ruby-advisory-db/README.md +0 -99
  76. data/data/ruby-advisory-db/Rakefile +0 -26
  77. data/data/ruby-advisory-db/gems/Arabic-Prawn/OSVDB-104365.yml +0 -12
  78. data/data/ruby-advisory-db/gems/RedCloth/CVE-2012-6684.yml +0 -21
  79. data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4995.yml +0 -13
  80. data/data/ruby-advisory-db/gems/VladTheEnterprising/CVE-2014-4996.yml +0 -13
  81. data/data/ruby-advisory-db/gems/actionmailer/OSVDB-98629.yml +0 -17
  82. data/data/ruby-advisory-db/gems/actionpack/CVE-2014-0130.yml +0 -23
  83. data/data/ruby-advisory-db/gems/actionpack/CVE-2014-7818.yml +0 -24
  84. data/data/ruby-advisory-db/gems/actionpack/CVE-2014-7829.yml +0 -26
  85. data/data/ruby-advisory-db/gems/actionpack/CVE-2015-7576.yml +0 -116
  86. data/data/ruby-advisory-db/gems/actionpack/CVE-2015-7581.yml +0 -55
  87. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-0751.yml +0 -71
  88. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-0752.yml +0 -96
  89. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-2097.yml +0 -90
  90. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-2098.yml +0 -89
  91. data/data/ruby-advisory-db/gems/actionpack/CVE-2016-6316.yml +0 -57
  92. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100524.yml +0 -20
  93. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100525.yml +0 -21
  94. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100526.yml +0 -27
  95. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100527.yml +0 -24
  96. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100528.yml +0 -22
  97. data/data/ruby-advisory-db/gems/actionpack/OSVDB-103439.yml +0 -24
  98. data/data/ruby-advisory-db/gems/actionpack/OSVDB-103440.yml +0 -22
  99. data/data/ruby-advisory-db/gems/actionpack/OSVDB-74616.yml +0 -18
  100. data/data/ruby-advisory-db/gems/actionpack/OSVDB-77199.yml +0 -23
  101. data/data/ruby-advisory-db/gems/actionpack/OSVDB-79727.yml +0 -26
  102. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84243.yml +0 -28
  103. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84513.yml +0 -23
  104. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84515.yml +0 -26
  105. data/data/ruby-advisory-db/gems/actionpack/OSVDB-89026.yml +0 -24
  106. data/data/ruby-advisory-db/gems/actionpack/OSVDB-91452.yml +0 -20
  107. data/data/ruby-advisory-db/gems/actionpack/OSVDB-91454.yml +0 -23
  108. data/data/ruby-advisory-db/gems/actionview/CVE-2016-0752.yml +0 -92
  109. data/data/ruby-advisory-db/gems/actionview/CVE-2016-2097.yml +0 -89
  110. data/data/ruby-advisory-db/gems/actionview/CVE-2016-6316.yml +0 -56
  111. data/data/ruby-advisory-db/gems/activemodel/CVE-2016-0753.yml +0 -92
  112. data/data/ruby-advisory-db/gems/activerecord/CVE-2014-3514.yml +0 -23
  113. data/data/ruby-advisory-db/gems/activerecord/CVE-2015-7577.yml +0 -107
  114. data/data/ruby-advisory-db/gems/activerecord/CVE-2016-6317.yml +0 -73
  115. data/data/ruby-advisory-db/gems/activerecord/OSVDB-103438.yml +0 -23
  116. data/data/ruby-advisory-db/gems/activerecord/OSVDB-108664.yml +0 -23
  117. data/data/ruby-advisory-db/gems/activerecord/OSVDB-108665.yml +0 -24
  118. data/data/ruby-advisory-db/gems/activerecord/OSVDB-82403.yml +0 -25
  119. data/data/ruby-advisory-db/gems/activerecord/OSVDB-82610.yml +0 -24
  120. data/data/ruby-advisory-db/gems/activerecord/OSVDB-88661.yml +0 -20
  121. data/data/ruby-advisory-db/gems/activerecord/OSVDB-89025.yml +0 -24
  122. data/data/ruby-advisory-db/gems/activerecord/OSVDB-90072.yml +0 -21
  123. data/data/ruby-advisory-db/gems/activerecord/OSVDB-90073.yml +0 -23
  124. data/data/ruby-advisory-db/gems/activerecord/OSVDB-91453.yml +0 -26
  125. data/data/ruby-advisory-db/gems/activerecord-jdbc-adapter/OSVDB-114854.yml +0 -20
  126. data/data/ruby-advisory-db/gems/activerecord-oracle_enhanced-adapter/OSVDB-95376.yml +0 -15
  127. data/data/ruby-advisory-db/gems/activeresource/OSVDB-95749.yml +0 -15
  128. data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3226.yml +0 -54
  129. data/data/ruby-advisory-db/gems/activesupport/CVE-2015-3227.yml +0 -32
  130. data/data/ruby-advisory-db/gems/activesupport/OSVDB-79726.yml +0 -26
  131. data/data/ruby-advisory-db/gems/activesupport/OSVDB-84516.yml +0 -23
  132. data/data/ruby-advisory-db/gems/activesupport/OSVDB-89594.yml +0 -25
  133. data/data/ruby-advisory-db/gems/activesupport/OSVDB-91451.yml +0 -28
  134. data/data/ruby-advisory-db/gems/administrate/CVE-2016-3098.yml +0 -14
  135. data/data/ruby-advisory-db/gems/aescrypt/CVE-2013-7463.yml +0 -10
  136. data/data/ruby-advisory-db/gems/archive-tar-minitar/CVE-2016-10173.yml +0 -16
  137. data/data/ruby-advisory-db/gems/as/OSVDB-112683.yml +0 -10
  138. data/data/ruby-advisory-db/gems/authlogic/OSVDB-89064.yml +0 -15
  139. data/data/ruby-advisory-db/gems/auto_awesomplete/OSVDB-132800.yml +0 -11
  140. data/data/ruby-advisory-db/gems/auto_select2/OSVDB-132800.yml +0 -13
  141. data/data/ruby-advisory-db/gems/awesome_spawn/CVE-2014-0156.yml +0 -19
  142. data/data/ruby-advisory-db/gems/backup-agoddard/OSVDB-108578.yml +0 -8
  143. data/data/ruby-advisory-db/gems/backup_checksum/OSVDB-108569.yml +0 -12
  144. data/data/ruby-advisory-db/gems/backup_checksum/OSVDB-108570.yml +0 -10
  145. data/data/ruby-advisory-db/gems/bcrypt/OSVDB-62067.yml +0 -17
  146. data/data/ruby-advisory-db/gems/bcrypt-ruby/OSVDB-62067.yml +0 -19
  147. data/data/ruby-advisory-db/gems/bio-basespace-sdk/OSVDB-101031.yml +0 -8
  148. data/data/ruby-advisory-db/gems/brbackup/OSVDB-108899.yml +0 -12
  149. data/data/ruby-advisory-db/gems/brbackup/OSVDB-108900.yml +0 -11
  150. data/data/ruby-advisory-db/gems/brbackup/OSVDB-108901.yml +0 -11
  151. data/data/ruby-advisory-db/gems/bson/CVE-2015-4412.yml +0 -16
  152. data/data/ruby-advisory-db/gems/builder/OSVDB-95668.yml +0 -13
  153. data/data/ruby-advisory-db/gems/bundler/OSVDB-110004.yml +0 -15
  154. data/data/ruby-advisory-db/gems/bundler/OSVDB-115090.yml +0 -13
  155. data/data/ruby-advisory-db/gems/bundler/OSVDB-115091.yml +0 -12
  156. data/data/ruby-advisory-db/gems/bundler/OSVDB-115917.yml +0 -12
  157. data/data/ruby-advisory-db/gems/cap-strap/OSVDB-108574.yml +0 -8
  158. data/data/ruby-advisory-db/gems/cap-strap/OSVDB-108575.yml +0 -7
  159. data/data/ruby-advisory-db/gems/ciborg/OSVDB-108586.yml +0 -8
  160. data/data/ruby-advisory-db/gems/cocaine/OSVDB-98835.yml +0 -15
  161. data/data/ruby-advisory-db/gems/codders-dataset/OSVDB-108582.yml +0 -8
  162. data/data/ruby-advisory-db/gems/codders-dataset/OSVDB-108583.yml +0 -8
  163. data/data/ruby-advisory-db/gems/colorscore/CVE-2015-7541.yml +0 -21
  164. data/data/ruby-advisory-db/gems/command_wrap/OSVDB-91450.yml +0 -9
  165. data/data/ruby-advisory-db/gems/crack/OSVDB-90742.yml +0 -17
  166. data/data/ruby-advisory-db/gems/cremefraiche/OSVDB-93395.yml +0 -11
  167. data/data/ruby-advisory-db/gems/curb/OSVDB-114600.yml +0 -12
  168. data/data/ruby-advisory-db/gems/curl/OSVDB-91230.yml +0 -13
  169. data/data/ruby-advisory-db/gems/devise/CVE-2015-8314.yml +0 -14
  170. data/data/ruby-advisory-db/gems/devise/OSVDB-114435.yml +0 -17
  171. data/data/ruby-advisory-db/gems/devise/OSVDB-89642.yml +0 -20
  172. data/data/ruby-advisory-db/gems/devise-two-factor/CVE-2015-7225.yml +0 -22
  173. data/data/ruby-advisory-db/gems/doorkeeper/CVE-2014-8144.yml +0 -26
  174. data/data/ruby-advisory-db/gems/doorkeeper/CVE-2016-6582.yml +0 -43
  175. data/data/ruby-advisory-db/gems/doorkeeper/OSVDB-118830.yml +0 -17
  176. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-110439.yml +0 -13
  177. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-90647.yml +0 -16
  178. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-96798.yml +0 -14
  179. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-97854.yml +0 -12
  180. data/data/ruby-advisory-db/gems/echor/OSVDB-102129.yml +0 -12
  181. data/data/ruby-advisory-db/gems/echor/OSVDB-102130.yml +0 -11
  182. data/data/ruby-advisory-db/gems/ember-source/CVE-2013-4170.yml +0 -25
  183. data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0013.yml +0 -33
  184. data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0014.yml +0 -30
  185. data/data/ruby-advisory-db/gems/ember-source/CVE-2014-0046.yml +0 -26
  186. data/data/ruby-advisory-db/gems/ember-source/CVE-2015-1866.yml +0 -26
  187. data/data/ruby-advisory-db/gems/ember-source/CVE-2015-7565.yml +0 -30
  188. data/data/ruby-advisory-db/gems/enum_column3/OSVDB-94679.yml +0 -9
  189. data/data/ruby-advisory-db/gems/espeak-ruby/CVE-2016-10193.yml +0 -15
  190. data/data/ruby-advisory-db/gems/extlib/OSVDB-90740.yml +0 -18
  191. data/data/ruby-advisory-db/gems/fastreader/OSVDB-91232.yml +0 -13
  192. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101445.yml +0 -17
  193. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101446.yml +0 -19
  194. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101447.yml +0 -17
  195. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101448.yml +0 -19
  196. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-101700.yml +0 -16
  197. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-110420.yml +0 -19
  198. data/data/ruby-advisory-db/gems/fat_free_crm/OSVDB-118465.yml +0 -17
  199. data/data/ruby-advisory-db/gems/features/OSVDB-96975.yml +0 -8
  200. data/data/ruby-advisory-db/gems/festivaltts4r/CVE-2016-10194.yml +0 -12
  201. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90715.yml +0 -7
  202. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90716.yml +0 -7
  203. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90717.yml +0 -8
  204. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90718.yml +0 -7
  205. data/data/ruby-advisory-db/gems/flash_tool/OSVDB-90829.yml +0 -8
  206. data/data/ruby-advisory-db/gems/flavour_saver/OSVDB-110796.yml +0 -14
  207. data/data/ruby-advisory-db/gems/flukso4r/OSVDB-101577.yml +0 -7
  208. data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-110439.yml +0 -15
  209. data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-90647.yml +0 -16
  210. data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-96798.yml +0 -16
  211. data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-97854.yml +0 -12
  212. data/data/ruby-advisory-db/gems/ftpd/OSVDB-90784.yml +0 -18
  213. data/data/ruby-advisory-db/gems/git-fastclone/CVE-2015-8968.yml +0 -21
  214. data/data/ruby-advisory-db/gems/git-fastclone/CVE-2015-8969.yml +0 -13
  215. data/data/ruby-advisory-db/gems/gitlab-grit/OSVDB-99370.yml +0 -14
  216. data/data/ruby-advisory-db/gems/gnms/OSVDB-108594.yml +0 -7
  217. data/data/ruby-advisory-db/gems/gollum/CVE-2015-7314.yml +0 -13
  218. data/data/ruby-advisory-db/gems/gollum-grit_adapter/CVE-2014-9489.yml +0 -23
  219. data/data/ruby-advisory-db/gems/gtk2/OSVDB-40774.yml +0 -20
  220. data/data/ruby-advisory-db/gems/gyazo/OSVDB-108563.yml +0 -10
  221. data/data/ruby-advisory-db/gems/handlebars-source/OSVDB-131671.yml +0 -17
  222. data/data/ruby-advisory-db/gems/http/CVE-2015-1828.yml +0 -14
  223. data/data/ruby-advisory-db/gems/httparty/OSVDB-90741.yml +0 -14
  224. data/data/ruby-advisory-db/gems/i18n/OSVDB-100528.yml +0 -17
  225. data/data/ruby-advisory-db/gems/jquery-rails/CVE-2015-1840.yml +0 -36
  226. data/data/ruby-advisory-db/gems/jquery-ujs/CVE-2015-1840.yml +0 -35
  227. data/data/ruby-advisory-db/gems/jruby-openssl/CVE-2009-4123.yml +0 -16
  228. data/data/ruby-advisory-db/gems/jruby-sandbox/OSVDB-106279.yml +0 -12
  229. data/data/ruby-advisory-db/gems/json/OSVDB-101137.yml +0 -17
  230. data/data/ruby-advisory-db/gems/json/OSVDB-101157.yml +0 -14
  231. data/data/ruby-advisory-db/gems/json/OSVDB-90074.yml +0 -23
  232. data/data/ruby-advisory-db/gems/kafo/OSVDB-106826.yml +0 -15
  233. data/data/ruby-advisory-db/gems/kajam/OSVDB-108529.yml +0 -12
  234. data/data/ruby-advisory-db/gems/kajam/OSVDB-108530.yml +0 -11
  235. data/data/ruby-advisory-db/gems/karo/OSVDB-108573.yml +0 -10
  236. data/data/ruby-advisory-db/gems/karteek-docsplit/OSVDB-92117.yml +0 -9
  237. data/data/ruby-advisory-db/gems/kcapifony/OSVDB-108571.yml +0 -8
  238. data/data/ruby-advisory-db/gems/kcapifony/OSVDB-108572.yml +0 -7
  239. data/data/ruby-advisory-db/gems/kelredd-pruview/OSVDB-92228.yml +0 -9
  240. data/data/ruby-advisory-db/gems/kompanee-recipes/OSVDB-108593.yml +0 -12
  241. data/data/ruby-advisory-db/gems/lawn-login/OSVDB-108576.yml +0 -8
  242. data/data/ruby-advisory-db/gems/ldap_fluff/OSVDB-90579.yml +0 -15
  243. data/data/ruby-advisory-db/gems/ldoce/OSVDB-91870.yml +0 -9
  244. data/data/ruby-advisory-db/gems/lean-ruport/OSVDB-108581.yml +0 -8
  245. data/data/ruby-advisory-db/gems/lingq/OSVDB-108585.yml +0 -7
  246. data/data/ruby-advisory-db/gems/loofah/OSVDB-90945.yml +0 -21
  247. data/data/ruby-advisory-db/gems/lynx/OSVDB-108579.yml +0 -7
  248. data/data/ruby-advisory-db/gems/lynx/OSVDB-108580.yml +0 -8
  249. data/data/ruby-advisory-db/gems/mail/OSVDB-131677.yml +0 -26
  250. data/data/ruby-advisory-db/gems/mail/OSVDB-70667.yml +0 -21
  251. data/data/ruby-advisory-db/gems/mail/OSVDB-81631.yml +0 -14
  252. data/data/ruby-advisory-db/gems/mail/OSVDB-81632.yml +0 -16
  253. data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-129854.yml +0 -21
  254. data/data/ruby-advisory-db/gems/mapbox-rails/OSVDB-132871.yml +0 -22
  255. data/data/ruby-advisory-db/gems/md2pdf/OSVDB-92290.yml +0 -9
  256. data/data/ruby-advisory-db/gems/mini_magick/OSVDB-91231.yml +0 -15
  257. data/data/ruby-advisory-db/gems/minitar/CVE-2016-10173.yml +0 -16
  258. data/data/ruby-advisory-db/gems/moped/CVE-2015-4410.yml +0 -17
  259. data/data/ruby-advisory-db/gems/multi_xml/OSVDB-89148.yml +0 -16
  260. data/data/ruby-advisory-db/gems/mustache-js-rails/OSVDB-131671.yml +0 -17
  261. data/data/ruby-advisory-db/gems/net-ldap/OSVDB-106108.yml +0 -14
  262. data/data/ruby-advisory-db/gems/newrelic_rpm/OSVDB-90189.yml +0 -17
  263. data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-1819.yml +0 -52
  264. data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-5312.yml +0 -92
  265. data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-7499.yml +0 -37
  266. data/data/ruby-advisory-db/gems/nokogiri/CVE-2015-8806.yml +0 -42
  267. data/data/ruby-advisory-db/gems/nokogiri/CVE-2016-4658.yml +0 -32
  268. data/data/ruby-advisory-db/gems/nokogiri/CVE-2017-5029.yml +0 -44
  269. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-101179.yml +0 -18
  270. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-101458.yml +0 -15
  271. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-118481.yml +0 -15
  272. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-90946.yml +0 -15
  273. data/data/ruby-advisory-db/gems/nori/OSVDB-90196.yml +0 -19
  274. data/data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99693.yml +0 -22
  275. data/data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99888.yml +0 -17
  276. data/data/ruby-advisory-db/gems/omniauth-oauth2/OSVDB-90264.yml +0 -16
  277. data/data/ruby-advisory-db/gems/open-uri-cached/OSVDB-121701.yml +0 -13
  278. data/data/ruby-advisory-db/gems/paperclip/CVE-2015-2963.yml +0 -16
  279. data/data/ruby-advisory-db/gems/paperclip/OSVDB-103151.yml +0 -13
  280. data/data/ruby-advisory-db/gems/paratrooper-newrelic/OSVDB-101839.yml +0 -13
  281. data/data/ruby-advisory-db/gems/paratrooper-pingdom/OSVDB-101847.yml +0 -13
  282. data/data/ruby-advisory-db/gems/passenger/CVE-2014-1831.yml +0 -13
  283. data/data/ruby-advisory-db/gems/passenger/CVE-2014-1832.yml +0 -13
  284. data/data/ruby-advisory-db/gems/passenger/CVE-2015-7519.yml +0 -17
  285. data/data/ruby-advisory-db/gems/passenger/CVE-2016-10345.yml +0 -16
  286. data/data/ruby-advisory-db/gems/passenger/OSVDB-90738.yml +0 -16
  287. data/data/ruby-advisory-db/gems/passenger/OSVDB-93752.yml +0 -15
  288. data/data/ruby-advisory-db/gems/passenger/OSVDB-94074.yml +0 -14
  289. data/data/ruby-advisory-db/gems/pdfkit/OSVDB-90867.yml +0 -11
  290. data/data/ruby-advisory-db/gems/point-cli/OSVDB-108577.yml +0 -8
  291. data/data/ruby-advisory-db/gems/quick_magick/OSVDB-106954.yml +0 -7
  292. data/data/ruby-advisory-db/gems/rack/CVE-2015-3225.yml +0 -18
  293. data/data/ruby-advisory-db/gems/rack/OSVDB-78121.yml +0 -21
  294. data/data/ruby-advisory-db/gems/rack/OSVDB-89317.yml +0 -21
  295. data/data/ruby-advisory-db/gems/rack/OSVDB-89320.yml +0 -19
  296. data/data/ruby-advisory-db/gems/rack/OSVDB-89327.yml +0 -20
  297. data/data/ruby-advisory-db/gems/rack/OSVDB-89938.yml +0 -18
  298. data/data/ruby-advisory-db/gems/rack/OSVDB-89939.yml +0 -23
  299. data/data/ruby-advisory-db/gems/rack-attack/OSVDB-132234.yml +0 -26
  300. data/data/ruby-advisory-db/gems/rack-cache/OSVDB-83077.yml +0 -18
  301. data/data/ruby-advisory-db/gems/rack-mini-profiler/CVE-2016-4442.yml +0 -17
  302. data/data/ruby-advisory-db/gems/rack-ssl/OSVDB-104734.yml +0 -11
  303. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7578.yml +0 -47
  304. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7579.yml +0 -75
  305. data/data/ruby-advisory-db/gems/rails-html-sanitizer/CVE-2015-7580.yml +0 -70
  306. data/data/ruby-advisory-db/gems/rbovirt/OSVDB-104080.yml +0 -20
  307. data/data/ruby-advisory-db/gems/rdoc/OSVDB-90004.yml +0 -27
  308. data/data/ruby-advisory-db/gems/redcarpet/CVE-2015-5147.yml +0 -17
  309. data/data/ruby-advisory-db/gems/redcarpet/OSVDB-120415.yml +0 -16
  310. data/data/ruby-advisory-db/gems/redis-namespace/OSVDB-96425.yml +0 -15
  311. data/data/ruby-advisory-db/gems/refile/OSVDB-120857.yml +0 -16
  312. data/data/ruby-advisory-db/gems/rest-client/CVE-2015-1820.yml +0 -23
  313. data/data/ruby-advisory-db/gems/rest-client/OSVDB-117461.yml +0 -13
  314. data/data/ruby-advisory-db/gems/rgpg/OSVDB-95948.yml +0 -15
  315. data/data/ruby-advisory-db/gems/ruby-saml/CVE-2016-5697.yml +0 -17
  316. data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-117903.yml +0 -13
  317. data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-124383.yml +0 -11
  318. data/data/ruby-advisory-db/gems/ruby-saml/OSVDB-124991.yml +0 -13
  319. data/data/ruby-advisory-db/gems/ruby_parser/OSVDB-90561.yml +0 -11
  320. data/data/ruby-advisory-db/gems/rubyzip/CVE-2017-5946.yml +0 -14
  321. data/data/ruby-advisory-db/gems/safemode/CVE-2016-3693.yml +0 -13
  322. data/data/ruby-advisory-db/gems/screen_capture/OSVDB-107783.yml +0 -7
  323. data/data/ruby-advisory-db/gems/sentry-raven/OSVDB-115654.yml +0 -14
  324. data/data/ruby-advisory-db/gems/sfpagent/OSVDB-105971.yml +0 -15
  325. data/data/ruby-advisory-db/gems/show_in_browser/OSVDB-93490.yml +0 -8
  326. data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125675.yml +0 -9
  327. data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125676.yml +0 -14
  328. data/data/ruby-advisory-db/gems/sidekiq/OSVDB-125678.yml +0 -9
  329. data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126329.yml +0 -12
  330. data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126330.yml +0 -10
  331. data/data/ruby-advisory-db/gems/sidekiq-pro/OSVDB-126331.yml +0 -14
  332. data/data/ruby-advisory-db/gems/sounder/OSVDB-96278.yml +0 -14
  333. data/data/ruby-advisory-db/gems/spina/CVE-2015-4619.yml +0 -16
  334. data/data/ruby-advisory-db/gems/spree/OSVDB-119205.yml +0 -18
  335. data/data/ruby-advisory-db/gems/spree/OSVDB-125699.yml +0 -18
  336. data/data/ruby-advisory-db/gems/spree/OSVDB-125701.yml +0 -17
  337. data/data/ruby-advisory-db/gems/spree/OSVDB-125712.yml +0 -16
  338. data/data/ruby-advisory-db/gems/spree/OSVDB-125713.yml +0 -15
  339. data/data/ruby-advisory-db/gems/spree/OSVDB-69098.yml +0 -19
  340. data/data/ruby-advisory-db/gems/spree/OSVDB-73751.yml +0 -11
  341. data/data/ruby-advisory-db/gems/spree/OSVDB-76011.yml +0 -15
  342. data/data/ruby-advisory-db/gems/spree/OSVDB-81505.yml +0 -14
  343. data/data/ruby-advisory-db/gems/spree/OSVDB-81506.yml +0 -16
  344. data/data/ruby-advisory-db/gems/spree/OSVDB-90865.yml +0 -20
  345. data/data/ruby-advisory-db/gems/spree/OSVDB-91216.yml +0 -17
  346. data/data/ruby-advisory-db/gems/spree/OSVDB-91217.yml +0 -17
  347. data/data/ruby-advisory-db/gems/spree/OSVDB-91218.yml +0 -17
  348. data/data/ruby-advisory-db/gems/spree/OSVDB-91219.yml +0 -17
  349. data/data/ruby-advisory-db/gems/spree_auth/OSVDB-90865.yml +0 -16
  350. data/data/ruby-advisory-db/gems/spree_auth_devise/OSVDB-90865.yml +0 -20
  351. data/data/ruby-advisory-db/gems/sprockets/CVE-2014-7819.yml +0 -27
  352. data/data/ruby-advisory-db/gems/sprout/OSVDB-100598.yml +0 -16
  353. data/data/ruby-advisory-db/gems/sup/CVE-2013-4478.yml +0 -14
  354. data/data/ruby-advisory-db/gems/sup/CVE-2013-4479.yml +0 -14
  355. data/data/ruby-advisory-db/gems/thumbshooter/OSVDB-91839.yml +0 -9
  356. data/data/ruby-advisory-db/gems/twitter-bootstrap-rails/OSVDB-109206.yml +0 -22
  357. data/data/ruby-advisory-db/gems/uglifier/OSVDB-126747.yml +0 -19
  358. data/data/ruby-advisory-db/gems/web-console/CVE-2015-3224.yml +0 -22
  359. data/data/ruby-advisory-db/gems/web-console/OSVDB-112346.yml +0 -12
  360. data/data/ruby-advisory-db/gems/webbynode/OSVDB-100920.yml +0 -12
  361. data/data/ruby-advisory-db/gems/wicked/OSVDB-98270.yml +0 -14
  362. data/data/ruby-advisory-db/gems/will_paginate/OSVDB-101138.yml +0 -15
  363. data/data/ruby-advisory-db/gems/xaviershay-dm-rails/OSVDB-118579.yml +0 -13
  364. data/data/ruby-advisory-db/lib/cf_scrape.py +0 -5
  365. data/data/ruby-advisory-db/lib/osvdb_scrape.rb +0 -92
  366. data/data/ruby-advisory-db/libraries/rubygems/CVE-2013-4287.yml +0 -19
  367. data/data/ruby-advisory-db/libraries/rubygems/CVE-2013-4363.yml +0 -20
  368. data/data/ruby-advisory-db/libraries/rubygems/CVE-2015-3900.yml +0 -19
  369. data/data/ruby-advisory-db/libraries/rubygems/CVE-2015-4020.yml +0 -19
  370. data/data/ruby-advisory-db/libraries/rubygems/OSVDB-33561.yml +0 -17
  371. data/data/ruby-advisory-db/libraries/rubygems/OSVDB-81444.yml +0 -14
  372. data/data/ruby-advisory-db/libraries/rubygems/OSVDB-85809.yml +0 -16
  373. data/data/ruby-advisory-db/rubies/jruby/CVE-2010-1330.yml +0 -17
  374. data/data/ruby-advisory-db/rubies/jruby/CVE-2011-4838.yml +0 -15
  375. data/data/ruby-advisory-db/rubies/jruby/CVE-2012-5370.yml +0 -17
  376. data/data/ruby-advisory-db/rubies/jruby/OSVDB-94644.yml +0 -12
  377. data/data/ruby-advisory-db/rubies/rbx/OSVDB-78119.yml +0 -13
  378. data/data/ruby-advisory-db/rubies/rbx/OSVDB-87861.yml +0 -17
  379. data/data/ruby-advisory-db/rubies/ruby/CVE-2007-5162.yml +0 -16
  380. data/data/ruby-advisory-db/rubies/ruby/CVE-2007-5770.yml +0 -17
  381. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-1447.yml +0 -15
  382. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-1891.yml +0 -21
  383. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-2376.yml +0 -18
  384. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3443.yml +0 -17
  385. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3655.yml +0 -18
  386. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3656.yml +0 -19
  387. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3657.yml +0 -16
  388. data/data/ruby-advisory-db/rubies/ruby/CVE-2008-3905.yml +0 -17
  389. data/data/ruby-advisory-db/rubies/ruby/CVE-2009-0642.yml +0 -17
  390. data/data/ruby-advisory-db/rubies/ruby/CVE-2009-5147.yml +0 -13
  391. data/data/ruby-advisory-db/rubies/ruby/CVE-2011-0188.yml +0 -17
  392. data/data/ruby-advisory-db/rubies/ruby/CVE-2011-2686.yml +0 -17
  393. data/data/ruby-advisory-db/rubies/ruby/CVE-2011-2705.yml +0 -16
  394. data/data/ruby-advisory-db/rubies/ruby/CVE-2011-3009.yml +0 -17
  395. data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4464.yml +0 -17
  396. data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4466.yml +0 -16
  397. data/data/ruby-advisory-db/rubies/ruby/CVE-2012-4481.yml +0 -15
  398. data/data/ruby-advisory-db/rubies/ruby/CVE-2015-1855.yml +0 -17
  399. data/data/ruby-advisory-db/rubies/ruby/CVE-2015-7551.yml +0 -19
  400. data/data/ruby-advisory-db/rubies/ruby/CVE-2015-9096.yml +0 -19
  401. data/data/ruby-advisory-db/rubies/ruby/OSVDB-100113.yml +0 -17
  402. data/data/ruby-advisory-db/rubies/ruby/OSVDB-105027.yml +0 -20
  403. data/data/ruby-advisory-db/rubies/ruby/OSVDB-107478.yml +0 -16
  404. data/data/ruby-advisory-db/rubies/ruby/OSVDB-108971.yml +0 -17
  405. data/data/ruby-advisory-db/rubies/ruby/OSVDB-113747.yml +0 -19
  406. data/data/ruby-advisory-db/rubies/ruby/OSVDB-114641.yml +0 -22
  407. data/data/ruby-advisory-db/rubies/ruby/OSVDB-120541.yml +0 -22
  408. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46550.yml +0 -22
  409. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46551.yml +0 -21
  410. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46552.yml +0 -21
  411. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46553.yml +0 -22
  412. data/data/ruby-advisory-db/rubies/ruby/OSVDB-46554.yml +0 -18
  413. data/data/ruby-advisory-db/rubies/ruby/OSVDB-47753.yml +0 -16
  414. data/data/ruby-advisory-db/rubies/ruby/OSVDB-55031.yml +0 -17
  415. data/data/ruby-advisory-db/rubies/ruby/OSVDB-60880.yml +0 -17
  416. data/data/ruby-advisory-db/rubies/ruby/OSVDB-61774.yml +0 -20
  417. data/data/ruby-advisory-db/rubies/ruby/OSVDB-65556.yml +0 -17
  418. data/data/ruby-advisory-db/rubies/ruby/OSVDB-66040.yml +0 -17
  419. data/data/ruby-advisory-db/rubies/ruby/OSVDB-70957.yml +0 -15
  420. data/data/ruby-advisory-db/rubies/ruby/OSVDB-70958.yml +0 -20
  421. data/data/ruby-advisory-db/rubies/ruby/OSVDB-74829.yml +0 -18
  422. data/data/ruby-advisory-db/rubies/ruby/OSVDB-78118.yml +0 -14
  423. data/data/ruby-advisory-db/rubies/ruby/OSVDB-87280.yml +0 -17
  424. data/data/ruby-advisory-db/rubies/ruby/OSVDB-87863.yml +0 -18
  425. data/data/ruby-advisory-db/rubies/ruby/OSVDB-87917.yml +0 -16
  426. data/data/ruby-advisory-db/rubies/ruby/OSVDB-90587.yml +0 -16
  427. data/data/ruby-advisory-db/rubies/ruby/OSVDB-93414.yml +0 -19
  428. data/data/ruby-advisory-db/rubies/ruby/OSVDB-94628.yml +0 -21
  429. data/data/ruby-advisory-db/scripts/post-advisories.sh +0 -18
  430. data/data/ruby-advisory-db/spec/advisory_example.rb +0 -202
  431. data/data/ruby-advisory-db/spec/gem_example.rb +0 -22
  432. data/data/ruby-advisory-db/spec/gems_spec.rb +0 -23
  433. data/data/ruby-advisory-db/spec/library_example.rb +0 -21
  434. data/data/ruby-advisory-db/spec/ruby_example.rb +0 -23
  435. data/data/ruby-advisory-db/spec/spec_helper.rb +0 -1
  436. data/data/ruby-advisory-db.ts +0 -1
@@ -1,92 +0,0 @@
1
- ---
2
- gem: nokogiri
3
- cve: 2015-5312
4
- url: https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s
5
- title: Nokogiri gem contains several vulnerabilities in libxml2
6
- date: 2015-12-15
7
-
8
- description: |
9
- Nokogiri version 1.6.7.1 has been released, pulling in several upstream
10
- patches to the vendored libxml2 to address the following CVEs:
11
-
12
- CVE-2015-5312
13
- CVSS v2 Base Score: 7.1 (HIGH)
14
- The xmlStringLenDecodeEntities function in parser.c in libxml2
15
- before 2.9.3 does not properly prevent entity expansion, which
16
- allows context-dependent attackers to cause a denial of
17
- service (CPU consumption) via crafted XML data, a different
18
- vulnerability than CVE-2014-3660.
19
-
20
- CVE-2015-7497
21
- CVSS v2 Base Score: 5.0 (MEDIUM)
22
- Heap-based buffer overflow in the xmlDictComputeFastQKey
23
- function in dict.c in libxml2 before 2.9.3 allows
24
- context-dependent attackers to cause a denial of service via
25
- unspecified vectors.
26
-
27
- CVE-2015-7498
28
- CVSS v2 Base Score: 5.0 (MEDIUM)
29
- Heap-based buffer overflow in the xmlParseXmlDecl function in
30
- parser.c in libxml2 before 2.9.3 allows context-dependent
31
- attackers to cause a denial of service via unspecified vectors
32
- related to extracting errors after an encoding conversion
33
- failure.
34
-
35
- CVE-2015-7499
36
- CVSS v2 Base Score: 5.0 (MEDIUM)
37
- Heap-based buffer overflow in the xmlGROW function in parser.c
38
- in libxml2 before 2.9.3 allows context-dependent attackers to
39
- obtain sensitive process memory information via unspecified
40
- vectors.
41
-
42
- CVE-2015-7500
43
- CVSS v2 Base Score: 5.0 (MEDIUM)
44
- The xmlParseMisc function in parser.c in libxml2 before 2.9.3
45
- allows context-dependent attackers to cause a denial of
46
- service (out-of-bounds heap read) via unspecified vectors
47
- related to incorrect entities boundaries and start tags.
48
-
49
- CVE-2015-8241
50
- CVSS v2 Base Score: 6.4 (MEDIUM)
51
- The xmlNextChar function in libxml2 2.9.2 does not properly
52
- check the state, which allows context-dependent attackers to
53
- cause a denial of service (heap-based buffer over-read and
54
- application crash) or obtain sensitive information via crafted
55
- XML data.
56
-
57
- CVE-2015-8242
58
- CVSS v2 Base Score: 5.8 (MEDIUM)
59
- The xmlSAX2TextNode function in SAX2.c in the push interface in
60
- the HTML parser in libxml2 before 2.9.3 allows
61
- context-dependent attackers to cause a denial of
62
- service (stack-based buffer over-read and application crash) or
63
- obtain sensitive information via crafted XML data.
64
-
65
- CVE-2015-8317
66
- CVSS v2 Base Score: 5.0 (MEDIUM)
67
- The xmlParseXMLDecl function in parser.c in libxml2 before
68
- 2.9.3 allows context-dependent attackers to obtain sensitive
69
- information via an (1) unterminated encoding value or (2)
70
- incomplete XML declaration in XML data, which triggers an
71
- out-of-bounds heap read.
72
-
73
- cvss_v2: 7.1
74
-
75
- unaffected_versions:
76
- - "< 1.6.0"
77
-
78
- patched_versions:
79
- - ">= 1.6.7.1"
80
-
81
- related:
82
- cve:
83
- - 2015-7497
84
- - 2015-7498
85
- - 2015-7499
86
- - 2015-7500
87
- - 2015-8241
88
- - 2015-8242
89
- - 2015-8317
90
- url:
91
- - https://github.com/sparklemotion/nokogiri/pull/1378
92
- - https://github.com/sparklemotion/nokogiri/commit/4205af1a2a546f79d1b48df2ad8b27299c0099c5
@@ -1,37 +0,0 @@
1
- ---
2
- gem: nokogiri
3
- cve: 2015-7499
4
- url: https://groups.google.com/forum/#!topic/ruby-security-ann/Dy7YiKb_pMM
5
- title: |
6
- Nokogiri gem contains a heap-based buffer overflow vulnerability in libxml2
7
- date: 2016-01-19
8
-
9
- description: |
10
- Nokogiri version 1.6.7.2 has been released, pulling in several upstream
11
- patches to the vendored libxml2 to address the following CVE:
12
-
13
- CVE-2015-7499
14
- CVSS v2 Base Score: 5.0 (MEDIUM)
15
-
16
- Heap-based buffer overflow in the xmlGROW function in parser.c
17
- in libxml2 before 2.9.3 allows context-dependent attackers to
18
- obtain sensitive process memory information via unspecified
19
- vectors.
20
-
21
- libxml2 could be made to crash if it opened a specially crafted
22
- file. It was discovered that libxml2 incorrectly handled certain
23
- malformed documents. If a user or automated system were tricked
24
- into opening a specially crafted document, an attacker could
25
- possibly cause libxml2 to crash, resulting in a denial of service.
26
-
27
- cvss_v2: 5.0
28
-
29
- unaffected_versions:
30
- - "< 1.6.0"
31
-
32
- patched_versions:
33
- - ">= 1.6.7.2"
34
-
35
- related:
36
- url:
37
- - https://github.com/sparklemotion/nokogiri/commit/9eb540e7c905924a42757bf0a34c2c00707d536c
@@ -1,42 +0,0 @@
1
- ---
2
- gem: nokogiri
3
- cve: 2015-8806
4
- url: https://github.com/sparklemotion/nokogiri/issues/1473
5
- title: Denial of service or RCE from libxml2 and libxslt
6
- date: 2016-06-07
7
- description: |
8
- Nokogiri is affected by series of vulnerabilities in libxml2 and libxslt,
9
- which are libraries Nokogiri depends on. It was discovered that libxml2 and
10
- libxslt incorrectly handled certain malformed documents, which can allow
11
- malicious users to cause issues ranging from denial of service to remote code
12
- execution attacks.
13
-
14
- For more information, the Ubuntu Security Notice is a good start:
15
- http://www.ubuntu.com/usn/usn-2994-1/
16
-
17
- patched_versions:
18
- - ">= 1.6.8"
19
- unaffected_versions:
20
- - "< 1.6.0"
21
- related:
22
- cve:
23
- - 2016-1762
24
- - 2016-1833
25
- - 2016-1834
26
- - 2016-1835
27
- - 2016-1836
28
- - 2016-1837
29
- - 2016-1838
30
- - 2016-1839
31
- - 2016-1840
32
- - 2016-2073
33
- - 2016-3627
34
- - 2016-3705
35
- - 2016-4447
36
- - 2016-4449
37
- - 2016-4483
38
- url:
39
- - https://github.com/sparklemotion/nokogiri/issues/1473
40
- - https://github.com/sparklemotion/nokogiri/commit/03d402212707bd5dfa0a21b7de5e91a7f9d90028
41
- - https://mail.gnome.org/archives/xml/2016-May/msg00023.html
42
- - http://www.ubuntu.com/usn/usn-2994-1/
@@ -1,32 +0,0 @@
1
- ---
2
- gem: nokogiri
3
- cve: 2016-4658
4
- url: https://github.com/sparklemotion/nokogiri/issues/1615
5
- title: Nokogiri gem contains several vulnerabilities in libxml2 and libxslt
6
- date: 2017-03-11
7
- description: |
8
- Nokogiri version 1.7.1 has been released, pulling in several upstream
9
- patches to the vendored libxml2 to address the following CVEs:
10
-
11
- CVE-2016-4658
12
- CVSS v3 Base Score: 9.8 (Critical)
13
- libxml2 in Apple iOS before 10, OS X before 10.12, tvOS before 10, and
14
- watchOS before 3 allows remote attackers to execute arbitrary code or cause
15
- a denial of service (memory corruption) via a crafted XML document.
16
-
17
- CVE-2016-5131
18
- CVSS v3 Base Score: 8.8 (HIGH)
19
- Use-after-free vulnerability in libxml2 through 2.9.4, as used in Google
20
- Chrome before 52.0.2743.82, allows remote attackers to cause a denial of
21
- service or possibly have unspecified other impact via vectors related to
22
- the XPointer range-to function.
23
-
24
- cvss_v3: 9.8
25
-
26
- patched_versions:
27
- - ">= 1.7.1"
28
- related:
29
- cve:
30
- - 2016-5131
31
- url:
32
- - https://github.com/sparklemotion/nokogiri/issues/1615
@@ -1,44 +0,0 @@
1
- ---
2
- gem: nokogiri
3
- cve: 2017-5029
4
- url: https://github.com/sparklemotion/nokogiri/issues/1634
5
- title: Nokogiri gem contains two upstream vulnerabilities in libxslt 1.1.29
6
- date: 2017-05-09
7
- description: |
8
- nokogiri version 1.7.2 has been released.
9
-
10
- This is a security update based on 1.7.1, addressing two upstream
11
- libxslt 1.1.29 vulnerabilities classified as "Medium" by Canonical
12
- and given a CVSS3 score of "6.5 Medium" and "8.8 High" by RedHat.
13
-
14
- These patches only apply when using Nokogiri's vendored libxslt
15
- package. If you're using your distro's system libraries, there's no
16
- need to upgrade from 1.7.0.1 or 1.7.1 at this time.
17
-
18
- Full details are available at the github issue linked to in the
19
- changelog below.
20
-
21
- -----
22
-
23
- # 1.7.2 / 2017-05-09
24
-
25
- ## Security Notes
26
-
27
- [MRI] Upstream libxslt patches are applied to the vendored libxslt
28
- 1.1.29 which address CVE-2017-5029 and CVE-2016-4738.
29
-
30
- For more information:
31
-
32
- * https://github.com/sparklemotion/nokogiri/issues/1634
33
- * http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-5029.html
34
- * http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-4738.html
35
-
36
- patched_versions:
37
- - ">= 1.7.2"
38
- related:
39
- cve:
40
- - 2016-4738
41
- - 2017-5029
42
- url:
43
- - http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-5029.html
44
- - http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-4738.html
@@ -1,18 +0,0 @@
1
- ---
2
- gem: nokogiri
3
- platform: jruby
4
- cve: 2013-6460
5
- osvdb: 101179
6
- url: http://osvdb.org/show/osvdb/101179
7
- title: |
8
- Nokogiri Gem for JRuby Crafted XML Document Handling Infinite Loop Remote DoS
9
- date: 2013-12-14
10
- description: |
11
- Nokogiri Gem for JRuby contains a flaw that may allow a remote denial of
12
- service. The issue is triggered when handling a specially crafted XML
13
- document, which can result in an infinite loop. This may allow a
14
- context-dependent attacker to crash the server.
15
- cvss_v2: 4.3
16
- patched_versions:
17
- - "~> 1.5.11"
18
- - ">= 1.6.1"
@@ -1,15 +0,0 @@
1
- ---
2
- gem: nokogiri
3
- cve: 2013-6461
4
- osvdb: 101458
5
- url: http://www.osvdb.org/show/osvdb/101458
6
- title: Nokogiri Gem for Ruby External Entity (XXE) Expansion Remote DoS
7
- date: 2013-12-14
8
- description: Nokogiri gem for Ruby contains an flaw that is triggered during the parsing of XML data.
9
- The issue is due to an incorrectly configured XML parser accepting XML external entities from
10
- an untrusted source. By sending specially crafted XML data, a remote attacker can cause an infinite
11
- loop and crash the program.
12
- cvss_v2:
13
- patched_versions:
14
- - ~> 1.5.11
15
- - ">= 1.6.1"
@@ -1,15 +0,0 @@
1
- ---
2
- gem: nokogiri
3
- platform: jruby
4
- osvdb: 118481
5
- url: https://github.com/sparklemotion/nokogiri/pull/1087
6
- title: |
7
- Nokogiri Gem for JRuby XML Document Root Element Handling Memory Consumption
8
- Remote DoS
9
- date: 2014-04-30
10
- description: |
11
- Nokogiri Gem for JRuby contains a flaw that is triggered when handling a root
12
- element in an XML document. This may allow a remote attacker to cause a
13
- consumption of memory resources.
14
- patched_versions:
15
- - ">= 1.6.3"
@@ -1,15 +0,0 @@
1
- ---
2
- gem: nokogiri
3
- cve: 2012-6685
4
- osvdb: 90946
5
- url: http://www.osvdb.org/show/osvdb/90946
6
- title: Nokogiri Gem for Ruby External Entity (XXE) Expansion Internal Network Response Remote Disclosure
7
- date: 2012-06-08
8
- description: libxml2 contains a flaw that may lead to unauthorized disclosure of
9
- potentially sensitive information. The issue is triggered when handling the
10
- expansion of XML external entities (XXE), which can be used to trigger URL's
11
- on an internal network and allow a remote attacker to gain access to their
12
- responses.
13
- cvss_v2: 5.0
14
- patched_versions:
15
- - ">= 1.5.4"
@@ -1,19 +0,0 @@
1
- ---
2
- gem: nori
3
- cve: 2013-0285
4
- osvdb: 90196
5
- url: http://osvdb.org/show/osvdb/90196
6
- title: Ruby Gem nori Parameter Parsing Remote Code Execution
7
- date: 2013-01-10
8
-
9
- description: |
10
- The Ruby Gem nori has a parameter parsing error that may allow an attacker
11
- to execute arbitrary code. This vulnerability has to do with type casting
12
- during parsing, and is related to CVE-2013-0156.
13
-
14
- cvss_v2: 7.5
15
-
16
- patched_versions:
17
- - ~> 1.0.3
18
- - ~> 1.1.4
19
- - ">= 2.0.2"
@@ -1,22 +0,0 @@
1
- ---
2
- gem: omniauth-facebook
3
- cve: 2013-4562
4
- osvdb: 99693
5
- url: http://www.osvdb.org/show/osvdb/99693
6
- title: omniauth-facebook Gem for Ruby Unspecified CSRF
7
- date: 2013-11-12
8
-
9
- description: |
10
- omniauth-facebook Gem for Ruby contains a flaw as HTTP requests do not
11
- require multiple steps, explicit confirmation, or a unique token when
12
- performing certain sensitive actions. By tricking a user into following
13
- a specially crafted link, a context-dependent attacker can perform a
14
- Cross-Site Request Forgery (CSRF / XSRF) attack causing the victim to
15
- perform an unspecified action.
16
-
17
- cvss_v2: 6.8
18
-
19
- patched_versions:
20
- - ">= 1.5.0"
21
- unaffected_versions:
22
- - "<= 1.4.0"
@@ -1,17 +0,0 @@
1
- ---
2
- gem: omniauth-facebook
3
- cve: 2013-4593
4
- osvdb: 99888
5
- url: http://www.osvdb.org/show/osvdb/99888
6
- title: omniauth-facebook Gem for Ruby Insecure Access Token Handling Authentication Bypass
7
- date: 2013-11-14
8
-
9
- description: |
10
- omniauth-facebook Gem for Ruby contains a flaw that is due to the application
11
- supporting passing the access token via the URL. This may allow a remote
12
- attacker to bypass authentication and authenticate as another user.
13
-
14
- cvss_v2: 6.8
15
-
16
- patched_versions:
17
- - ">= 1.5.1"
@@ -1,16 +0,0 @@
1
- ---
2
- gem: omniauth-oauth2
3
- cve: 2012-6134
4
- osvdb: 90264
5
- url: http://www.osvdb.org/show/osvdb/90264
6
- title: Ruby on Rails omniauth-oauth2 Gem CSRF vulnerability
7
- date: 2012-09-08
8
-
9
- description: |
10
- The omniauth-oauth2 Ruby Gem contains a flaw that allows an attacker to
11
- inject values into a user's session through a CSRF attack.
12
-
13
- cvss_v2: 6.8
14
-
15
- patched_versions:
16
- - ">= 1.1.1"
@@ -1,13 +0,0 @@
1
- ---
2
- gem: open-uri-cached
3
- cve: 2015-3649
4
- osvdb: 121701
5
- url: http://seclists.org/oss-sec/2015/q2/373
6
- title: open-uri-cached Gem for Ruby Unsafe Temporary File Creation Local Privilege Escalation
7
- date: 2015-05-05
8
- description: |
9
- open-uri-cached Gem for Ruby contains a flaw that is due to the
10
- program creating temporary files in a predictable, unsafe manner when using
11
- YAML. This may allow a local attacker to gain elevated privileges.
12
- cvss_v2:
13
- patched_versions:
@@ -1,16 +0,0 @@
1
- ---
2
- gem: paperclip
3
- cve: 2015-2963
4
- url: https://robots.thoughtbot.com/paperclip-security-release
5
- title: |
6
- Paperclip Gem for Ruby vulnerable to content type spoofing
7
- date: 2015-06-05
8
- description: |
9
- There is an issue where if an HTML file is uploaded with a .html
10
- extension, but the content type is listed as being `image/jpeg`, this
11
- will bypass a validation checking for images. But it will also pass the
12
- spoof check, because a file named .html and containing actual HTML
13
- passes the spoof check.
14
- cvss_v2: 4.3
15
- patched_versions:
16
- - ">= 4.2.2"
@@ -1,13 +0,0 @@
1
- ---
2
- gem: paperclip
3
- osvdb: 103151
4
- url: http://osvdb.org/show/osvdb/103151
5
- title: Paperclip Gem for Ruby contains a flaw
6
- date: 2014-01-31
7
- description: Paperclip Gem for Ruby contains a flaw that is due to the application failing to properly
8
- validate the file extension, instead only validating the Content-Type header during file uploads.
9
- This may allow a remote attacker to bypass restrictions on file types for uploaded files by
10
- spoofing the content-type.
11
- cvss_v2:
12
- patched_versions:
13
- - ">= 4.0.0"
@@ -1,13 +0,0 @@
1
- ---
2
- gem: paratrooper-newrelic
3
- cve: 2014-1234
4
- osvdb: 101839
5
- url: http://www.osvdb.org/show/osvdb/101839
6
- title: Paratrooper-newrelic Gem for Ruby Process Listing API Key Local Disclosure
7
- date: 2014-01-08
8
- description: |
9
- Paratrooper-newrelic Gem for Ruby contains a flaw in
10
- /lib/paratrooper-newrelic.rb. The issue is triggered when the script exposes
11
- the API key, allowing a local attacker to gain access to it by monitoring the
12
- process tree.
13
- cvss_v2: 2.1
@@ -1,13 +0,0 @@
1
- ---
2
- gem: paratrooper-pingdom
3
- cve: 2014-1233
4
- osvdb: 101847
5
- url: http://www.osvdb.org/show/osvdb/101847
6
- title: paratrooper-pingdom Gem for Ruby /lib/paratrooper-pingdom.rb API Login Credentials Local Disclosure
7
- date: 2013-12-26
8
- description: |
9
- paratrooper-pingdom Gem for Ruby contains a flaw in
10
- /lib/paratrooper-pingdom.rb. The issue is triggered when the script exposes
11
- API login credentials, allowing a local attacker to gain access to the API
12
- key, username, and password for the API login by monitoring the process tree.
13
- cvss_v2: 2.1
@@ -1,13 +0,0 @@
1
- ---
2
- gem: passenger
3
- cve: 2014-1831
4
- osvdb: 102613
5
- url: http://osvdb.org/show/osvdb/102613
6
- title: Phusion Passenger Server Instance Directory Creation Local Symlink File Overwrite
7
- date: 2014-01-28
8
- description: Phusion Passenger contains a flaw as the program creates the server instance
9
- directory insecurely. It is possible for a local attacker to use a symlink attack against
10
- the directory to cause the program to unexpectedly overwrite an arbitrary file.
11
- cvss_v2: 2.1
12
- patched_versions:
13
- - ">= 4.0.37"
@@ -1,13 +0,0 @@
1
- ---
2
- gem: passenger
3
- cve: 2014-1832
4
- osvdb: 102613
5
- url: http://osvdb.org/show/osvdb/102613
6
- title: Phusion Passenger Server Instance Directory Creation Local Symlink File Overwrite
7
- date: 2014-01-29
8
- description: Phusion Passenger contains a flaw as the program creates the server instance
9
- directory insecurely. It is possible for a local attacker to use a symlink attack against
10
- the directory to cause the program to unexpectedly overwrite an arbitrary file.
11
- cvss_v2: 2.1
12
- patched_versions:
13
- - ">= 4.0.38"
@@ -1,17 +0,0 @@
1
- ---
2
- gem: passenger
3
- cve: 2015-7519
4
- url: https://blog.phusion.nl/2015/12/07/cve-2015-7519/
5
- title: Phusion Passenger Server allows to overwrite headers in some cases
6
- date: 2015-11-23
7
- description: It is possible in some cases, for clients to overwrite headers
8
- set by the server, resulting in a medium level security issue.
9
- Passenger 5 uses an SCGI-inspired format to pass headers to Ruby/Python
10
- applications, while Passenger 4 uses an SCGI-inspired format to pass
11
- headers to all applications. This implies a conversion to
12
- UPPER_CASE_WITH_UNDERSCORES whereby the difference between characters
13
- like '-' and '_' is lost.
14
-
15
- patched_versions:
16
- - "~> 4.0.60"
17
- - ">= 5.0.22"
@@ -1,16 +0,0 @@
1
- ---
2
- gem: passenger
3
- cve: 2016-10345
4
- url: https://blog.phusion.nl/2017/01/10/passenger-5-1-1/
5
- title: Predictable tmp File Path Vulnerability in Phusion Passenger
6
- date: 2017-04-18
7
-
8
- description: >-
9
- In Phusion Passenger before 5.1.0, a known /tmp filename was used during
10
- passenger-install-nginx-module execution, which could allow local attackers
11
- to gain the privileges of the passenger user.
12
-
13
- cvss_v3: 5.5
14
-
15
- patched_versions:
16
- - ">= 5.1.0"
@@ -1,16 +0,0 @@
1
- ---
2
- gem: passenger
3
- cve: 2012-6135
4
- osvdb: 90738
5
- url: http://old.blog.phusion.nl/2013/03/05/phusion-passenger-4-0-beta-1-and-2-arbitrary-file-deletion-vulnerability/
6
- title: Phusion Passenger Gem for Ruby Arbitrary File Deletion
7
- date: 2012-02-01
8
- description: Phusion Passenger Gem for Ruby contains a flaw that is triggered
9
- during application startup. This issue may allow a local attacker to delete
10
- arbitrary files via an application process. If the program has completed the
11
- start up process this vulnerability is no longer exploitable.
12
- cvss_v2: 2.1
13
- patched_versions:
14
- - ">= 4.0.0"
15
- unaffected_versions:
16
- - "< 4.0.0"
@@ -1,15 +0,0 @@
1
- ---
2
- gem: passenger
3
- cve: 2013-2119
4
- osvdb: 93752
5
- url: http://osvdb.org/show/osvdb/93752
6
- title: Phusion Passenger Gem for Ruby Predictable Temporary Filename Generation Symlink Local Privilege Escalation
7
- date: 2013-05-29
8
- description: Phusion Passenger Gem for Ruby contains a flaw as the program creates
9
- temporary files insecurely. It is possible for a local attacker to use a symlink
10
- attack against the Nginx config file to cause the program to unexpectedly overwrite
11
- the file, allowing a local attacker to execute code with elevated privileges.
12
- cvss_v2: 4.6
13
- patched_versions:
14
- - "~> 3.0.21"
15
- - ">= 4.0.5"
@@ -1,14 +0,0 @@
1
- ---
2
- gem: passenger
3
- cve: 2013-4136
4
- osvdb: 94074
5
- url: http://osvdb.org/show/osvdb/94074
6
- title: Phusion Passenger Gem for Ruby Utils.cpp Temporary Directory Creation Symlink Local Privilege Escalation
7
- date: 2013-06-10
8
- description: Phusion Passenger Gem for Ruby contains a flaw as the program creates
9
- temporary directories insecurely. It is possible for a local attacker to use a
10
- symlink attack against the Utils.cpp file to allow the attacker to gain elevated
11
- privileges.
12
- cvss_v2: 4.6
13
- patched_versions:
14
- - ">= 4.0.8"
@@ -1,11 +0,0 @@
1
- ---
2
- gem: pdfkit
3
- cve: 2013-1607
4
- osvdb: 90867
5
- url: http://osvdb.org/show/osvdb/90867
6
- title: PDFKit Gem for Ruby PDF File Generation Parameter Handling Remote Code Execution
7
- date: 2013-02-21
8
- description: PDFKit Gem for Ruby contains a flaw that is due to the program failing to properly validate input during the handling of parameters when generating PDF files. This may allow a remote attacker to potentially execute arbitrary code via the pdfkit generation options.
9
- cvss_v2:
10
- patched_versions:
11
- - ">= 0.5.3"
@@ -1,8 +0,0 @@
1
- ---
2
- gem: point-cli
3
- cve: 2014-4997
4
- osvdb: 108577
5
- url: http://osvdb.org/show/osvdb/108577
6
- title: point-cli Gem for Ruby /lib/commands/setup.rb Process Table Local Plaintext Credential Disclosure
7
- date: 2014-06-30
8
- description: point-cli Gem for Ruby contains a flaw in /lib/commands/setup.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,7 +0,0 @@
1
- ---
2
- gem: quick_magick
3
- osvdb: 106954
4
- url: http://osvdb.org/show/osvdb/106954
5
- title: quick_magick Gem for Ruby QuickMagick::Image.read Function Crafted String Handling Remote Command Injection
6
- date: 2011-01-12
7
- description: quick_magick Gem for Ruby contains a flaw in the QuickMagick::Image.read function. The issue is triggered when handling a specially crafted string. This may allow a remote attacker to inject arbitrary commands.
@@ -1,18 +0,0 @@
1
- ---
2
- gem: rack
3
- cve: 2015-3225
4
- url: https://groups.google.com/forum/#!topic/ruby-security-ann/gcUbICUmKMc
5
- title: |
6
- Potential Denial of Service Vulnerability in Rack
7
- date: 2015-06-16
8
-
9
- description: |
10
- Carefully crafted requests can cause a `SystemStackError` and potentially
11
- cause a denial of service attack.
12
-
13
- All users running an affected release should upgrade.
14
-
15
- patched_versions:
16
- - ">= 1.6.2"
17
- - "~> 1.5.4"
18
- - "~> 1.4.6"
@@ -1,21 +0,0 @@
1
- ---
2
- gem: rack
3
- cve: 2011-5036
4
- osvdb: 78121
5
- url: http://osvdb.org/show/osvdb/78121
6
- title: |
7
- Rack Hash Collision Form Parameter Parsing Remote DoS
8
- date: 2011-12-28
9
-
10
- description: |
11
- Rack contains a flaw that may allow a remote denial of service. The issue is
12
- triggered when an attacker sends multiple crafted parameters which trigger
13
- hash collisions, and will result in loss of availability for the program via
14
- CPU consumption.
15
-
16
- cvss_v2: 5.0
17
- patched_versions:
18
- - "~> 1.1.3"
19
- - "~> 1.2.5"
20
- - "~> 1.3.6"
21
- - ">= 1.4.0"