CVE-2023-49947
NixOS vulnerability analysis and mitigation

Overview

Forgejo before version 1.20.5-1 contains a security vulnerability that allows 2FA (Two-Factor Authentication) bypass when using docker login with Basic Authentication. The vulnerability was discovered and disclosed on November 25, 2023, affecting all Forgejo installations prior to version 1.20.5-1 (Forgejo Advisory).

Technical details

The vulnerability stems from a missing two-factor authentication verification in the API endpoint used by docker login when using basic authentication. While 2FA checks were implemented in three different locations, the verification was missing specifically for the docker login endpoint. The issue has been assigned a CVSS v3.1 base score of 7.5 HIGH with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N, indicating a high severity vulnerability (NVD).

Impact

When exploited, this vulnerability allows attackers to bypass the two-factor authentication requirement when using docker login with basic authentication, potentially compromising the security of protected resources that should require 2FA verification (Forgejo Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Forgejo version 1.20.5-1. The fix moves the 2FA check into the basic authentication process itself. Organizations running Forgejo installations are strongly recommended to upgrade to version 1.20.5-1 or later as soon as possible (Forgejo Advisory).

Community reactions

The Forgejo security team responsibly disclosed the vulnerability to both Gitea and Gogs teams on October 25, 2023. While initial fixes and tests were exchanged with the Gitea team, communication ceased after October 31, 2023. The Gogs developer was also notified but did not respond. As a result of this experience, Forgejo has implemented a new policy to provide advance warning of security releases (Forgejo Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe/snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management