CVE-2024-4981Pagure: _update_file_in_git() follows symbolic links in temporary clones
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | pagure | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | pagure | Fixed | 5.11.3+dfsg-2.1ubuntu0.2 | UBUNTU-CVE-2024-4981 |
| Ubuntu 22.04 | pagure | Fixed | 5.11.3+dfsg-1ubuntu0.1 | UBUNTU-CVE-2024-4981 |
| Ubuntu 20.04 | pagure | Fix pending | 5.8.1+dfsg-3ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-4981 |
| Debian 13 | pagure | Fixed | 5.14.1+dfsg-1 | DEBIAN-CVE-2024-4981 |
What the vendor says
As published in the CVE record by fedora, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- pagure: affected: before 5.14.1; fixed in
5.14.1
References
- https://access.redhat.com/security/cve/CVE-2024-4981
- https://bugzilla.redhat.com/show_bug.cgi?id=2278745
- https://bugzilla.redhat.com/show_bug.cgi?id=2280723
- https://pagure.io/pagure/c/454f2677bc50d7176f07da9784882eb2176537f4
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.