Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3582caa9
Commit
3582caa9
authored
Aug 16, 2019
by
Markus Koller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix references to moved EE fixtures
parent
72c3df79
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
198 deletions
+17
-198
ee/spec/factories/ci/job_artifacts.rb
ee/spec/factories/ci/job_artifacts.rb
+2
-2
ee/spec/fixtures/security-reports/feature-branch/gl-dependency-scanning-report.json
...reports/feature-branch/gl-dependency-scanning-report.json
+0
-170
ee/spec/fixtures/security_reports/feature-branch/gl-dependency-scanning-report.json
...reports/feature-branch/gl-dependency-scanning-report.json
+15
-26
No files found.
ee/spec/factories/ci/job_artifacts.rb
View file @
3582caa9
...
...
@@ -118,7 +118,7 @@ FactoryBot.define do
after
(
:build
)
do
|
artifact
,
_
|
artifact
.
file
=
fixture_file_upload
(
Rails
.
root
.
join
(
'ee/spec/fixtures/security
-
reports/feature-branch/gl-dependency-scanning-report.json'
),
'application/json'
)
Rails
.
root
.
join
(
'ee/spec/fixtures/security
_
reports/feature-branch/gl-dependency-scanning-report.json'
),
'application/json'
)
end
end
...
...
@@ -148,7 +148,7 @@ FactoryBot.define do
after
(
:build
)
do
|
artifact
,
_
|
artifact
.
file
=
fixture_file_upload
(
Rails
.
root
.
join
(
'
spec/fixtures/security-
reports/feature-branch/gl-container-scanning-report.json'
),
'application/json'
)
Rails
.
root
.
join
(
'
ee/spec/fixtures/security_
reports/feature-branch/gl-container-scanning-report.json'
),
'application/json'
)
end
end
...
...
ee/spec/fixtures/security-reports/feature-branch/gl-dependency-scanning-report.json
deleted
100644 → 0
View file @
72c3df79
{
"version"
:
"1.3"
,
"vulnerabilities"
:
[
{
"category"
:
"dependency_scanning"
,
"name"
:
"io.netty/netty - CVE-2014-3488"
,
"message"
:
"DoS by CPU exhaustion when using malicious SSL packets"
,
"cve"
:
"app/pom.xml:io.netty/netty@3.9.1.Final:CVE-2014-3488"
,
"severity"
:
"Unknown"
,
"solution"
:
"Upgrade to the latest version"
,
"scanner"
:
{
"id"
:
"gemnasium"
,
"name"
:
"Gemnasium"
},
"location"
:
{
"file"
:
"app/pom.xml"
,
"dependency"
:
{
"package"
:
{
"name"
:
"io.netty/netty"
},
"version"
:
"3.9.1.Final"
}
},
"identifiers"
:
[
{
"type"
:
"gemnasium"
,
"name"
:
"Gemnasium-d1bf36d9-9f07-46cd-9cfc-8675338ada8f"
,
"value"
:
"d1bf36d9-9f07-46cd-9cfc-8675338ada8f"
,
"url"
:
"https://deps.sec.gitlab.com/packages/maven/io.netty/netty/versions/3.9.1.Final/advisories"
},
{
"type"
:
"cve"
,
"name"
:
"CVE-2014-3488"
,
"value"
:
"CVE-2014-3488"
,
"url"
:
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3488"
}
],
"links"
:
[
{
"url"
:
"https://bugzilla.redhat.com/CVE-2014-3488"
},
{
"url"
:
"http://netty.io/news/2014/06/11/3.html"
},
{
"url"
:
"https://github.com/netty/netty/issues/2562"
}
],
"priority"
:
"Unknown"
,
"file"
:
"app/pom.xml"
,
"url"
:
"https://bugzilla.redhat.com/CVE-2014-3488"
,
"tool"
:
"gemnasium"
},
{
"category"
:
"dependency_scanning"
,
"name"
:
"Django - CVE-2017-12794"
,
"message"
:
"Possible XSS in traceback section of technical 500 debug page"
,
"cve"
:
"app/requirements.txt:Django@1.11.3:CVE-2017-12794"
,
"severity"
:
"Unknown"
,
"solution"
:
"Upgrade to latest version or apply patch."
,
"scanner"
:
{
"id"
:
"gemnasium"
,
"name"
:
"Gemnasium"
},
"location"
:
{
"file"
:
"app/requirements.txt"
,
"dependency"
:
{
"package"
:
{
"name"
:
"Django"
},
"version"
:
"1.11.3"
}
},
"identifiers"
:
[
{
"type"
:
"gemnasium"
,
"name"
:
"Gemnasium-6162a015-8635-4a15-8d7c-dc9321db366f"
,
"value"
:
"6162a015-8635-4a15-8d7c-dc9321db366f"
,
"url"
:
"https://deps.sec.gitlab.com/packages/pypi/Django/versions/1.11.3/advisories"
},
{
"type"
:
"cve"
,
"name"
:
"CVE-2017-12794"
,
"value"
:
"CVE-2017-12794"
,
"url"
:
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12794"
}
],
"links"
:
[
{
"url"
:
"https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
}
],
"priority"
:
"Unknown"
,
"file"
:
"app/requirements.txt"
,
"url"
:
"https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
,
"tool"
:
"gemnasium"
},
{
"category"
:
"dependency_scanning"
,
"message"
:
"Directory traversal vulnerability in rubyzip"
,
"cve"
:
"Gemfile.lock:rubyzip:cve:CVE-2017-5946"
,
"severity"
:
"High"
,
"solution"
:
"upgrade to
\u
003e= 1.2.1"
,
"scanner"
:
{
"id"
:
"bundler_audit"
,
"name"
:
"bundler-audit"
},
"location"
:
{
"file"
:
"Gemfile.lock"
,
"dependency"
:
{
"package"
:
{
"name"
:
"rubyzip"
},
"version"
:
"1.2.0"
}
},
"identifiers"
:
[
{
"type"
:
"cve"
,
"name"
:
"CVE-2017-5946"
,
"value"
:
"CVE-2017-5946"
,
"url"
:
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5946"
}
],
"links"
:
[
{
"url"
:
"https://github.com/rubyzip/rubyzip/issues/315"
}
]
},
{
"category"
:
"dependency_scanning"
,
"name"
:
"ffi - CVE-2018-1000201"
,
"message"
:
"ruby-ffi DDL loading issue on Windows OS"
,
"cve"
:
"ffi:1.9.18:CVE-2018-1000201"
,
"severity"
:
"High"
,
"solution"
:
"upgrade to
\u
003e= 1.9.24"
,
"scanner"
:
{
"id"
:
"bundler_audit"
,
"name"
:
"bundler-audit"
},
"location"
:
{
"file"
:
"sast-sample-rails/Gemfile.lock"
,
"dependency"
:
{
"package"
:
{
"name"
:
"ffi"
},
"version"
:
"1.9.18"
}
},
"identifiers"
:
[
{
"type"
:
"cve"
,
"name"
:
"CVE-2018-1000201"
,
"value"
:
"CVE-2018-1000201"
,
"url"
:
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000201"
}
],
"links"
:
[
{
"url"
:
"https://github.com/ffi/ffi/releases/tag/1.9.24"
}
],
"priority"
:
"High"
,
"file"
:
"sast-sample-rails/Gemfile.lock"
,
"url"
:
"https://github.com/ffi/ffi/releases/tag/1.9.24"
,
"tool"
:
"bundler_audit"
}
]
}
\ No newline at end of file
ee/spec/fixtures/security_reports/feature-branch/gl-dependency-scanning-report.json
View file @
3582caa9
...
...
@@ -97,47 +97,36 @@
},
{
"category"
:
"dependency_scanning"
,
"name"
:
"nokogiri - USN-3424-1"
,
"message"
:
"Vulnerabilities in libxml2"
,
"cve"
:
"rails/Gemfile.lock:nokogiri@1.8.0:USN-3424-1"
,
"severity"
:
"Unknown"
,
"solution"
:
"Upgrade to latest version."
,
"message"
:
"Directory traversal vulnerability in rubyzip"
,
"cve"
:
"Gemfile.lock:rubyzip:cve:CVE-2017-5946"
,
"severity"
:
"High"
,
"solution"
:
"upgrade to
\u
003e= 1.2.1"
,
"scanner"
:
{
"id"
:
"
gemnasium
"
,
"name"
:
"
Gemnasium
"
"id"
:
"
bundler_audit
"
,
"name"
:
"
bundler-audit
"
},
"location"
:
{
"file"
:
"
rails/
Gemfile.lock"
,
"file"
:
"Gemfile.lock"
,
"dependency"
:
{
"package"
:
{
"name"
:
"
nokogiri
"
"name"
:
"
rubyzip
"
},
"version"
:
"1.
8
.0"
"version"
:
"1.
2
.0"
}
},
"identifiers"
:
[
{
"type"
:
"gemnasium"
,
"name"
:
"Gemnasium-06565b64-486d-4326-b906-890d9915804d"
,
"value"
:
"06565b64-486d-4326-b906-890d9915804d"
,
"url"
:
"https://deps.sec.gitlab.com/packages/gem/nokogiri/versions/1.8.0/advisories"
},
{
"type"
:
"usn"
,
"name"
:
"USN-3424-1"
,
"value"
:
"USN-3424-1"
,
"url"
:
"https://usn.ubuntu.com/3424-1/"
"type"
:
"cve"
,
"name"
:
"CVE-2017-5946"
,
"value"
:
"CVE-2017-5946"
,
"url"
:
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5946"
}
],
"links"
:
[
{
"url"
:
"https://github.com/
sparklemotion/nokogiri/issues/1673
"
"url"
:
"https://github.com/
rubyzip/rubyzip/issues/315
"
}
],
"priority"
:
"Unknown"
,
"file"
:
"rails/Gemfile.lock"
,
"url"
:
"https://github.com/sparklemotion/nokogiri/issues/1673"
,
"tool"
:
"gemnasium"
]
},
{
"category"
:
"dependency_scanning"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment