{"id":"CVE-2020-36567","aliases":["CVE-2020-36567","GHSA-6vm3-jj99-7229","GO-2020-0001"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary log line injection in github.com/gin-gonic/gin","summary":"Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.","source":"cvelist"},{"lang":"en","text":"Gin is a HTTP web framework written in Go (Golang). Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The default Formatter for the Logger middleware (LoggerConfig.Formatter), which is included in the Default engine, allows attackers to inject arbitrary log entries by manipulating the request path.","format":"markdown","source":"go"},{"lang":"es","text":"La entrada no sanitizada en el registrador predeterminado en github.com/gin-gonic/gin anterior a v1.6.0 permite a atacantes remotos inyectar líneas de registro arbitrarias.","source":"nvd"}],"published":"2021-04-14T20:04:52.000Z","modified":"2026-06-17T03:15:45.660Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-116","CWE-117"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.6.0","status":"affected"}],"vendor":"github.com/gin-gonic/gin","product":"github.com/gin-gonic/gin","package":"github.com/gin-gonic/gin","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.0"}],"ecosystem":"Go","package":"github.com/gin-gonic/gin","purl":"pkg:golang/github.com/gin-gonic/gin","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.0"}],"ecosystem":"Go","package":"github.com/gin-gonic/gin","purl":"pkg:golang/github.com/gin-gonic/gin","source":"go"},{"ranges":[{"status":"affected","fixed":"1.6.0"}],"vendor":"gin-gonic","product":"gin","cpe":"cpe:2.3:a:gin-gonic:gin:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/gin-gonic/gin/pull/2237","tags":["exploit","fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/gin-gonic/gin/commit/a71af9c144f9579f6dbe945341c1df37aaf09c0d","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0001","tags":["patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36567","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/gin-gonic/gin","tags":["package"],"sources":["ghsa"]}],"credits":["@thinkerou <thinkerou@gmail.com>"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-11T16:45:06.925Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36567","url":"https://www.cve.org/CVERecord?id=CVE-2020-36567","licence":"CVE Terms of Use","modified":"2025-04-11T16:45:40.135Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6vm3-jj99-7229","url":"https://github.com/advisories/GHSA-6vm3-jj99-7229","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:47.851Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2020-0001","url":"https://pkg.go.dev/vuln/GO-2020-0001","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36567","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36567","licence":"Public domain","modified":"2026-06-17T03:15:45.660Z"}],"updatedAt":"2026-11-25T22:57:58.776Z","epss":{"score":0.01545,"percentile":0.75724,"date":"2026-12-01T12:00:22.000Z"}}