{"id":"CVE-2024-4981","state":"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.","publishedAt":"2025-05-12T18:55:08.744Z","updatedAt":"2025-05-12T19:05:43.641Z","severity":{"score":7.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","source":"fedora"},"assigner":"fedora","products":["pagure"],"affected":[{"packageName":"pagure","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.14.1","versionType":"semver"}],"collectionURL":"https://pagure.io/pagure"}],"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"],"weaknesses":["CWE-552"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/4xxx/CVE-2024-4981.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-4981","state":"PUBLISHED","datePublished":"2025-05-12T18:55:08.744Z","dateUpdated":"2025-05-12T19:05:43.641Z","assignerShortName":"fedora","assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateReserved":"2024-05-15T22:44:08.761Z"},"containers":{"cna":{"title":"Pagure: _update_file_in_git() follows symbolic links in temporary clones","descriptions":[{"lang":"en","value":"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":[{"packageName":"pagure","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.14.1","versionType":"semver"}],"collectionURL":"https://pagure.io/pagure"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-4981","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2278745"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2280723","name":"RHBZ#2280723","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://pagure.io/pagure/c/454f2677bc50d7176f07da9784882eb2176537f4"}],"metrics":[{"other":{"content":{"namespace":"https://access.redhat.com/security/updates/classification/","value":"Important"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-552","description":"Files or Directories Accessible to External Parties","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"fedora","orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateUpdated":"2025-05-12T18:59:13.483Z"},"datePublic":"2024-05-03T00:00:00.000Z","timeline":[{"lang":"en","time":"2024-05-15T00:00:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2024-05-03T00:00:00.000Z","value":"Made public."}],"x_redhatCweChain":"CWE-552: Files or Directories Accessible to External Parties"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-12T19:04:15.136644Z","id":"CVE-2024-4981","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-12T19:05:43.641Z"}}]}}}