github.com/emicklei/go-restful/v3 module prior to v3.10.0 is vulnerable to Authentication Bypass by Primary Weakness. There is an inconsistency in how go-restful parses URL paths. This inconsistency could lead to several security check bypass in a complex system. \ \ Fix: fixed in v3.10.0 \ \ Image: icr.io/cpopen/turbonomic/kubeturbo:8.9.4-SNAPSHOT \ \ Details: https://github.com/emicklei/go-restful/issues/497
These are the items that must be done by the developer and by reviewers before the change is ready to merge. Please strikeout any items that are not applicable, but don't delete them
[ ] Developer Checks
[X] Full build with unit tests and fmt and vet checks
[ ] Unit tests added / updated
[X] No unlicensed images, no third-party code (such as from StackOverflow)
[ ] Integration tests added / updated
[X] Manual testing done (and described)
[ ] Product sweep run and passed
[ ] Developer wiki updated (and linked to this description)
[ ] Reviewer Checks
[ ] Merge request description clear and understandable
[ ] Developer checklist items complete
[ ] Functional code review (how is the code written)
[ ] Architectural review (does the code try to do the right thing, in the right way)
Intent
Issue PRISMA-2022-0227 reported by TwistLock scan
Background
github.com/emicklei/go-restful/v3 module prior to v3.10.0 is vulnerable to Authentication Bypass by Primary Weakness. There is an inconsistency in how go-restful parses URL paths. This inconsistency could lead to several security check bypass in a complex system. \ \ Fix: fixed in v3.10.0 \ \ Image: icr.io/cpopen/turbonomic/kubeturbo:8.9.4-SNAPSHOT \ \ Details: https://github.com/emicklei/go-restful/issues/497
Testing
Check updated whitesource scanner report. TwistLock scan report twistlock-scan-results-20230705-162317-565579000-UTC-06160807.results.csv
Manual testing
Checklist
These are the items that must be done by the developer and by reviewers before the change is ready to merge. Please
strikeoutany items that are not applicable, but don't delete themUnit tests added / updatedIntegration tests added / updatedDeveloper wiki updated (and linked to this description)Audience
@ading1977 @irfanurrehman