Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-01Add latest changes from gitlab-org/security/gitlab@13-8-stable-eeGitLab Bot
2020-11-19Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot
2020-03-31Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-16Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-04Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-05Allow not resolvable urls when rebinding setting is disabledFrancisco Javier López
Now, when the dns rebinging setting is disabled, we will allow urls that are not resolvable.
2019-07-29Fix broken master because of security mergeFrancisco Javier López
2019-07-29Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqRobert Speicher
2019-07-24[ADD] outbound requests whitelistReuben Pereira
Signed-off-by: Istvan szalai <istvan.szalai@savoirfairelinux.com>
2019-07-15Fix Server Side Request Forgery mitigation bypassFrancisco Javier López
When we can't resolve the hostname or it is invalid, we shouldn't even perform the request. This fix also fixes the problem the SSRF rebinding attack. We can't stub feature flags outside example blocks. Nevertheless, there are some actions that calls the UrlBlocker, that are performed outside example blocks, ie: `set` instruction. That's why we have to use some signalign mechanism outside the scope of the specs.
2019-07-12Don't use bang method when there is no safe methodReuben Pereira
https://github.com/rubocop-hq/ruby-style-guide#dangerous-method-bang
2019-05-30Add DNS rebinding protection settingsOswaldo Ferreira
2019-05-30Protect Gitlab::HTTP against DNS rebinding attackDouwe Maan
Gitlab::HTTP now resolves the hostname only once, verifies the IP is not blocked, and then uses the same IP to perform the actual request, while passing the original hostname in the `Host` header and SSL SNI field.
2019-04-11Align UrlValidator to validate_url gem implementation.Thong Kuah
Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement. Make use of the options attribute of the parent class ActiveModel::EachValidator. Add more options: allow_nil, allow_blank, message. Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
2019-01-07Add table and model for error tracking settingsReuben Pereira
2018-12-06Allow URLs to be validated as ascii_onlyJames Edwards-Jones
Restricts unicode characters and IDNA deviations which could be used in a phishing attack
2018-11-29Merge branch 'security-11-5-fix-webhook-ssrf-ipv6' into 'security-11-5'Steve Azzopardi
[11.5] Fix SSRF in project integrations See merge request gitlab/gitlabhq!2611
2018-11-29Merge branch 'security-fj-crlf-injection' into 'master'Cindy Pallares
[master] Fix CRLF issue in UrlValidator See merge request gitlab/gitlabhq!2627
2018-11-29Merge branch 'security-stored-xss-for-environments' into 'master'Cindy Pallares
[master] Stored XSS for Environments Closes #2727 See merge request gitlab/gitlabhq!2594
2018-10-25Merge branch 'sh-block-other-localhost' into 'master'Thiago Presa
Block additional localhost addresses in UrlBlocker See merge request gitlab/gitlabhq!2487
2018-10-22Enable frozen string for lib/gitlab/*.rbgfyoung
2018-09-06Block loopback addresses in UrlBlockerStan Hu
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51128
2018-08-13Block link-local addresses in URLBlockerStan Hu
Closes https://gitlab.com/gitlab-com/migration/issues/766
2018-06-11Avoid checking the user format in every url validationFrancisco Javier López
2018-06-01Add validation to webhook and service URLs to ensure they are not blocked ↵Francisco Javier López
because of SSRF
2018-04-02Rename allow_private_networks to allow_local_networkDouwe Maan
2018-04-02Make error messages even more descriptiveDouwe Maan
2018-04-02Raise more descriptive errors when URLs are blockedDouwe Maan
2018-03-21Merge branch 'fj-15329-services-callbacks-ssrf' into 'security-10-6'Douwe Maan
Server Side Request Forgery in Services and Web Hooks See merge request gitlab/gitlabhq!2337
2017-11-09Merge branch 'ssrf-protections-round-2' into 'security-10-1'Douwe Maan
Replace SSRF resolver with Addrinfo.getaddrinfo to include alternative localhost versions See merge request gitlab/gitlabhq!2219 (cherry picked from commit 4a1e73783d5480aa514db7b53e10c075f95580b5) 1bffa0c3 Replace SSRF resolver with Addrinfo.getaddrinfo to include alternative localhost versions
2017-08-10Merge branch 'rs-alphanumeric-ssh-params' into 'security-9-4'James Edwards-Jones
Ensure user and hostnames begin with an alnum character in UrlBlocker See merge request !2138
2017-03-21Merge branch 'ssrf' into 'security' Rubén Dávila
nil check for url_blocker? See merge request !2076
2017-03-21Merge branch 'ssrf' into 'security' Douwe Maan
Protect server against SSRF in project import URLs See merge request !2068