Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.12
-
3.12
-
Description
If the Public Key returned from the server cannot be parsed correctly a 500 page is thrown with the following stacktrace:
Cause: java.lang.IllegalArgumentException: Invalid TrustedApplication Stack Trace: [hide] java.lang.IllegalArgumentException: Invalid TrustedApplication at com.atlassian.jira.security.auth.trustedapps.DefaultTrustedApplicationService.store(DefaultTrustedApplicationService.java:95) at com.atlassian.jira.web.action.admin.trustedapps.EditTrustedApplication.doExecuteAction(EditTrustedApplication.java:29) at com.atlassian.jira.web.action.admin.trustedapps.AbstractTrustedApplicationAction.doExecute(AbstractTrustedApplicationAction.java:37) at webwork.action.ActionSupport.execute(ActionSupport.java:153) ...
This is caused by the requester not being able to parse the public key correctly and not properly validating this case.