samq-randcorp / intentionally-vulnerable-golang-project

https://github.com/sonatype-nexus-community/intentionally-vulnerable-golang-project.git
0 stars 0 forks source link

CVE-2021-45331 (Critical) detected in github.com/go-gitea/gitea-v1.2.3 #53

Open mend-for-github-com[bot] opened 11 months ago

mend-for-github-com[bot] commented 11 months ago

CVE-2021-45331 - Critical Severity Vulnerability

Vulnerable Library - github.com/go-gitea/gitea-v1.2.3

Git with a cup of tea, painless self-hosted git service

Library home page: https://proxy.golang.org/github.com/go-gitea/gitea/@v/v1.2.3.zip

Dependency Hierarchy: - :x: **github.com/go-gitea/gitea-v1.2.3** (Vulnerable Library)

Found in HEAD commit: fad3f37965fe63942d2c0f558471e8bd3166eb21

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2022-02-09

URL: CVE-2021-45331

CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45331

Release Date: 2022-02-09

Fix Resolution: v1.5.0-dev