Cloudanix VulnDB

CVE-2024-4982

None

CVSS

—

EPSS

0.8%

Published

May 12, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

Attackers could steal secret files from a code hosting server by uploading a specially made project.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Data Exposure
Component
Application
Class
Path Traversal
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Directory traversal flaw in Pagure allows a crafted git repository submission to read arbitrary files outside the intended repository scope, exposing server secrets and configuration data.

Why it matters to the business

Attackers may obtain credentials or configuration details that enable further unauthorized access; low exploitation probability and absence from known campaigns reduce immediate operational urgency but still require patching of the affected package.

How an attack unfolds

An attacker crafts a git repository containing path traversal sequences, submits it to a Pagure instance for processing, and the server follows the malicious paths during repository handling to leak files containing secrets.

How to fix it

Upgrade python-min (Bitnami) to version 3.6.13 or later; restrict repository import sources and apply least-privilege file access controls on the server until the update is applied.

How to confirm the fix worked

Confirm the installed package version meets or exceeds 3.6.13; attempt controlled traversal submissions in a test environment and verify that file reads are confined to the repository directory.

Typical attack path

  1. Create a git repository embedding directory traversal sequences in file paths or references
  2. Submit the repository to the Pagure server via push or import
  3. Trigger repository processing or indexing on the server
  4. Observe responses or side effects that disclose contents of traversed files

How to detect it

Inspect web and application logs for repository submissions containing unusual path sequences; review file access logs for reads outside expected repository directories during import or indexing operations.

What your security team should do

  • Apply the 3.6.13 update to python-min (Bitnami) at the earliest maintenance window
  • Review and harden git repository ingestion controls to limit untrusted submissions
  • Monitor application and system logs for anomalous file access patterns during repository handling

The record

A directory traversal vulnerability was discovered in Pagure server. If a malicious user submits a specially cratfted git repository they could discover secrets on the server.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 pagure 0 No fix
Debian:12 pagure 0 No fix
Debian:13 pagure 0 5.14.1+dfsg-1
Ubuntu:20.04:LTS pagure 0 No fix
Ubuntu:22.04:LTS pagure 0 No fix
Ubuntu:22.04:LTS pagure 0 5.11.3+dfsg-1ubuntu0.1
Ubuntu:24.04:LTS pagure 0 No fix
Ubuntu:24.04:LTS pagure 0 5.11.3+dfsg-2.1ubuntu0.2
Ubuntu:24.10 pagure 0 No fix
Ubuntu:25.04 pagure 0 No fix
Ubuntu:25.10 pagure 0 No fix
Ubuntu:Pro:20.04:LTS pagure 0 No fix
Ubuntu:Pro:20.04:LTS pagure 0 5.8.1+dfsg-3ubuntu0.1~esm1

Related vulnerabilities