You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/05 15:44:31 UTC

[GitHub] [apisix-dashboard] hongbinhsu opened a new pull request #2303: chore : update jwt generation tool(#2302)

hongbinhsu opened a new pull request #2303:
URL: https://github.com/apache/apisix-dashboard/pull/2303


   Please answer these questions before submitting a pull request, **or your PR will get closed**.
   
   **Why submit this pull request?**
   
   - [ ] Bugfix update github.com/dgrijalva/jwt-go  to github.com/golang-jwt/jwt/v4 v4.2.0
   
   **What changes will this PR take into?**
   
   Old github.com/dgrijalva/jwt-go package Not updated in 2 years, 
   versions <4.0.0-preview1  have Access Restriction Bypass
   detail url:https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515
   
   **Related issues**
   
   fix  #2302
   
   **Checklist:**
   1、 go mod tidy
   2、debug main.go
   3、check /apisix/admin/user/login generate jwt use other api pass
   4、The full findings were as follows.
   `{
       "code": 0,
       "message": "",
       "data": {
           "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY0NDA3ODg2MSwiaWF0IjoxNjQ0MDc1MjYxfQ.c6VYx3tvrFfg-BcPyQJpN_nU0omsImxb88utv_EH614"
       },
       "request_id": "5a4ea7f5-e158-4567-b372-096d36802551"
   }`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan commented on pull request #2303: chore : update jwt generation tool(#2302)

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on pull request #2303:
URL: https://github.com/apache/apisix-dashboard/pull/2303#issuecomment-1030649544


   cc @zaunist to have a check :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] juzhiyuan commented on pull request #2303: chore : update jwt generation tool(#2302)

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on pull request #2303:
URL: https://github.com/apache/apisix-dashboard/pull/2303#issuecomment-1030758245


   ![image](https://user-images.githubusercontent.com/2106987/152669509-f10d9ff6-7c2e-4b6b-97d3-d5b6cb16301e.png)
   
   Hi @hongbinhsu, there have some errors when running CI, please have a look :) 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] hongbinhsu closed pull request #2303: chore : update jwt generation tool(#2302)

Posted by GitBox <gi...@apache.org>.
hongbinhsu closed pull request #2303:
URL: https://github.com/apache/apisix-dashboard/pull/2303


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org