CVE-2022-38795
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-38795 affects Gitea through version 1.17.1, where unauthorized repo cloning can occur in the migration function. The vulnerability was discovered and disclosed in August 2023, impacting all versions of Gitea up to and including 1.17.1 (NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 6.5 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N. The issue specifically relates to how Migration Downloaders handle the rewriting of CloneURLs, which could potentially point to unauthorized URLs (GitHub PR).

Impact

The vulnerability allows unauthorized access to repository data through the migration function, potentially exposing sensitive information and allowing unauthorized repository cloning operations (NVD).

Mitigation and workarounds

The vulnerability was patched in Gitea version 1.17.2. Users are strongly advised to upgrade to this version or later. The fix includes additional checks in the migration code and double-checking of CloneURL acceptability (Gitea Blog).

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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 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