-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use exact matching of allowed domain entries, issue #489 (#493) #503
Conversation
…cklei#493) * use exact matching of allowed domain entries, issue emicklei#489 * update doc, add testcases from PR conversation * introduce AllowedDomainFunc emicklei#489 * more tests, fix doc * lowercase origin before checking cors
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #503 +/- ##
==========================================
+ Coverage 70.35% 70.47% +0.12%
==========================================
Files 26 26
Lines 1545 1531 -14
==========================================
- Hits 1087 1079 -8
+ Misses 386 383 -3
+ Partials 72 69 -3 ☔ View full report in Codecov by Sentry. |
@L3n41c thank you for contributing |
This is still showing up in trivy (2.16.0 as vulnerable)
|
Because of a security issue in go-restful v2.15.0 emicklei/go-restful#503 Signed-off-by: bmordeha <bmodeha@redhat.com>
…in go-restful v2.15.0 emicklei/go-restful#503 Signed-off-by: bmordeha <bmodeha@redhat.com>
maybe trivy cannot handle the fact that we have 2 active branches (with and without Go modules). |
The updated version fixes 'Authorization Bypass Through User-Controlled Key' vulnerability (CVE-2022-1996). References: emicklei/go-restful#489 emicklei/go-restful#503 Signed-off-by: Vasiliy Ulyanov <vulyanov@suse.de>
The updated version fixes 'Authorization Bypass Through User-Controlled Key' vulnerability (CVE-2022-1996). References: emicklei/go-restful#489 emicklei/go-restful#503 Signed-off-by: Vasiliy Ulyanov <vulyanov@suse.de>
Backport #493 to fix #489 on the
v2
stream ofgo-restful
.Some GO projects might have indirect dependencies to the
v2
version ofemicklei/go-restful
so that upgrading tov3.8.0
isn’t trivial.See #489 (comment).