{"id":"CVE-2024-55947","state":"PUBLISHED","title":"Gogs has a Path Traversal in file update API","description":"Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.","publishedAt":"2024-12-23T15:26:47.507Z","updatedAt":"2024-12-24T15:59:02.793Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["gogs gogs"],"affected":[{"vendor":"gogs","product":"gogs","versions":[{"version":"< 0.13.1","status":"affected"}]}],"references":["https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg","https://github.com/gogs/gogs/issues/7582","https://github.com/gogs/gogs/pull/7859","https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/55xxx/CVE-2024-55947.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-55947","state":"PUBLISHED","datePublished":"2024-12-23T15:26:47.507Z","dateUpdated":"2024-12-24T15:59:02.793Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-12-13T17:39:32.960Z"},"containers":{"cna":{"title":"Gogs has a Path Traversal in file update API","descriptions":[{"lang":"en","value":"Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1."}],"affected":[{"vendor":"gogs","product":"gogs","versions":[{"version":"< 0.13.1","status":"affected"}]}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg","name":"https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gogs/gogs/issues/7582","name":"https://github.com/gogs/gogs/issues/7582","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/pull/7859","name":"https://github.com/gogs/gogs/pull/7859","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41","name":"https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-12-23T15:26:47.507Z"},"source":{"advisory":"GHSA-qf5v-rp47-55gg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-24T15:58:34.175956Z","id":"CVE-2024-55947","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-24T15:59:02.793Z"}}]}}}