bundler-audit 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +3 -0
  3. data/.gitmodules +3 -0
  4. data/.travis.yml +4 -0
  5. data/ChangeLog.md +23 -0
  6. data/Gemfile +12 -0
  7. data/README.md +51 -69
  8. data/Rakefile +31 -47
  9. data/bundler-audit.gemspec +7 -0
  10. data/data/ruby-advisory-db/.rspec +1 -0
  11. data/data/ruby-advisory-db/CONTRIBUTING.md +6 -0
  12. data/data/ruby-advisory-db/CONTRIBUTORS.md +13 -0
  13. data/data/ruby-advisory-db/Gemfile +3 -0
  14. data/data/ruby-advisory-db/LICENSE.txt +5 -0
  15. data/data/ruby-advisory-db/README.md +86 -0
  16. data/data/ruby-advisory-db/Rakefile +27 -0
  17. data/data/ruby-advisory-db/gems/actionpack/OSVDB-79727.yml +26 -0
  18. data/data/{bundler/audit/rails/2012-3424.yml → ruby-advisory-db/gems/actionpack/OSVDB-84243.yml} +17 -6
  19. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84513.yml +23 -0
  20. data/data/ruby-advisory-db/gems/actionpack/OSVDB-84515.yml +26 -0
  21. data/data/{bundler/audit/rails/2013-0156.yml → ruby-advisory-db/gems/actionpack/OSVDB-89026.yml} +8 -3
  22. data/data/ruby-advisory-db/gems/actionpack/OSVDB-91452.yml +20 -0
  23. data/data/ruby-advisory-db/gems/actionpack/OSVDB-91454.yml +23 -0
  24. data/data/ruby-advisory-db/gems/activerecord/OSVDB-82403.yml +25 -0
  25. data/data/ruby-advisory-db/gems/activerecord/OSVDB-82610.yml +24 -0
  26. data/data/{bundler/audit/rails/2013-0155.yml → ruby-advisory-db/gems/activerecord/OSVDB-89025.yml} +9 -4
  27. data/data/{bundler/audit/rails/2013-0276.yml → ruby-advisory-db/gems/activerecord/OSVDB-90072.yml} +8 -3
  28. data/data/{bundler/audit/rails/2013-0277.yml → ruby-advisory-db/gems/activerecord/OSVDB-90073.yml} +8 -3
  29. data/data/ruby-advisory-db/gems/activerecord/OSVDB-91453.yml +26 -0
  30. data/data/ruby-advisory-db/gems/activesupport/OSVDB-79726.yml +26 -0
  31. data/data/ruby-advisory-db/gems/activesupport/OSVDB-84516.yml +23 -0
  32. data/data/{bundler/audit/rails/2013-0333.yml → ruby-advisory-db/gems/activesupport/OSVDB-89594.yml} +8 -3
  33. data/data/ruby-advisory-db/gems/activesupport/OSVDB-91451.yml +28 -0
  34. data/data/ruby-advisory-db/gems/command_wrap/OSVDB-91450.yml +10 -0
  35. data/data/ruby-advisory-db/gems/crack/OSVDB-90742.yml +17 -0
  36. data/data/ruby-advisory-db/gems/cremefraiche/OSVDB-93395.yml +11 -0
  37. data/data/ruby-advisory-db/gems/curl/OSVDB-91230.yml +12 -0
  38. data/data/ruby-advisory-db/gems/devise/OSVDB-89642.yml +20 -0
  39. data/data/ruby-advisory-db/gems/dragonfly/OSVDB-90647.yml +19 -0
  40. data/data/ruby-advisory-db/gems/enum_column3/OSVDB-94679.yml +9 -0
  41. data/data/ruby-advisory-db/gems/extlib/OSVDB-90740.yml +18 -0
  42. data/data/ruby-advisory-db/gems/fastreader/OSVDB-91232.yml +12 -0
  43. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90715.yml +10 -0
  44. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90716.yml +10 -0
  45. data/data/ruby-advisory-db/gems/fileutils/OSVDB-90717.yml +10 -0
  46. data/data/ruby-advisory-db/gems/flash_tool/OSVDB-90829.yml +9 -0
  47. data/data/ruby-advisory-db/gems/ftpd/OSVDB-90784.yml +18 -0
  48. data/data/ruby-advisory-db/gems/gtk2/OSVDB-40774.yml +20 -0
  49. data/data/ruby-advisory-db/gems/httparty/OSVDB-90741.yml +19 -0
  50. data/data/{bundler/audit/json/2013-0269.yml → ruby-advisory-db/gems/json/OSVDB-90074.yml} +8 -4
  51. data/data/ruby-advisory-db/gems/karteek-docsplit/OSVDB-92117.yml +10 -0
  52. data/data/ruby-advisory-db/gems/kelredd-pruview/OSVDB-92228.yml +10 -0
  53. data/data/ruby-advisory-db/gems/ldoce/OSVDB-91870.yml +10 -0
  54. data/data/ruby-advisory-db/gems/loofah/OSVDB-90945.yml +21 -0
  55. data/data/ruby-advisory-db/gems/mail/OSVDB-70667.yml +21 -0
  56. data/data/ruby-advisory-db/gems/mail/OSVDB-81631.yml +14 -0
  57. data/data/ruby-advisory-db/gems/mail/OSVDB-81632.yml +16 -0
  58. data/data/ruby-advisory-db/gems/md2pdf/OSVDB-92290.yml +10 -0
  59. data/data/ruby-advisory-db/gems/mini_magick/OSVDB-91231.yml +15 -0
  60. data/data/ruby-advisory-db/gems/multi_xml/OSVDB-89148.yml +16 -0
  61. data/data/ruby-advisory-db/gems/newrelic_rpm/OSVDB-90189.yml +17 -0
  62. data/data/ruby-advisory-db/gems/nori/OSVDB-90196.yml +19 -0
  63. data/data/ruby-advisory-db/gems/omniauth-oauth2/OSVDB-90264.yml +16 -0
  64. data/data/ruby-advisory-db/gems/pdfkit/OSVDB-90867.yml +11 -0
  65. data/data/{bundler/audit/rack/2013-0263.yml → ruby-advisory-db/gems/rack/OSVDB-89939.yml} +11 -8
  66. data/data/ruby-advisory-db/gems/rack-cache/OSVDB-83077.yml +18 -0
  67. data/data/ruby-advisory-db/gems/rdoc/OSVDB-90004.yml +27 -0
  68. data/data/ruby-advisory-db/gems/rgpg/OSVDB-95948.yml +13 -0
  69. data/data/ruby-advisory-db/gems/ruby_parser/OSVDB-90561.yml +11 -0
  70. data/data/ruby-advisory-db/gems/spree/OSVDB-91216.yml +10 -0
  71. data/data/ruby-advisory-db/gems/spree/OSVDB-91217.yml +10 -0
  72. data/data/ruby-advisory-db/gems/spree/OSVDB-91218.yml +10 -0
  73. data/data/ruby-advisory-db/gems/spree/OSVDB-91219.yml +10 -0
  74. data/data/ruby-advisory-db/gems/thumbshooter/OSVDB-91839.yml +10 -0
  75. data/data/ruby-advisory-db/lib/scrape.rb +87 -0
  76. data/data/ruby-advisory-db/spec/advisory_example.rb +165 -0
  77. data/data/ruby-advisory-db/spec/gems_spec.rb +8 -0
  78. data/data/ruby-advisory-db/spec/spec_helper.rb +1 -0
  79. data/gemspec.yml +4 -7
  80. data/lib/bundler/audit/advisory.rb +51 -9
  81. data/lib/bundler/audit/cli.rb +25 -10
  82. data/lib/bundler/audit/database.rb +1 -30
  83. data/lib/bundler/audit/scanner.rb +97 -0
  84. data/lib/bundler/audit/version.rb +1 -1
  85. data/spec/advisory_spec.rb +67 -7
  86. data/spec/bundle/insecure_sources/Gemfile +39 -0
  87. data/spec/bundle/secure/Gemfile +38 -0
  88. data/spec/database_spec.rb +1 -32
  89. data/spec/integration_spec.rb +132 -0
  90. data/spec/scanner_spec.rb +74 -0
  91. data/spec/spec_helper.rb +14 -1
  92. metadata +112 -119
  93. data/data/bundler/audit/mail/2011-0739.yml +0 -17
  94. data/data/bundler/audit/mail/2012-2139.yml +0 -16
  95. data/data/bundler/audit/mail/2012-2140.yml +0 -13
  96. data/data/bundler/audit/rack-cache/2012-267.yml +0 -14
  97. data/data/bundler/audit/rails/2012-1098.yml +0 -19
  98. data/data/bundler/audit/rails/2012-1099.yml +0 -19
  99. data/data/bundler/audit/rails/2012-2660.yml +0 -17
  100. data/data/bundler/audit/rails/2012-2661.yml +0 -18
  101. data/data/bundler/audit/rails/2012-3463.yml +0 -19
  102. data/data/bundler/audit/rails/2012-3464.yml +0 -18
  103. data/data/bundler/audit/rails/2012-3465.yml +0 -19
  104. data/spec/bundle/Gemfile.lock +0 -92
  105. /data/spec/bundle/{Gemfile → unpatched_gems/Gemfile} +0 -0
metadata CHANGED
@@ -1,166 +1,159 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bundler-audit
3
- version: !ruby/object:Gem::Version
4
- hash: 25
5
- prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Postmodern
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-02-12 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2013-08-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: bundler
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
26
17
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 15
29
- segments:
30
- - 1
31
- - 0
32
- version: "1.0"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
33
20
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: yard
37
- prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 27
44
- segments:
45
- - 0
46
- - 8
47
- version: "0.8"
48
- type: :development
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: rubygems-tasks
52
- prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ~>
57
- - !ruby/object:Gem::Version
58
- hash: 15
59
- segments:
60
- - 0
61
- - 2
62
- version: "0.2"
63
- type: :development
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: rspec
67
21
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
71
24
  - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 11
74
- segments:
75
- - 2
76
- - 4
77
- version: "2.4"
78
- type: :development
79
- version_requirements: *id004
25
+ - !ruby/object:Gem::Version
26
+ version: '1.2'
80
27
  description: bundler-audit provides patch-level verification for Bundled apps.
81
28
  email: postmodern.mod3@gmail.com
82
- executables:
29
+ executables:
83
30
  - bundle-audit
84
31
  extensions: []
85
-
86
- extra_rdoc_files:
32
+ extra_rdoc_files:
87
33
  - COPYING.txt
88
34
  - ChangeLog.md
89
35
  - README.md
90
- files:
36
+ files:
91
37
  - .document
92
38
  - .gitignore
39
+ - .gitmodules
93
40
  - .rspec
41
+ - .travis.yml
94
42
  - .yardopts
95
43
  - COPYING.txt
96
44
  - ChangeLog.md
45
+ - Gemfile
97
46
  - README.md
98
47
  - Rakefile
99
48
  - bin/bundle-audit
100
49
  - bundler-audit.gemspec
101
- - data/bundler/audit/json/2013-0269.yml
102
- - data/bundler/audit/mail/2011-0739.yml
103
- - data/bundler/audit/mail/2012-2139.yml
104
- - data/bundler/audit/mail/2012-2140.yml
105
- - data/bundler/audit/rack-cache/2012-267.yml
106
- - data/bundler/audit/rack/2013-0263.yml
107
- - data/bundler/audit/rails/2012-1098.yml
108
- - data/bundler/audit/rails/2012-1099.yml
109
- - data/bundler/audit/rails/2012-2660.yml
110
- - data/bundler/audit/rails/2012-2661.yml
111
- - data/bundler/audit/rails/2012-3424.yml
112
- - data/bundler/audit/rails/2012-3463.yml
113
- - data/bundler/audit/rails/2012-3464.yml
114
- - data/bundler/audit/rails/2012-3465.yml
115
- - data/bundler/audit/rails/2013-0155.yml
116
- - data/bundler/audit/rails/2013-0156.yml
117
- - data/bundler/audit/rails/2013-0276.yml
118
- - data/bundler/audit/rails/2013-0277.yml
119
- - data/bundler/audit/rails/2013-0333.yml
120
50
  - gemspec.yml
121
51
  - lib/bundler/audit.rb
122
52
  - lib/bundler/audit/advisory.rb
123
53
  - lib/bundler/audit/cli.rb
124
54
  - lib/bundler/audit/database.rb
55
+ - lib/bundler/audit/scanner.rb
125
56
  - lib/bundler/audit/version.rb
126
57
  - spec/advisory_spec.rb
127
58
  - spec/audit_spec.rb
128
- - spec/bundle/Gemfile
129
- - spec/bundle/Gemfile.lock
59
+ - spec/bundle/insecure_sources/Gemfile
60
+ - spec/bundle/secure/Gemfile
61
+ - spec/bundle/unpatched_gems/Gemfile
130
62
  - spec/database_spec.rb
63
+ - spec/integration_spec.rb
64
+ - spec/scanner_spec.rb
131
65
  - spec/spec_helper.rb
132
- homepage: https://github.com/postmodern/bundler-audit#readme
133
- licenses:
66
+ - data/ruby-advisory-db/.rspec
67
+ - data/ruby-advisory-db/CONTRIBUTING.md
68
+ - data/ruby-advisory-db/CONTRIBUTORS.md
69
+ - data/ruby-advisory-db/Gemfile
70
+ - data/ruby-advisory-db/LICENSE.txt
71
+ - data/ruby-advisory-db/README.md
72
+ - data/ruby-advisory-db/Rakefile
73
+ - data/ruby-advisory-db/gems/actionpack/OSVDB-79727.yml
74
+ - data/ruby-advisory-db/gems/actionpack/OSVDB-84243.yml
75
+ - data/ruby-advisory-db/gems/actionpack/OSVDB-84513.yml
76
+ - data/ruby-advisory-db/gems/actionpack/OSVDB-84515.yml
77
+ - data/ruby-advisory-db/gems/actionpack/OSVDB-89026.yml
78
+ - data/ruby-advisory-db/gems/actionpack/OSVDB-91452.yml
79
+ - data/ruby-advisory-db/gems/actionpack/OSVDB-91454.yml
80
+ - data/ruby-advisory-db/gems/activerecord/OSVDB-82403.yml
81
+ - data/ruby-advisory-db/gems/activerecord/OSVDB-82610.yml
82
+ - data/ruby-advisory-db/gems/activerecord/OSVDB-89025.yml
83
+ - data/ruby-advisory-db/gems/activerecord/OSVDB-90072.yml
84
+ - data/ruby-advisory-db/gems/activerecord/OSVDB-90073.yml
85
+ - data/ruby-advisory-db/gems/activerecord/OSVDB-91453.yml
86
+ - data/ruby-advisory-db/gems/activesupport/OSVDB-79726.yml
87
+ - data/ruby-advisory-db/gems/activesupport/OSVDB-84516.yml
88
+ - data/ruby-advisory-db/gems/activesupport/OSVDB-89594.yml
89
+ - data/ruby-advisory-db/gems/activesupport/OSVDB-91451.yml
90
+ - data/ruby-advisory-db/gems/command_wrap/OSVDB-91450.yml
91
+ - data/ruby-advisory-db/gems/crack/OSVDB-90742.yml
92
+ - data/ruby-advisory-db/gems/cremefraiche/OSVDB-93395.yml
93
+ - data/ruby-advisory-db/gems/curl/OSVDB-91230.yml
94
+ - data/ruby-advisory-db/gems/devise/OSVDB-89642.yml
95
+ - data/ruby-advisory-db/gems/dragonfly/OSVDB-90647.yml
96
+ - data/ruby-advisory-db/gems/enum_column3/OSVDB-94679.yml
97
+ - data/ruby-advisory-db/gems/extlib/OSVDB-90740.yml
98
+ - data/ruby-advisory-db/gems/fastreader/OSVDB-91232.yml
99
+ - data/ruby-advisory-db/gems/fileutils/OSVDB-90715.yml
100
+ - data/ruby-advisory-db/gems/fileutils/OSVDB-90716.yml
101
+ - data/ruby-advisory-db/gems/fileutils/OSVDB-90717.yml
102
+ - data/ruby-advisory-db/gems/flash_tool/OSVDB-90829.yml
103
+ - data/ruby-advisory-db/gems/ftpd/OSVDB-90784.yml
104
+ - data/ruby-advisory-db/gems/gtk2/OSVDB-40774.yml
105
+ - data/ruby-advisory-db/gems/httparty/OSVDB-90741.yml
106
+ - data/ruby-advisory-db/gems/json/OSVDB-90074.yml
107
+ - data/ruby-advisory-db/gems/karteek-docsplit/OSVDB-92117.yml
108
+ - data/ruby-advisory-db/gems/kelredd-pruview/OSVDB-92228.yml
109
+ - data/ruby-advisory-db/gems/ldoce/OSVDB-91870.yml
110
+ - data/ruby-advisory-db/gems/loofah/OSVDB-90945.yml
111
+ - data/ruby-advisory-db/gems/mail/OSVDB-70667.yml
112
+ - data/ruby-advisory-db/gems/mail/OSVDB-81631.yml
113
+ - data/ruby-advisory-db/gems/mail/OSVDB-81632.yml
114
+ - data/ruby-advisory-db/gems/md2pdf/OSVDB-92290.yml
115
+ - data/ruby-advisory-db/gems/mini_magick/OSVDB-91231.yml
116
+ - data/ruby-advisory-db/gems/multi_xml/OSVDB-89148.yml
117
+ - data/ruby-advisory-db/gems/newrelic_rpm/OSVDB-90189.yml
118
+ - data/ruby-advisory-db/gems/nori/OSVDB-90196.yml
119
+ - data/ruby-advisory-db/gems/omniauth-oauth2/OSVDB-90264.yml
120
+ - data/ruby-advisory-db/gems/pdfkit/OSVDB-90867.yml
121
+ - data/ruby-advisory-db/gems/rack-cache/OSVDB-83077.yml
122
+ - data/ruby-advisory-db/gems/rack/OSVDB-89939.yml
123
+ - data/ruby-advisory-db/gems/rdoc/OSVDB-90004.yml
124
+ - data/ruby-advisory-db/gems/rgpg/OSVDB-95948.yml
125
+ - data/ruby-advisory-db/gems/ruby_parser/OSVDB-90561.yml
126
+ - data/ruby-advisory-db/gems/spree/OSVDB-91216.yml
127
+ - data/ruby-advisory-db/gems/spree/OSVDB-91217.yml
128
+ - data/ruby-advisory-db/gems/spree/OSVDB-91218.yml
129
+ - data/ruby-advisory-db/gems/spree/OSVDB-91219.yml
130
+ - data/ruby-advisory-db/gems/thumbshooter/OSVDB-91839.yml
131
+ - data/ruby-advisory-db/lib/scrape.rb
132
+ - data/ruby-advisory-db/spec/advisory_example.rb
133
+ - data/ruby-advisory-db/spec/gems_spec.rb
134
+ - data/ruby-advisory-db/spec/spec_helper.rb
135
+ homepage: https://github.com/rubysec/bundler-audit#readme
136
+ licenses:
134
137
  - GPLv3
138
+ metadata: {}
135
139
  post_install_message:
136
140
  rdoc_options: []
137
-
138
- require_paths:
141
+ require_paths:
139
142
  - lib
140
- required_ruby_version: !ruby/object:Gem::Requirement
141
- none: false
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- hash: 3
146
- segments:
147
- - 0
148
- version: "0"
149
- required_rubygems_version: !ruby/object:Gem::Requirement
150
- none: false
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- hash: 3
155
- segments:
156
- - 0
157
- version: "0"
143
+ required_ruby_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: 1.8.0
158
153
  requirements: []
159
-
160
154
  rubyforge_project:
161
- rubygems_version: 1.8.24
155
+ rubygems_version: 2.0.5
162
156
  signing_key:
163
- specification_version: 3
157
+ specification_version: 4
164
158
  summary: Patch-level verification for Bundler
165
159
  test_files: []
166
-
@@ -1,17 +0,0 @@
1
- ---
2
- url: http://www.osvdb.org/show/osvdb/70667
3
- title: |
4
- Mail Gem for Ruby lib/mail/network/delivery_methods/sendmail.rb Email From:
5
- Address Arbitrary Shell Command Injection
6
-
7
- description: >
8
- Mail Gem for Ruby contains a flaw related to the failure to properly
9
- sanitise input passed from an email from address in the 'deliver()'
10
- function in 'lib/mail/network/delivery_methods/sendmail.rb' before
11
- being used as a command line argument. This may allow a remote
12
- attacker to inject arbitrary shell commands.
13
-
14
- cvss_v2: 6.8
15
-
16
- patched_versions:
17
- - ">= 2.2.15"
@@ -1,16 +0,0 @@
1
- ---
2
- url: http://www.osvdb.org/show/osvdb/81631
3
- title: Mail Gem for Ruby File Delivery Method to Parameter Traversal Arbitrary File Manipulation
4
-
5
- description: >
6
- Mail Gem for Ruby contains a flaw that allows a remote
7
- attacker to traverse outside of a restricted path. The issue is due
8
- to the program not properly sanitizing user input, specifically
9
- directory traversal style attacks (e.g., ../../) supplied via the
10
- 'to' parameter within the delivery method. This directory traversal
11
- attack would allow the attacker to modify arbitrary files.
12
-
13
- cvss_v2: 5.0
14
-
15
- patched_versions:
16
- - ">= 2.4.4"
@@ -1,13 +0,0 @@
1
- ---
2
- url: http://www.osvdb.org/show/osvdb/81632
3
- title: Mail Gem for Ruby Multiple Delivery Method Remote Shell Command Executio
4
-
5
- description: >
6
- Mail Gem for Ruby contains a flaw that occurs within
7
- the sendmail and exim delivery methods, which may allow an attacker
8
- to execute arbitrary shell commands..
9
-
10
- cvss_v2: 7.5
11
-
12
- patched_versions:
13
- - ">= 2.4.4"
@@ -1,14 +0,0 @@
1
- ---
2
- url: http://osvdb.org/83077
3
- title: rack-cache Rubygem Sensitive HTTP Header Caching Weakness
4
-
5
- description: |
6
- Rack::Cache (rack-cache) contains a flaw related to the
7
- rubygem caching sensitive HTTP headers. This will result in a
8
- weakness that may make it easier for an attacker to gain access to a
9
- user's session via a specially crafted header.
10
-
11
- cvss_v2: 7.5
12
-
13
- patched_versions:
14
- - ">= 1.2"
@@ -1,19 +0,0 @@
1
- ---
2
- url: http://osvdb.org/79726
3
- title: Ruby on Rails SafeBuffer Object [] Direct Manipulation XSS
4
-
5
- description: >
6
- Ruby on Rails contains a flaw that allows a remote cross-site
7
- scripting (XSS) attack. This flaw exists because athe application
8
- does not validate direct manipulations of SafeBuffer objects via
9
- '[]' and other methods. This may allow a user to create a specially
10
- crafted request that would execute arbitrary script code in a user's
11
- browser within the trust relationship between their browser and the
12
- server.
13
-
14
- cvss_v2: 4.3
15
-
16
- patched_versions:
17
- - ~> 3.0.12
18
- - ~> 3.1.4
19
- - ">= 3.2.2"
@@ -1,19 +0,0 @@
1
- ---
2
- url: http://www.osvdb.org/show/osvdb/79727
3
- title: Ruby on Rails actionpack/lib/action_view/helpers/form_options_helper.rb Manually Generated Select Tag Options XSS
4
-
5
- description: >
6
- Ruby on Rails contains a flaw that allows a remote cross-site
7
- scripting (XSS) attack. This flaw exists because the application does
8
- not validate manually generated 'select tag options' upon submission
9
- to actionpack/lib/action_view/helpers/form_options_helper.rb. This may
10
- allow a user to create a specially crafted request that would execute
11
- arbitrary script code in a user's browser within the trust
12
- relationship between their browser and the server.
13
-
14
- cvss_v2: 4.3
15
-
16
- patched_versions:
17
- - ~> 3.0.12
18
- - ~> 3.1.4
19
- - ">= 3.2.2"
@@ -1,17 +0,0 @@
1
- ---
2
- url: http://www.osvdb.org/show/osvdb/82610
3
- title: Ruby on Rails ActiveRecord Class Rack Query Parameter Parsing SQL Query Arbitrary IS NULL Clause Injection
4
-
5
- description: >
6
- Ruby on Rails contains a flaw related to the way ActiveRecord handles
7
- parameters in conjunction with the way Rack parses query parameters.
8
- This issue may allow an attacker to inject arbitrary 'IS NULL' clauses
9
- in to application SQL queries. This may also allow an attacker to have
10
- the SQL query check for NULL in arbitrary places.
11
-
12
- cvss_v2: 7.5
13
-
14
- patched_versions:
15
- - ~> 3.0.13
16
- - ~> 3.1.5
17
- - ">= 3.2.4"
@@ -1,18 +0,0 @@
1
- ---
2
- url: http://www.osvdb.org/show/osvdb/82403
3
- title: Ruby on Rails where Method ActiveRecord Class SQL Injection
4
-
5
- description: >
6
- Ruby on Rails (RoR) contains a flaw that may allow an attacker to
7
- carry out an SQL injection attack. The issue is due to the
8
- ActiveRecord class not properly sanitizing user-supplied input to
9
- the 'where' method. This may allow an attacker to inject or
10
- manipulate SQL queries in an application built on RoR, allowing for
11
- the manipulation or disclosure of arbitrary data.
12
-
13
- cvss_v2: 5.0
14
-
15
- patched_versions:
16
- - ~> 3.0.13
17
- - ~> 3.1.5
18
- - ">= 3.2.4"
@@ -1,19 +0,0 @@
1
- ---
2
- url: http://osvdb.org/84515
3
- title: Ruby on Rails select_tag Helper Method prompt Value XSS
4
-
5
- description: >
6
- Ruby on Rails contains a flaw that allows a remote cross-site
7
- scripting (XSS) attack. This flaw exists because input passed via the
8
- prompt value is not properly sanitized by the select_tag helper method
9
- before returning it to the user. This may allow a user to create a
10
- specially crafted request that would execute arbitrary script code in
11
- a user's browser within the trust relationship between their browser
12
- and the server.
13
-
14
- cvss_v2: 4.3
15
-
16
- patched_versions:
17
- - ~> 3.0.17
18
- - ~> 3.1.8
19
- - ">= 3.2.8"
@@ -1,18 +0,0 @@
1
- ---
2
- url: http://www.osvdb.org/show/osvdb/84516
3
- title: Ruby on Rails HTML Escaping Code XSS
4
-
5
- description: >
6
- Ruby on Rails contains a flaw that allows a remote
7
- cross-site scripting (XSS) attack. This flaw exists because the HTML
8
- escaping code functionality does not properly escape a single quote
9
- character. This may allow a user to create a specially crafted
10
- request that would execute arbitrary script code in a user's browser
11
- within the trust relationship between their browser and the server.
12
-
13
- cvss_v2: 4.3
14
-
15
- patched_versions:
16
- - ~> 3.0.17
17
- - ~> 3.1.8
18
- - ">= 3.2.8"
@@ -1,19 +0,0 @@
1
- ---
2
- url: http://www.osvdb.org/show/osvdb/84513
3
- title: Ruby on Rails strip_tags Helper Method XSS
4
-
5
- description: >
6
- Ruby on Rails contains a flaw that allows a remote cross-site
7
- scripting (XSS) attack. This flaw exists because the application
8
- does not validate input passed via the 'strip_tags' helper method
9
- before returning it to the user. This may allow a user to create a
10
- specially crafted request that would execute arbitrary script code
11
- in a user's browser within the trust relationship between their
12
- browser and the server.
13
-
14
- cvss_v2: 4.3
15
-
16
- patched_versions:
17
- - ~> 3.0.17
18
- - ~> 3.1.8
19
- - ">= 3.2.8"
@@ -1,92 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- actionmailer (3.2.10)
5
- actionpack (= 3.2.10)
6
- mail (~> 2.4.4)
7
- actionpack (3.2.10)
8
- activemodel (= 3.2.10)
9
- activesupport (= 3.2.10)
10
- builder (~> 3.0.0)
11
- erubis (~> 2.7.0)
12
- journey (~> 1.0.4)
13
- rack (~> 1.4.0)
14
- rack-cache (~> 1.2)
15
- rack-test (~> 0.6.1)
16
- sprockets (~> 2.2.1)
17
- activemodel (3.2.10)
18
- activesupport (= 3.2.10)
19
- builder (~> 3.0.0)
20
- activerecord (3.2.10)
21
- activemodel (= 3.2.10)
22
- activesupport (= 3.2.10)
23
- arel (~> 3.0.2)
24
- tzinfo (~> 0.3.29)
25
- activeresource (3.2.10)
26
- activemodel (= 3.2.10)
27
- activesupport (= 3.2.10)
28
- activesupport (3.2.10)
29
- i18n (~> 0.6)
30
- multi_json (~> 1.0)
31
- arel (3.0.2)
32
- builder (3.0.4)
33
- erubis (2.7.0)
34
- hike (1.2.1)
35
- i18n (0.6.1)
36
- journey (1.0.4)
37
- jquery-rails (2.2.0)
38
- railties (>= 3.0, < 5.0)
39
- thor (>= 0.14, < 2.0)
40
- json (1.7.6)
41
- mail (2.4.4)
42
- i18n (>= 0.4.0)
43
- mime-types (~> 1.16)
44
- treetop (~> 1.4.8)
45
- mime-types (1.20.1)
46
- multi_json (1.5.0)
47
- polyglot (0.3.3)
48
- rack (1.4.4)
49
- rack-cache (1.2)
50
- rack (>= 0.4)
51
- rack-ssl (1.3.3)
52
- rack
53
- rack-test (0.6.2)
54
- rack (>= 1.0)
55
- rails (3.2.10)
56
- actionmailer (= 3.2.10)
57
- actionpack (= 3.2.10)
58
- activerecord (= 3.2.10)
59
- activeresource (= 3.2.10)
60
- activesupport (= 3.2.10)
61
- bundler (~> 1.0)
62
- railties (= 3.2.10)
63
- railties (3.2.10)
64
- actionpack (= 3.2.10)
65
- activesupport (= 3.2.10)
66
- rack-ssl (~> 1.3.2)
67
- rake (>= 0.8.7)
68
- rdoc (~> 3.4)
69
- thor (>= 0.14.6, < 2.0)
70
- rake (10.0.3)
71
- rdoc (3.12.1)
72
- json (~> 1.4)
73
- sprockets (2.2.2)
74
- hike (~> 1.2)
75
- multi_json (~> 1.0)
76
- rack (~> 1.0)
77
- tilt (~> 1.1, != 1.3.0)
78
- sqlite3 (1.3.7)
79
- thor (0.17.0)
80
- tilt (1.3.3)
81
- treetop (1.4.12)
82
- polyglot
83
- polyglot (>= 0.3.1)
84
- tzinfo (0.3.35)
85
-
86
- PLATFORMS
87
- ruby
88
-
89
- DEPENDENCIES
90
- jquery-rails
91
- rails (= 3.2.10)
92
- sqlite3
File without changes