File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
go/ql/src/Security/CWE-347 Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 55 signature is not correctly verified.</p >
66 </overview >
77 <recommendation >
8- <p >Always verify the signature by using the appropriate methods provided by the JWT library,
9- or use a library that verifies it by default.</p >
8+ <p >Always verify the signature by using the appropriate methods provided by the JWT
9+ library, or use a library that verifies it by default.</p >
1010 </recommendation >
1111 <example >
1212 <p >The following example shows a case where a JWT is parsed without verifying the
1717 <sample src =" MissingJwtSignatureCheckGood.go" />
1818 </example >
1919 <references >
20- <li >
21-
22- </li >
20+ <li >JWT IO: < a href = " https://jwt.io/introduction " >Introduction to JSON Web Tokens</ a >.</ li >
21+ < li >jwt-go: < a href = " https://pkg.go.dev/github.com/golang-jwt/jwt/v5 " >Documentation</ a >.</ li >
22+ <li >Go JOSE: < a href = " https://pkg.go.dev/github.com/go-jose/go-jose/v3 " >Documentation</ a >.< /li >
2323 </references >
2424
2525</qhelp >
You can’t perform that action at this time.
0 commit comments