{"id":"CVE-2024-4981","aliases":["DEBIAN-CVE-2024-4981","DLA-4390-1","EUVD-2025-14275","GHSA-vw7p-rwg9-7mrq","UBUNTU-CVE-2024-4981","USN-7984-1"],"status":"published","title":"Pagure: _update_file_in_git() follows symbolic links in temporary clones","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.","severity":{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00425,"percentile":0.37077,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-552"],"published":"2025-05-12T18:55:08Z","modified":"2026-11-02T12:03:04Z","fixes":[{"ecosystem":"Debian:13","package":"pagure","fixed_in":["5.14.1+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"pagure","fixed_in":["5.8.1+dfsg-3ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"pagure","fixed_in":["5.11.3+dfsg-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"pagure","fixed_in":["5.11.3+dfsg-2.1ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"pagure","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.14.1+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"pagure","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.11.3+dfsg-1+deb11u1"}]}],"versions":["5.11.3+dfsg-1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"pagure","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.1+dfsg-3ubuntu0.1~esm1"}]}],"versions":["5.8.1+dfsg-1","5.8.1+dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pagure","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.11.3+dfsg-1ubuntu0.1"}]}],"versions":["5.11.3+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"pagure","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.11.3+dfsg-2.1ubuntu0.2"}]}],"versions":["5.11.3+dfsg-2.1","5.11.3+dfsg-2.1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"pagure","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.1+dfsg-3ubuntu0.1~esm1"}]}],"versions":["5.8.1+dfsg-1","5.8.1+dfsg-3"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pagure","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.11.3+dfsg-1ubuntu0.1"}]}],"versions":["5.11.3+dfsg-1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"pagure","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.11.3+dfsg-2.1ubuntu0.2"}]}],"versions":["5.11.3+dfsg-2.1","5.11.3+dfsg-2.1ubuntu0.1"],"bundled":4}],"products":[{"vendor":"redhat","product":"pagure"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-4981","tags":["vdb-entry","x_refsource_REDHAT","Vendor Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2278745","tags":["Permissions Required","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2280723","tags":["issue-tracking","x_refsource_REDHAT","Exploit","Issue Tracking","report"]},{"url":"https://pagure.io/pagure/c/454f2677bc50d7176f07da9784882eb2176537f4","tags":["Patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4981"},{"url":"https://github.com/advisories/GHSA-vw7p-rwg9-7mrq"},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-4981","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-4981","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-4981","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7984-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-4982","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-47515","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-47516","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-4981","title":"Pagure: _update_file_in_git() follows symbolic links in temporary clones","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.","status":"published","published":"2025-05-12T18:55:08.744Z","modified":"2025-05-12T19:05:43.641Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T14:34:17.150655Z"}],"euvd":[{"id":"EUVD-2025-14275","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.","status":"published","published":"2025-05-12T18:55:08Z","modified":"2025-05-12T19:05:43Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T20:32:49.308721Z"}],"ghsa":[{"id":"GHSA-vw7p-rwg9-7mrq","title":"A vulnerability was discovered in Pagure server. If a malicious user were to submit a git...","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.","status":"published","published":"2025-05-12T21:31:09Z","modified":"2025-05-12T21:31:14Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T15:02:14.203214Z"}],"nvd":[{"id":"CVE-2024-4981","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.","status":"published","published":"2025-05-12T19:15:47.747Z","modified":"2026-06-17T08:03:19.58Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T14:10:46.40251Z"}],"osv":[{"id":"CVE-2024-4981","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.","status":"published","published":"2025-05-12T19:15:47.747Z","modified":"2026-04-10T05:18:03.482223Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:43.597758Z"},{"id":"DEBIAN-CVE-2024-4981","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.","status":"published","published":"2025-05-12T19:15:47.747Z","modified":"2026-11-02T12:03:04.024526842Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:43.798789Z"},{"id":"UBUNTU-CVE-2024-4981","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.","status":"published","published":"2025-05-12T19:15:00Z","modified":"2026-02-04T07:39:17.844789Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T16:55:06.818511Z"},{"id":"DLA-4390-1","title":"pagure - security update","status":"published","published":"2025-12-01T00:00:00Z","modified":"2025-12-01T02:17:52.024876Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"USN-7984-1","title":"pagure vulnerabilities","description":"Thomas Chauchefoin discovered that Pagure incorrectly handled symbolic\nlinks in Git repositories. A remote attacker could possibly use this\nissue to cause Pagure to expose files outside the intended repository\nboundaries. (CVE-2024-4981)\n\nThomas Chauchefoin discovered that Pagure did not properly sanitize path\ninputs. A remote attacker could possibly use this issue to read arbitrary\nfiles. (CVE-2024-4982)\n\nThomas Chauchefoin discovered that Pagure incorrectly handled symbolic\nlinks during repository archiving. A remote attacker could possibly use\nthis issue to disclose local files on the server. (CVE-2024-47515)\n\nThomas Chauchefoin discovered that Pagure incorrectly handled certain\ninputs. A remote attacker could possibly use this issue to execute\narbitrary code on the server. (CVE-2024-47516)","status":"published","published":"2026-01-29T08:33:07Z","modified":"2026-02-22T23:58:56.334328Z","updated_at":"2026-11-02T16:58:22.951676Z"}]}}
