SecOps #1407
open[Sécurité] Vulnérabilité de code : internal/db/db_wallet.go:6 (go.lang.security.audit.crypto.math_random.math-random-used)
0%
Description
**Sévérité** : MEDIUM
**Source** : Semgrep
`vuln-medium`
**Emplacement** : internal/db/db_wallet.go:6
**Règle** : go.lang.security.audit.crypto.math_random.math-random-used
Do not use `math/rand`. Use `crypto/rand` instead.
### Extrait de code
```
requires login
```
### Lien CVE
https://cheatsheetseries.owasp.org/cheatsheets/Cryptographic_Storage_Cheat_Sheet.html#secure-random-number-generation
### Recommandations
crypto/rand
CD Updated by Client Dashboard 20 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).
CD Updated by Client Dashboard 19 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).
CD Updated by Client Dashboard 15 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).
CD Updated by Client Dashboard 13 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).
CD Updated by Client Dashboard 13 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).
CD Updated by Client Dashboard 13 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).
CD Updated by Client Dashboard 13 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).
CD Updated by Client Dashboard 13 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).
CD Updated by Client Dashboard 13 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).
CD Updated by Client Dashboard 11 days ago
Vulnérabilité `internal/db/db_wallet.go:6_go.lang.security.audit.crypto.math_random.math-random-used` à nouveau détectée par un scan ; ticket déjà ouvert (aucun doublon créé).