CVE-2024-47515
High · 8.1CVSS
8.1
EPSS
0.6%
Published
Dec 24, 2024
CISA due date
—
Cloudanix analysis
A flaw in how the system handles file links while packaging project folders lets logged-in users steal other files from the server.
- 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
Path traversal via symbolic link support during repository archiving allows an authenticated attacker to read arbitrary local files on the server.
Why it matters to the business
Attackers with repository access can exfiltrate sensitive configuration files, source code, or credentials stored on the host, leading to further compromise or data leakage.
How an attack unfolds
An attacker with a low-privileged account creates a repository containing symbolic links that point outside the archive root, then triggers the archiving function to cause the server to follow the links and include target files in the resulting archive.
How to fix it
Upgrade affected bundler packages to version 2.1.4-1 or later on Ubuntu 20.04 LTS systems; disable symbolic link support in repository archiving if an immediate upgrade is not possible.
How to confirm the fix worked
Verify the installed bundler version is at least 2.1.4-1 and test that archive exports no longer follow or include symlinks pointing outside the repository directory.
Typical attack path
- Obtain a low-privileged account on the Pagure instance
- Create or modify a repository to include symbolic links pointing to sensitive local paths
- Invoke the repository archive export feature
- Download the resulting archive containing the disclosed files
How to detect it
Search web server and application logs for archive export requests that reference repositories containing symlink entries; inspect generated archive files for unexpected paths or permissions.
What your security team should do
- Apply the fixed bundler version 2.1.4-1 immediately on all Ubuntu 20.04 LTS hosts running Pagure
- Review and restrict repository archiving permissions to trusted users only
- Monitor for unusual archive export activity from low-privileged accounts
The record
A vulnerability was found in Pagure. Support of symbolic links during repository archiving of repositories allows the disclosure of local files. This flaw allows a malicious user to take advantage of the Pagure instance.
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
- CVE-2024-4982 A directory traversal vulnerability was discovered in Pagure server. Also affects pagure
- CVE-2024-4981 A vulnerability was discovered in Pagure server. Also affects pagure
- CVE-2024-47516 A vulnerability was found in Pagure. Also affects pagure
- CVE-2026-106566 ImageMagick is free and open-source software used for editing and manipulating digital… CWE-61
- CVE-2026-105712 gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. CWE-61
- CVE-2026-79939 Dell PowerProtect Cyber Recovery, versions Prior to 20.3, contain an UNIX Symbolic Link… CWE-61
- CVE-2026-32657 Dell AppSync Version 4.6.0.0, Dell Metro Node Version 8.0.0, Dell UCC Edge Version 3.0.1… CWE-61
- CVE-2026-53802 rsync before 3.5.0 contains an arbitrary file read vulnerability that allows attackers to… CWE-61