CVE-2021-29134
NixOS vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2021-29134) affects the avatar middleware in Gitea versions before 1.13.6, allowing Directory Traversal attacks through crafted URLs. The issue was discovered and disclosed in March 2021, with a fix released in version 1.13.6 (Gitea Release).

Technical details

The vulnerability is classified with a CVSS v3.1 Base Score of 5.3 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N). The issue stems from improper handling of URL paths in the avatar middleware component, which could allow attackers to traverse directories through specially crafted URLs (NVD Results).

Impact

The directory traversal vulnerability could allow attackers to access files outside of the intended directory structure, potentially exposing sensitive information on the affected Gitea installations (CVE Mitre).

Mitigation and workarounds

The recommended mitigation is to upgrade Gitea installations to version 1.13.6 or later, which contains the security fix for this vulnerability. The fix was implemented through changes to the avatar middleware's path handling mechanism (Gitea Release).

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-32318HIGH8.8
  • NixOSNixOS
  • android
NoNoSep 05, 2025
CVE-2025-32320HIGH7.8
  • NixOSNixOS
  • android
NoNoSep 05, 2025
CVE-2025-32317MEDIUM5.5
  • NixOSNixOS
  • android
NoNoSep 05, 2025
CVE-2025-32316MEDIUM5.5
  • NixOSNixOS
  • android
NoNoSep 05, 2025
CVE-2025-26461LOW3.3
  • NixOSNixOS
  • android
NoNoSep 05, 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