-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a check for CVE-2013-6421 (sprout remote code execution)
- Loading branch information
Showing
5 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
module Codesake | ||
module Dawn | ||
module Kb | ||
# Automatically created with rake on 2013-12-17 | ||
class CVE_2013_6421 | ||
include DependencyCheck | ||
|
||
def initialize | ||
message = "The unpack_zip function in archive_unpacker.rb in the sprout gem 0.7.246 for Ruby allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a (1) filename or (2) path." | ||
|
||
super({ | ||
:name=>'CVE-2013-6421', | ||
:cvss=>"AV:N/AC:L/Au:N/C:P/I:P/A:P", | ||
:release_date => Date.new(2013, 12, 12), | ||
:cwe=>"94", | ||
:owasp=>"A9", | ||
:applies=>["rails", "padrino", "sinatra"], | ||
:kind => Codesake::Dawn::KnowledgeBase::DEPENDENCY_CHECK, | ||
:message => message, | ||
:mitigation=>"Please upgrade sprout rubygem", | ||
:aux_links => ["http://www.openwall.com/lists/oss-security/2013/12/03/1"] | ||
}) | ||
self.safe_dependencies = [{:name=>"sprout", :version=>['0.7.247']}] | ||
|
||
|
||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module Codesake | ||
module Dawn | ||
VERSION = "0.81.0" | ||
VERSION = "0.85" | ||
CODENAME = "ElevatoR" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters