Description
Peppermint through 0.5.5 contains a hardcoded JWT signing secret in docker-compose.yml that allows unauthenticated attackers to forge session tokens for any account. Attackers can use the published secret to mint valid tokens for arbitrary user IDs and access protected endpoints without credentials.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Peppermint-Lab peppermint
Default version status: unaffected
0 to ≤ 0.5.5affected
References
- https://github.com/Peppermint-Lab/peppermint/issues/528 ↗
- https://github.com/Peppermint-Lab/peppermint ↗
- https://github.com/Peppermint-Lab/peppermint/blob/0.5.5/docker-compose.yml ↗
- https://github.com/Peppermint-Lab/peppermint/blob/0.5.5/apps/api/src/lib/jwt.ts ↗
- https://www.vulncheck.com/advisories/peppermint-through-0.5.5-use-of-hard-coded-jwt-signing-secret-in-docker-compose-yml ↗