CVE-2024-4981
NoneCVSS
—
EPSS
0.4%
Published
May 12, 2025
CISA due date
—
Cloudanix analysis
A server bug could let someone upload a special folder that tricks the system into showing files it was never supposed to reveal.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits a malicious git repository containing symbolic links to cause the Pagure server to follow those links and expose or incorporate content located outside the repository's intended boundaries.
Why it matters to the business
Attackers could access sensitive files stored on the server, resulting in data exposure, compliance violations, and operational risk for organizations relying on the service; low exploit prevalence reduces immediate urgency but patching remains necessary.
How an attack unfolds
An attacker crafts a git repository that includes symbolic links pointing to files outside the repo directory, submits the repository to the Pagure instance, and the server processes or displays the repository in a manner that follows the links and reveals external content.
How to fix it
Upgrade affected webkitgtk packages on Ubuntu 14.04 LTS to version 2.4.8-1ubuntu1~ubuntu14.04.1 and on Ubuntu 16.04 LTS to version 2.4.9-2ubuntu2; apply equivalent patches for Pagure if a distinct fix is released.
How to confirm the fix worked
Verify package versions match the listed fixed releases, test repository submission with symbolic links to confirm external content is no longer accessible, and review server logs for prior symlink traversal attempts.
Typical attack path
- Create a git repository containing symbolic links targeting external paths
- Submit the repository to the Pagure server via push or import
- Trigger repository indexing, viewing, or diff operations
- Access or exfiltrate content exposed from outside the repository
How to detect it
Search web server and application logs for repository submissions containing paths with ../ sequences or symlink references; review file access logs for unexpected reads outside repository directories during import or display operations.
What your security team should do
- Prioritize patching the affected Ubuntu webkitgtk packages within standard maintenance windows given the absence of KEV status
- Monitor EPSS trend and re-evaluate if scores rise above 0.1
- Audit git repository import workflows for symlink handling until patches are deployed
The record
A vulnerability was discovered in Pagure server. If a malicious user were to submit a git repository with symbolic links, the server could unintentionally show incorporate and make visible content from outside the git repo.
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 |