CVE-2021-45331
Reuse of one time passwords allowed in Gitea
Overview
Description
An Authentication Bypass vulnerability exists in Gitea before 1.5.0, which could let a malicious user gain privileges. If captured, the TOTP code for the 2FA can be submitted correctly more than once.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-287
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | gitea | <1.5.0 | 1.5.0 |
| Go | code.gitea.io/gitea | <1.5.0 | 1.5.0 |
Open a package to see all its vulnerabilities.
Operating systems · 4 fixes
alpine 4 releases · 1 package
fixed 4
gitea
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | gitea | 1.5.1-r0 |
| 3.23 | gitea | 1.5.1-r0 |
| 3.24 | gitea | 1.5.1-r0 |
| edge | gitea | 1.5.1-r0 |
References
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.