{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-2024","id":"CVE-2022-2024","title":"OS Command Injection in gogs/gogs","description":"OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11.","descriptionLong":"OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11.","published":"2023-02-25T00:00:00.000Z","updated":"2026-10-28T02:31:05.219281096Z","reserved":"2022-06-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"@huntrdev"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"huntr.dev"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["gogs/gogs"],"affectedProducts":[{"vendor":"gogs","product":"gogs/gogs","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"0.12.11","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.12.11"],"fixed":["0.12.11"],"advisory":"GHSA-pfvh-p8qp-9ww9"}],"cwes":["CWE-78"],"aliases":["GHSA-pfvh-p8qp-9ww9","GO-2023-1596"],"references":[{"url":"https://huntr.dev/bounties/18cf9256-23ab-4098-a769-85f8da130f97","tags":["x_transferred","Exploit","Patch","web"]},{"url":"https://github.com/gogs/gogs/commit/15d0d6a94be0098a8227b6b95bdf2daed105ec41","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2024.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2024","tags":["advisory"]},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-pfvh-p8qp-9ww9","tags":["web","advisory"]},{"url":"https://github.com/gogs/gogs/issues/7030","tags":["web"]},{"url":"https://github.com/gogs/gogs","tags":["package"]},{"url":"https://github.com/gogs/gogs/blob/f36eeedbf89328ee70cc3a2e239f6314f9021f58/conf/app.ini#L127-L129","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.97839,"epssPercentile":0.99908,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-2024","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2024","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-2024","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pfvh-p8qp-9ww9","ok":true,"note":"GHSA-pfvh-p8qp-9ww9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-2024","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 98% with CVSS 9.8"],"attention":null}