SCA: security update for code.gitea.io/gitea (GHSA-hfmf-q69j-6m5p)

critical Tenable Self-Hosted Container Security Plugin ID 415687

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2021-45331)

See Also

https://github.com/advisories/GHSA-hfmf-q69j-6m5p

Plugin Details

Severity: Critical

ID: 415687

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-45331

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/10/2022

Vulnerability Publication Date: 2/9/2022

Reference Information

CVE: CVE-2021-45331

cwe: CWE-287