{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-56731","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-12-27T15:03:02.803Z","datePublished":"2025-06-24T03:37:42.327Z","dateUpdated":"2025-06-25T12:43:04.424Z"},"containers":{"cna":{"title":"Gogs deletion of internal files allows remote command execution","problemTypes":[{"descriptions":[{"cweId":"CWE-552","lang":"en","description":"CWE-552: Files or Directories Accessible to External Parties","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/gogs/gogs/security/advisories/GHSA-wj44-9vcg-wjq7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wj44-9vcg-wjq7"},{"name":"https://github.com/gogs/gogs/commit/77a4a945ae9a87f77e392e9066b560edb71b5de9","tags":["x_refsource_MISC"],"url":"https://github.com/gogs/gogs/commit/77a4a945ae9a87f77e392e9066b560edb71b5de9"},{"name":"https://github.com/gogs/gogs/releases/tag/v0.13.3","tags":["x_refsource_MISC"],"url":"https://github.com/gogs/gogs/releases/tag/v0.13.3"}],"affected":[{"vendor":"gogs","product":"gogs","versions":[{"version":"< 0.13.3","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2025-06-24T03:37:42.327Z"},"descriptions":[{"lang":"en","value":"Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the .git directory and achieve remote command execution due to an insufficient patch for CVE-2024-39931. Unprivileged user accounts can execute arbitrary commands on the Gogs instance with the privileges of the account specified by RUN_USER in the configuration. Allowing attackers to access and alter any users' code hosted on the same instance. This issue has been patched in version 0.13.3."}],"source":{"advisory":"GHSA-wj44-9vcg-wjq7","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-24T15:25:08.585114Z","id":"CVE-2024-56731","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-06-25T12:43:04.424Z"}}]}}