High severity · published May 12, 2025
CVE-2024-4981
Pagure: _update_file_in_git() follows symbolic links in temporary clones
7.1
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
Pagure · Redhat
before 5.14.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-4981
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-4981
Vendor Advisory
https://access.redhat.com/security/cve/CVE-2024-4981
Permissions Required
https://bugzilla.redhat.com/show_bug.cgi?id=2278745
Exploit
https://bugzilla.redhat.com/show_bug.cgi?id=2280723
Patch
https://pagure.io/pagure/c/454f2677bc50d7176f07da9784882eb2176537f4
More from Pagure
7.5
CVE-2017-1002151
Pagure 3.3.0 and earlier is vulnerable to loss of confidentially due to improper authorization
6.5
CVE-2024-4982
Pagure: path traversal in view_issue_raw_file()
6.1
CVE-2019-11556
Pagure before 5.6 allows XSS via the templates/blame.html blame view
6.1
CVE-2016-1000037
Pagure: XSS possible in file attachment endpoint
6.1
CVE-2016-1000007
Pagure 2.2.1 XSS in raw file endpoint
