mrjoy-bundler-audit 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -2
  3. data/.travis.yml +2 -0
  4. data/ChangeLog.md +10 -0
  5. data/Gemfile +1 -1
  6. data/Rakefile +12 -10
  7. data/lib/bundler/audit/cli.rb +3 -0
  8. data/lib/bundler/audit/database.rb +57 -24
  9. data/lib/bundler/audit/version.rb +1 -1
  10. data/mrjoy-bundler-audit.gemspec +0 -7
  11. data/spec/advisory_spec.rb +8 -3
  12. data/spec/bundle/insecure_sources/Gemfile.lock +98 -0
  13. data/spec/bundle/secure/Gemfile.lock +90 -0
  14. data/spec/bundle/unpatched_gems/Gemfile.lock +92 -0
  15. data/spec/bundle/wrapper.rb +36 -0
  16. data/spec/database_spec.rb +62 -42
  17. data/{data/ruby-advisory-db/gems/actionpack → spec/fixtures}/OSVDB-84243.yml +0 -0
  18. data/spec/integration_spec.rb +52 -14
  19. data/spec/spec_helper.rb +5 -45
  20. metadata +7 -104
  21. data/.gitmodules +0 -3
  22. data/data/ruby-advisory-db.ts +0 -1
  23. data/data/ruby-advisory-db/.gitignore +0 -1
  24. data/data/ruby-advisory-db/.rspec +0 -1
  25. data/data/ruby-advisory-db/CONTRIBUTING.md +0 -6
  26. data/data/ruby-advisory-db/CONTRIBUTORS.md +0 -24
  27. data/data/ruby-advisory-db/Gemfile +0 -3
  28. data/data/ruby-advisory-db/LICENSE.txt +0 -5
  29. data/data/ruby-advisory-db/README.md +0 -82
  30. data/data/ruby-advisory-db/Rakefile +0 -27
  31. data/data/ruby-advisory-db/gems/actionmailer/OSVDB-98629.yml +0 -17
  32. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100524.yml +0 -20
  33. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100525.yml +0 -21
  34. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100526.yml +0 -27
  35. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100527.yml +0 -24
  36. data/data/ruby-advisory-db/gems/actionpack/OSVDB-100528.yml +0 -22
  37. data/data/ruby-advisory-db/gems/actionpack/OSVDB-103439.yml +0 -24
  38. data/data/ruby-advisory-db/gems/actionpack/OSVDB-103440.yml +0 -22
  39. data/data/ruby-advisory-db/gems/actionpack/OSVDB-79727.yml +0 -26
  40. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84513.yml +0 -23
  41. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84515.yml +0 -26
  42. data/data/ruby-advisory-db/gems/actionpack/OSVDB-89026.yml +0 -24
  43. data/data/ruby-advisory-db/gems/actionpack/OSVDB-91452.yml +0 -20
  44. data/data/ruby-advisory-db/gems/actionpack/OSVDB-91454.yml +0 -23
  45. data/data/ruby-advisory-db/gems/activerecord/OSVDB-103438.yml +0 -23
  46. data/data/ruby-advisory-db/gems/activerecord/OSVDB-82403.yml +0 -25
  47. data/data/ruby-advisory-db/gems/activerecord/OSVDB-82610.yml +0 -24
  48. data/data/ruby-advisory-db/gems/activerecord/OSVDB-89025.yml +0 -24
  49. data/data/ruby-advisory-db/gems/activerecord/OSVDB-90072.yml +0 -21
  50. data/data/ruby-advisory-db/gems/activerecord/OSVDB-90073.yml +0 -23
  51. data/data/ruby-advisory-db/gems/activerecord/OSVDB-91453.yml +0 -26
  52. data/data/ruby-advisory-db/gems/activesupport/OSVDB-79726.yml +0 -26
  53. data/data/ruby-advisory-db/gems/activesupport/OSVDB-84516.yml +0 -23
  54. data/data/ruby-advisory-db/gems/activesupport/OSVDB-89594.yml +0 -25
  55. data/data/ruby-advisory-db/gems/activesupport/OSVDB-91451.yml +0 -28
  56. data/data/ruby-advisory-db/gems/arabic-prawn/OSVDB-104365.yml +0 -15
  57. data/data/ruby-advisory-db/gems/cocaine/OSVDB-98835.yml +0 -15
  58. data/data/ruby-advisory-db/gems/command_wrap/OSVDB-91450.yml +0 -10
  59. data/data/ruby-advisory-db/gems/crack/OSVDB-90742.yml +0 -17
  60. data/data/ruby-advisory-db/gems/cremefraiche/OSVDB-93395.yml +0 -11
  61. data/data/ruby-advisory-db/gems/curl/OSVDB-91230.yml +0 -12
  62. data/data/ruby-advisory-db/gems/devise/OSVDB-89642.yml +0 -20
  63. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-90647.yml +0 -19
  64. data/data/ruby-advisory-db/gems/echor/OSVDB-102129.yml +0 -11
  65. data/data/ruby-advisory-db/gems/echor/OSVDB-102130.yml +0 -10
  66. data/data/ruby-advisory-db/gems/enum_column3/OSVDB-94679.yml +0 -9
  67. data/data/ruby-advisory-db/gems/extlib/OSVDB-90740.yml +0 -18
  68. data/data/ruby-advisory-db/gems/fastreader/OSVDB-91232.yml +0 -12
  69. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90715.yml +0 -10
  70. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90716.yml +0 -10
  71. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90717.yml +0 -10
  72. data/data/ruby-advisory-db/gems/flash_tool/OSVDB-90829.yml +0 -9
  73. data/data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-96798.yml +0 -13
  74. data/data/ruby-advisory-db/gems/ftpd/OSVDB-90784.yml +0 -18
  75. data/data/ruby-advisory-db/gems/gitlab-grit/OSVDB-99370.yml +0 -14
  76. data/data/ruby-advisory-db/gems/gtk2/OSVDB-40774.yml +0 -20
  77. data/data/ruby-advisory-db/gems/httparty/OSVDB-90741.yml +0 -14
  78. data/data/ruby-advisory-db/gems/i18n/OSVDB-100528.yml +0 -17
  79. data/data/ruby-advisory-db/gems/json/OSVDB-90074.yml +0 -23
  80. data/data/ruby-advisory-db/gems/karteek-docsplit/OSVDB-92117.yml +0 -10
  81. data/data/ruby-advisory-db/gems/kelredd-pruview/OSVDB-92228.yml +0 -10
  82. data/data/ruby-advisory-db/gems/ldoce/OSVDB-91870.yml +0 -10
  83. data/data/ruby-advisory-db/gems/loofah/OSVDB-90945.yml +0 -21
  84. data/data/ruby-advisory-db/gems/mail/OSVDB-70667.yml +0 -21
  85. data/data/ruby-advisory-db/gems/mail/OSVDB-81631.yml +0 -14
  86. data/data/ruby-advisory-db/gems/mail/OSVDB-81632.yml +0 -16
  87. data/data/ruby-advisory-db/gems/md2pdf/OSVDB-92290.yml +0 -10
  88. data/data/ruby-advisory-db/gems/mini_magick/OSVDB-91231.yml +0 -15
  89. data/data/ruby-advisory-db/gems/multi_xml/OSVDB-89148.yml +0 -16
  90. data/data/ruby-advisory-db/gems/newrelic_rpm/OSVDB-90189.yml +0 -17
  91. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-101179.yml +0 -12
  92. data/data/ruby-advisory-db/gems/nokogiri/OSVDB-101458.yml +0 -15
  93. data/data/ruby-advisory-db/gems/nori/OSVDB-90196.yml +0 -19
  94. data/data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99693.yml +0 -22
  95. data/data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99888.yml +0 -17
  96. data/data/ruby-advisory-db/gems/omniauth-oauth2/OSVDB-90264.yml +0 -16
  97. data/data/ruby-advisory-db/gems/paperclip/OSVDB-103151.yml +0 -13
  98. data/data/ruby-advisory-db/gems/paratrooper-newrelic/OSVDB-101839.yml +0 -12
  99. data/data/ruby-advisory-db/gems/paratrooper-pingdom/OSVDB-101847.yml +0 -13
  100. data/data/ruby-advisory-db/gems/pdfkit/OSVDB-90867.yml +0 -11
  101. data/data/ruby-advisory-db/gems/rack-cache/OSVDB-83077.yml +0 -18
  102. data/data/ruby-advisory-db/gems/rack/OSVDB-89939.yml +0 -23
  103. data/data/ruby-advisory-db/gems/rbovirt/OSVDB-104080.yml +0 -20
  104. data/data/ruby-advisory-db/gems/rdoc/OSVDB-90004.yml +0 -27
  105. data/data/ruby-advisory-db/gems/redis-namespace/OSVDB-96425.yml +0 -16
  106. data/data/ruby-advisory-db/gems/rgpg/OSVDB-95948.yml +0 -14
  107. data/data/ruby-advisory-db/gems/ruby_parser/OSVDB-90561.yml +0 -11
  108. data/data/ruby-advisory-db/gems/sounder/OSVDB-96278.yml +0 -13
  109. data/data/ruby-advisory-db/gems/spree/OSVDB-91216.yml +0 -11
  110. data/data/ruby-advisory-db/gems/spree/OSVDB-91217.yml +0 -11
  111. data/data/ruby-advisory-db/gems/spree/OSVDB-91218.yml +0 -11
  112. data/data/ruby-advisory-db/gems/spree/OSVDB-91219.yml +0 -11
  113. data/data/ruby-advisory-db/gems/sprout/OSVDB-100598.yml +0 -14
  114. data/data/ruby-advisory-db/gems/thumbshooter/OSVDB-91839.yml +0 -10
  115. data/data/ruby-advisory-db/gems/webbynode/OSVDB-100920.yml +0 -11
  116. data/data/ruby-advisory-db/gems/wicked/OSVDB-98270.yml +0 -14
  117. data/data/ruby-advisory-db/gems/will_paginate/OSVDB-101138.yml +0 -15
  118. data/data/ruby-advisory-db/lib/scrape.rb +0 -87
  119. data/data/ruby-advisory-db/spec/advisory_example.rb +0 -165
  120. data/data/ruby-advisory-db/spec/gems_spec.rb +0 -7
  121. data/data/ruby-advisory-db/spec/spec_helper.rb +0 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrjoy-bundler-audit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-16 00:00:00.000000000 Z
12
+ date: 2014-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -54,7 +54,6 @@ extra_rdoc_files:
54
54
  files:
55
55
  - ".document"
56
56
  - ".gitignore"
57
- - ".gitmodules"
58
57
  - ".rspec"
59
58
  - ".ruby-gemset"
60
59
  - ".ruby-version"
@@ -66,107 +65,6 @@ files:
66
65
  - README.md
67
66
  - Rakefile
68
67
  - bin/bundle-audit
69
- - data/ruby-advisory-db.ts
70
- - data/ruby-advisory-db/.gitignore
71
- - data/ruby-advisory-db/.rspec
72
- - data/ruby-advisory-db/CONTRIBUTING.md
73
- - data/ruby-advisory-db/CONTRIBUTORS.md
74
- - data/ruby-advisory-db/Gemfile
75
- - data/ruby-advisory-db/LICENSE.txt
76
- - data/ruby-advisory-db/README.md
77
- - data/ruby-advisory-db/Rakefile
78
- - data/ruby-advisory-db/gems/actionmailer/OSVDB-98629.yml
79
- - data/ruby-advisory-db/gems/actionpack/OSVDB-100524.yml
80
- - data/ruby-advisory-db/gems/actionpack/OSVDB-100525.yml
81
- - data/ruby-advisory-db/gems/actionpack/OSVDB-100526.yml
82
- - data/ruby-advisory-db/gems/actionpack/OSVDB-100527.yml
83
- - data/ruby-advisory-db/gems/actionpack/OSVDB-100528.yml
84
- - data/ruby-advisory-db/gems/actionpack/OSVDB-103439.yml
85
- - data/ruby-advisory-db/gems/actionpack/OSVDB-103440.yml
86
- - data/ruby-advisory-db/gems/actionpack/OSVDB-79727.yml
87
- - data/ruby-advisory-db/gems/actionpack/OSVDB-84243.yml
88
- - data/ruby-advisory-db/gems/actionpack/OSVDB-84513.yml
89
- - data/ruby-advisory-db/gems/actionpack/OSVDB-84515.yml
90
- - data/ruby-advisory-db/gems/actionpack/OSVDB-89026.yml
91
- - data/ruby-advisory-db/gems/actionpack/OSVDB-91452.yml
92
- - data/ruby-advisory-db/gems/actionpack/OSVDB-91454.yml
93
- - data/ruby-advisory-db/gems/activerecord/OSVDB-103438.yml
94
- - data/ruby-advisory-db/gems/activerecord/OSVDB-82403.yml
95
- - data/ruby-advisory-db/gems/activerecord/OSVDB-82610.yml
96
- - data/ruby-advisory-db/gems/activerecord/OSVDB-89025.yml
97
- - data/ruby-advisory-db/gems/activerecord/OSVDB-90072.yml
98
- - data/ruby-advisory-db/gems/activerecord/OSVDB-90073.yml
99
- - data/ruby-advisory-db/gems/activerecord/OSVDB-91453.yml
100
- - data/ruby-advisory-db/gems/activesupport/OSVDB-79726.yml
101
- - data/ruby-advisory-db/gems/activesupport/OSVDB-84516.yml
102
- - data/ruby-advisory-db/gems/activesupport/OSVDB-89594.yml
103
- - data/ruby-advisory-db/gems/activesupport/OSVDB-91451.yml
104
- - data/ruby-advisory-db/gems/arabic-prawn/OSVDB-104365.yml
105
- - data/ruby-advisory-db/gems/cocaine/OSVDB-98835.yml
106
- - data/ruby-advisory-db/gems/command_wrap/OSVDB-91450.yml
107
- - data/ruby-advisory-db/gems/crack/OSVDB-90742.yml
108
- - data/ruby-advisory-db/gems/cremefraiche/OSVDB-93395.yml
109
- - data/ruby-advisory-db/gems/curl/OSVDB-91230.yml
110
- - data/ruby-advisory-db/gems/devise/OSVDB-89642.yml
111
- - data/ruby-advisory-db/gems/dragonfly/OSVDB-90647.yml
112
- - data/ruby-advisory-db/gems/echor/OSVDB-102129.yml
113
- - data/ruby-advisory-db/gems/echor/OSVDB-102130.yml
114
- - data/ruby-advisory-db/gems/enum_column3/OSVDB-94679.yml
115
- - data/ruby-advisory-db/gems/extlib/OSVDB-90740.yml
116
- - data/ruby-advisory-db/gems/fastreader/OSVDB-91232.yml
117
- - data/ruby-advisory-db/gems/fileutils/OSVDB-90715.yml
118
- - data/ruby-advisory-db/gems/fileutils/OSVDB-90716.yml
119
- - data/ruby-advisory-db/gems/fileutils/OSVDB-90717.yml
120
- - data/ruby-advisory-db/gems/flash_tool/OSVDB-90829.yml
121
- - data/ruby-advisory-db/gems/fog-dragonfly/OSVDB-96798.yml
122
- - data/ruby-advisory-db/gems/ftpd/OSVDB-90784.yml
123
- - data/ruby-advisory-db/gems/gitlab-grit/OSVDB-99370.yml
124
- - data/ruby-advisory-db/gems/gtk2/OSVDB-40774.yml
125
- - data/ruby-advisory-db/gems/httparty/OSVDB-90741.yml
126
- - data/ruby-advisory-db/gems/i18n/OSVDB-100528.yml
127
- - data/ruby-advisory-db/gems/json/OSVDB-90074.yml
128
- - data/ruby-advisory-db/gems/karteek-docsplit/OSVDB-92117.yml
129
- - data/ruby-advisory-db/gems/kelredd-pruview/OSVDB-92228.yml
130
- - data/ruby-advisory-db/gems/ldoce/OSVDB-91870.yml
131
- - data/ruby-advisory-db/gems/loofah/OSVDB-90945.yml
132
- - data/ruby-advisory-db/gems/mail/OSVDB-70667.yml
133
- - data/ruby-advisory-db/gems/mail/OSVDB-81631.yml
134
- - data/ruby-advisory-db/gems/mail/OSVDB-81632.yml
135
- - data/ruby-advisory-db/gems/md2pdf/OSVDB-92290.yml
136
- - data/ruby-advisory-db/gems/mini_magick/OSVDB-91231.yml
137
- - data/ruby-advisory-db/gems/multi_xml/OSVDB-89148.yml
138
- - data/ruby-advisory-db/gems/newrelic_rpm/OSVDB-90189.yml
139
- - data/ruby-advisory-db/gems/nokogiri/OSVDB-101179.yml
140
- - data/ruby-advisory-db/gems/nokogiri/OSVDB-101458.yml
141
- - data/ruby-advisory-db/gems/nori/OSVDB-90196.yml
142
- - data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99693.yml
143
- - data/ruby-advisory-db/gems/omniauth-facebook/OSVDB-99888.yml
144
- - data/ruby-advisory-db/gems/omniauth-oauth2/OSVDB-90264.yml
145
- - data/ruby-advisory-db/gems/paperclip/OSVDB-103151.yml
146
- - data/ruby-advisory-db/gems/paratrooper-newrelic/OSVDB-101839.yml
147
- - data/ruby-advisory-db/gems/paratrooper-pingdom/OSVDB-101847.yml
148
- - data/ruby-advisory-db/gems/pdfkit/OSVDB-90867.yml
149
- - data/ruby-advisory-db/gems/rack-cache/OSVDB-83077.yml
150
- - data/ruby-advisory-db/gems/rack/OSVDB-89939.yml
151
- - data/ruby-advisory-db/gems/rbovirt/OSVDB-104080.yml
152
- - data/ruby-advisory-db/gems/rdoc/OSVDB-90004.yml
153
- - data/ruby-advisory-db/gems/redis-namespace/OSVDB-96425.yml
154
- - data/ruby-advisory-db/gems/rgpg/OSVDB-95948.yml
155
- - data/ruby-advisory-db/gems/ruby_parser/OSVDB-90561.yml
156
- - data/ruby-advisory-db/gems/sounder/OSVDB-96278.yml
157
- - data/ruby-advisory-db/gems/spree/OSVDB-91216.yml
158
- - data/ruby-advisory-db/gems/spree/OSVDB-91217.yml
159
- - data/ruby-advisory-db/gems/spree/OSVDB-91218.yml
160
- - data/ruby-advisory-db/gems/spree/OSVDB-91219.yml
161
- - data/ruby-advisory-db/gems/sprout/OSVDB-100598.yml
162
- - data/ruby-advisory-db/gems/thumbshooter/OSVDB-91839.yml
163
- - data/ruby-advisory-db/gems/webbynode/OSVDB-100920.yml
164
- - data/ruby-advisory-db/gems/wicked/OSVDB-98270.yml
165
- - data/ruby-advisory-db/gems/will_paginate/OSVDB-101138.yml
166
- - data/ruby-advisory-db/lib/scrape.rb
167
- - data/ruby-advisory-db/spec/advisory_example.rb
168
- - data/ruby-advisory-db/spec/gems_spec.rb
169
- - data/ruby-advisory-db/spec/spec_helper.rb
170
68
  - gemspec.yml
171
69
  - lib/bundler/audit.rb
172
70
  - lib/bundler/audit/advisory.rb
@@ -179,9 +77,14 @@ files:
179
77
  - spec/advisory_spec.rb
180
78
  - spec/audit_spec.rb
181
79
  - spec/bundle/insecure_sources/Gemfile
80
+ - spec/bundle/insecure_sources/Gemfile.lock
182
81
  - spec/bundle/secure/Gemfile
82
+ - spec/bundle/secure/Gemfile.lock
183
83
  - spec/bundle/unpatched_gems/Gemfile
84
+ - spec/bundle/unpatched_gems/Gemfile.lock
85
+ - spec/bundle/wrapper.rb
184
86
  - spec/database_spec.rb
87
+ - spec/fixtures/OSVDB-84243.yml
185
88
  - spec/fixtures/not_a_hash.yml
186
89
  - spec/integration_spec.rb
187
90
  - spec/rake_task_spec.rb
data/.gitmodules DELETED
@@ -1,3 +0,0 @@
1
- [submodule "data/ruby-advisory-db"]
2
- path = data/ruby-advisory-db
3
- url = https://github.com/rubysec/ruby-advisory-db.git
@@ -1 +0,0 @@
1
- 2014-04-10 19:47:28 UTC
@@ -1 +0,0 @@
1
- Gemfile.lock
@@ -1 +0,0 @@
1
- --colour
@@ -1,6 +0,0 @@
1
- # Contributing Guidelines
2
-
3
- ## Style
4
-
5
- 1. All text must be within 80 columns.
6
- 2. YAML must be indented by 2 spaces.
@@ -1,24 +0,0 @@
1
- ### Acknowledgements
2
-
3
- This database would not be possible without volunteers willing to submit pull requests.
4
-
5
- Thanks,
6
- * [Postmodern](https://github.com/postmodern/)
7
- * [Max Veytsman](https://twitter.com/mveytsman)
8
- * [Pietro Monteiro](https://github.com/pietro)
9
- * [Eric Hodel](https://github.com/drbrain)
10
- * [Brendon Murphy](https://github.com/bemurphy)
11
- * [Oliver Legg](https://github.com/olly)
12
- * [Larry W. Cashdollar](http://vapid.dhs.org/)
13
- * [Michael Grosser](https://github.com/grosser)
14
- * [Sascha Korth](https://github.com/skorth)
15
- * [David Radcliffe](https://github.com/dwradcliffe)
16
- * [Jörg Schiller](https://github.com/joergschiller)
17
- * [Derek Prior](https://github.com/derekprior)
18
- * [Joel Chippindale](https://github.com/mocoso)
19
- * [Josef Šimánek](https://github.com/simi)
20
- * [Amiel Martin](https://github.com/amiel)
21
- * [Eric Hodel](https://github.com/drbrain)
22
- * [Jeremy Olliver](https://github.com/jeremyolliver)
23
- * [Vasily Vasinov](https://github.com/vasinov)
24
- * [Phill MV](https://twitter.com/phillmv)
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
- gem 'pry'
3
- gem 'mechanize'
@@ -1,5 +0,0 @@
1
- If you submit code or data to the ruby-advisory-db that is copyrighted by yourself, upon submission you hereby agree to release it into the public domain.
2
-
3
- However, not all of the ruby-advisory-db can be considered public domain. The ruby-advisory-db may contain some information copyrighted by the Open Source Vulnerability Database (http://osvdb.org). If you use ruby-advisory-db data to build a product or a service, it is your responsibility to familiarize yourself with the terms of their license: http://www.osvdb.org/osvdb_license
4
-
5
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,82 +0,0 @@
1
- # Ruby Advisory Database
2
-
3
- The Ruby Advisory Database aims to compile all advisories that are relevant to Ruby libraries.
4
-
5
- ## Goals
6
-
7
- 1. Provide advisory **metadata** in a **simple** yet **structured** [YAML]
8
- schema for automated tools to consume.
9
- 2. Avoid reinventing [CVE]s.
10
- 3. Avoid duplicating the efforts of the [OSVDB].
11
-
12
- ## Directory Structure
13
-
14
- The database is a list of directories that match the names of Ruby libraries on
15
- [rubygems.org]. Within each directory are one or more advisory files
16
- for the Ruby library. These advisory files are typically named using
17
- the advisories [OSVDB] identifier number.
18
-
19
- gems/:
20
- actionpack/:
21
- OSVDB-79727.yml OSVDB-84513.yml OSVDB-89026.yml OSVDB-91454.yml
22
- OSVDB-84243.yml OSVDB-84515.yml OSVDB-91452.yml
23
-
24
- ## Format
25
-
26
- Each advisory file contains the advisory information in [YAML] format:
27
-
28
- ---
29
- gem: actionpack
30
- framework: rails
31
- cve: 2013-0156
32
- osvdb: 89026
33
- url: http://osvdb.org/show/osvdb/89026
34
- title: |
35
- Ruby on Rails params_parser.rb Action Pack Type Casting Parameter Parsing
36
- Remote Code Execution
37
-
38
- description: |
39
- Ruby on Rails contains a flaw in params_parser.rb of the Action Pack.
40
- The issue is triggered when a type casting error occurs during the parsing
41
- of parameters. This may allow a remote attacker to potentially execute
42
- arbitrary code.
43
-
44
- cvss_v2: 10.0
45
-
46
- patched_versions:
47
- - ~> 2.3.15
48
- - ~> 3.0.19
49
- - ~> 3.1.10
50
- - ">= 3.2.11"
51
-
52
- ### Schema
53
-
54
- * `gem` \[String\]: Name of the affected gem.
55
- * `framework` \[String\] (optional): Name of framework gem belongs to.
56
- * `platform` \[String\] (optional): If this vulnerability is platform-specific, name of platform this vulnerability affects (e.g. JRuby)
57
- * `cve` \[String\]: CVE id.
58
- * `osvdb` \[Fixnum\]: OSVDB id.
59
- * `url` \[String\]: The URL to the full advisory.
60
- * `title` \[String\]: The title of the advisory.
61
- * `date` \[Date\]: Disclosure date of the advisory.
62
- * `description` \[String\]: Multi-paragraph description of the vulnerability.
63
- * `cvss_v2` \[Float\]: The [CVSSv2] score for the vulnerability.
64
- * `unaffected_versions` \[Array\<String\>\] (optional): The version requirements for the
65
- unaffected versions of the Ruby library.
66
- * `patched_versions` \[Array\<String\>\]: The version requirements for the
67
- patched versions of the Ruby library.
68
-
69
- ## Credits
70
-
71
- Please see [CONTRIBUTORS.md].
72
-
73
- This database also includes data from the [Open Source Vulnerability Database][OSVDB]
74
- developed by the Open Security Foundation (OSF) and its contributors.
75
-
76
- [rubygems.org]: https://rubygems.org/
77
- [CVE]: http://cve.mitre.org/
78
- [OSVDB]: http://www.osvdb.org/
79
- [CVSSv2]: http://www.first.org/cvss/cvss-guide.html
80
- [OSVDB]: http://www.osvdb.org/
81
- [YAML]: http://www.yaml.org/
82
- [CONTRIBUTORS.md]: https://github.com/rubysec/ruby-advisory-db/blob/master/CONTRIBUTORS.md
@@ -1,27 +0,0 @@
1
- require 'yaml'
2
-
3
- namespace :lint do
4
- begin
5
- gem 'rspec', '~> 2.4'
6
- require 'rspec/core/rake_task'
7
-
8
- RSpec::Core::RakeTask.new(:yaml)
9
- rescue LoadError => e
10
- task :spec do
11
- abort "Please run `gem install rspec` to install RSpec."
12
- end
13
- end
14
-
15
- task :cve do
16
- Dir.glob('gems/*/*.yml') do |path|
17
- advisory = YAML.load_file(path)
18
-
19
- unless advisory['cve']
20
- puts "Missing CVE: #{path}"
21
- end
22
- end
23
- end
24
- end
25
-
26
- task :lint => ['lint:yaml', 'lint:cve']
27
- task :default => :lint
@@ -1,17 +0,0 @@
1
- ---
2
- gem: actionmailer
3
- cve: 2013-4389
4
- osvdb: 98629
5
- url: http://www.osvdb.org/show/osvdb/98629
6
- title: Action Mailer Gem for Ruby contains a possible DoS Vulnerability
7
- date: 2013-10-16
8
- description: Action Mailer Gem for Ruby contains a format string flaw in
9
- the Log Subscriber component. The issue is triggered as format string
10
- specifiers (e.g. %s and %x) are not properly sanitized in user-supplied
11
- input when handling email addresses. This may allow a remote attacker
12
- to cause a denial of service
13
- cvss_v2: 4.3
14
- unaffected_versions:
15
- - ~> 2.3.2
16
- patched_versions:
17
- - '>= 3.2.15'
@@ -1,20 +0,0 @@
1
- ---
2
- gem: actionpack
3
- framework: rails
4
- cve: 2013-6415
5
- osvdb: 100524
6
- url: https://groups.google.com/forum/#!topic/ruby-security-ann/9WiRn2nhfq0
7
- title: XSS Vulnerability in number_to_currency
8
- date: 2013-12-03
9
-
10
- description: |
11
- There is an XSS vulnerability in the number_to_currency helper in Ruby on Raile.
12
- The number_to_currency helper allows users to nicely format a numeric value. One
13
- of the parameters to the helper (unit) is not escaped correctly. Applications
14
- which pass user controlled data as the unit parameter are vulnerable to an XSS attack.
15
-
16
- cvss_v2:
17
-
18
- patched_versions:
19
- - ~> 3.2.16
20
- - ">= 4.0.2"
@@ -1,21 +0,0 @@
1
- ---
2
- gem: actionpack
3
- framework: rails
4
- cve: 2013-6414
5
- osvdb: 100525
6
- url: https://groups.google.com/forum/#!topic/ruby-security-ann/A-ebV4WxzKg
7
- title: Denial of Service Vulnerability in Action View
8
- date: 2013-12-03
9
-
10
- description: |
11
- There is a denial of service vulnerability in the header handling component of
12
- Action View.
13
-
14
- cvss_v2:
15
-
16
- unaffected_versions:
17
- - ~> 2.3.0
18
-
19
- patched_versions:
20
- - ~> 3.2.16
21
- - ">= 4.0.2"
@@ -1,27 +0,0 @@
1
- ---
2
- gem: actionpack
3
- framework: rails
4
- cve: 2013-6416
5
- osvdb: 100526
6
- url: https://groups.google.com/forum/#!topic/ruby-security-ann/5ZI1-H5OoIM
7
- title: XSS Vulnerability in simple_format helper
8
- date: 2013-12-03
9
-
10
- description: |
11
- There is a vulnerability in the simple_format helper in Ruby on Rails.
12
- The simple_format helper converts user supplied text into html text
13
- which is intended to be safe for display. A change made to the
14
- implementation of this helper means that any user provided HTML
15
- attributes will not be escaped correctly. As a result of this error,
16
- applications which pass user-controlled data to be included as html
17
- attributes will be vulnerable to an XSS attack.
18
-
19
- cvss_v2:
20
-
21
- unaffected_versions:
22
- - ~> 2.3.0
23
- - ~> 3.1.0
24
- - ~> 3.2.0
25
-
26
- patched_versions:
27
- - ">= 4.0.2"
@@ -1,24 +0,0 @@
1
- ---
2
- gem: actionpack
3
- framework: rails
4
- cve: 2013-6417
5
- osvdb: 100527
6
- url: https://groups.google.com/forum/#!topic/ruby-security-ann/niK4drpSHT4
7
- title: Incomplete fix to CVE-2013-0155 (Unsafe Query Generation Risk)
8
- date: 2013-12-03
9
-
10
- description: |
11
- The prior fix to CVE-2013-0155 was incomplete and the use of common
12
- 3rd party libraries can accidentally circumvent the protection. Due
13
- to the way that Rack::Request and Rails::Request interact, it is
14
- possible for a 3rd party or custom rack middleware to parse the
15
- parameters insecurely and store them in the same key that Rails uses
16
- for its own parameters. In the event that happens the application
17
- will receive unsafe parameters and could be vulnerable to the earlier
18
- vulnerability.
19
-
20
- cvss_v2:
21
-
22
- patched_versions:
23
- - ~> 3.2.16
24
- - ">= 4.0.2"
@@ -1,22 +0,0 @@
1
- ---
2
- gem: actionpack
3
- framework: rails
4
- cve: 2013-4491
5
- osvdb: 100528
6
- url: https://groups.google.com/forum/#!topic/ruby-security-ann/pLrh6DUw998
7
- title: Reflective XSS Vulnerability in Ruby on Rails
8
- date: 2013-12-03
9
-
10
- description: |
11
- There is a vulnerability in the internationalization component of Ruby on
12
- Rails. Under certain common configurations an attacker can provide specially
13
- crafted input which will execute a reflective XSS attack.
14
-
15
- The root cause of this issue is a vulnerability in the i18n gem which has
16
- been assigned the identifier CVE-2013-4492.
17
-
18
- cvss_v2:
19
-
20
- patched_versions:
21
- - ~> 3.2.16
22
- - ">= 4.0.2"