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 5
5
signature is not correctly verified.</p >
6
6
</overview >
7
7
<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 >
10
10
</recommendation >
11
11
<example >
12
12
<p >The following example shows a case where a JWT is parsed without verifying the
17
17
<sample src =" MissingJwtSignatureCheckGood.go" />
18
18
</example >
19
19
<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 >
23
23
</references >
24
24
25
25
</qhelp >
You can’t perform that action at this time.
0 commit comments