Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-4982: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

0
High
VulnerabilityCVE-2024-4982cvecve-2024-4982
Published: Mon May 12 2025 (05/12/2025, 19:01:45 UTC)
Source: CVE

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 22:35:08 UTC

Technical Analysis

CVE-2024-4982 is a directory traversal vulnerability identified in the Pagure server, a git-centered source code management platform. The root cause is the improper limitation of pathnames to restricted directories, allowing attackers to traverse outside intended directories. By submitting a specially crafted git repository, an attacker with limited privileges can manipulate file paths to access sensitive files and secrets on the server that should be inaccessible. The vulnerability is remotely exploitable over the network without user interaction, with a CVSS 3.1 base score of 7.6 (high). The vector indicates network attack vector (AV:N), low attack complexity (AC:L), requiring privileges (PR:L), no user interaction (UI:N), unchanged scope (S:U), high confidentiality impact (C:H), low integrity impact (I:L), and low availability impact (A:L). While no known exploits are reported in the wild, the potential for sensitive data disclosure is significant. The vulnerability affects all versions identified as '0' in the report, presumably early or default versions of Pagure. The issue was reserved and published in May 2024 and May 2025 respectively, with enrichment from CISA, indicating recognized importance in the US cybersecurity community.

Potential Impact

The primary impact of CVE-2024-4982 is the unauthorized disclosure of sensitive information stored on Pagure servers, including secrets, configuration files, or other confidential data. This can lead to further compromise if attackers obtain credentials or internal system details. The integrity and availability impacts are limited but not negligible, as attackers might alter or disrupt repository data to a minor extent. Organizations relying on Pagure for source code hosting, especially those storing sensitive or proprietary information, face increased risk of data breaches. This can damage organizational reputation, lead to intellectual property theft, and expose critical infrastructure details. Since exploitation requires some privileges, insider threats or compromised accounts can escalate damage. The lack of known exploits in the wild suggests limited current exploitation but does not reduce the urgency for mitigation given the high confidentiality impact.

Mitigation Recommendations

To mitigate CVE-2024-4982, organizations should immediately apply any available patches or updates from the Pagure project once released. In the absence of patches, administrators should restrict repository submission privileges to trusted users only and implement strict input validation and sanitization on repository paths. Employing file system access controls to limit the Pagure server process permissions can reduce the risk of unauthorized file access. Monitoring repository submissions for unusual or suspicious path patterns can help detect exploitation attempts. Additionally, secrets should be stored securely using dedicated vault solutions rather than in repositories or server file systems. Regular audits of server file permissions and logs can help identify potential exploitation. Network segmentation and limiting external access to Pagure servers reduce exposure. Finally, educating users about the risks of submitting untrusted repositories can prevent exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
fedora
Date Reserved
2024-05-15T22:54:26.023Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d9816c4522896dcbd68d5

Added to database: 5/21/2025, 9:08:38 AM

Last enriched: 2/27/2026, 10:35:08 PM

Last updated: 3/25/2026, 2:03:19 PM

Views: 70

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses