CVE-2020-36567
HIGH 7.5CVSS 3.1Gin's default logger allows unsanitized input that can allow remote attackers to inject arbitrary log lines
Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.
- Published
- 27 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-116CWE-117
- Also known as
- GHSA-6vm3-jj99-7229GO-2020-0001
- Sources
- NVDJSONOSV GHSA-6vm3-jj99-7229JSONOSV GO-2020-0001JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gin-gonic | gincpe:2.3:a:gin-gonic:gin:*:*:*:*:*:*:*:* |
< 1.6.0 | 1.6.0 |
| OSV | Go | github.com/gin-gonic/gin | < 1.6.0 | 1.6.0 |
References
- https://github.com/gin-gonic/gin/commit/a71af9c144f9579f6dbe945341c1df37aaf09c0d · Patch, Third Party Advisory, WEB, FIX
- https://github.com/gin-gonic/gin/pull/2237 · Exploit, Patch, Third Party Advisory, WEB, FIX
- https://pkg.go.dev/vuln/GO-2020-0001 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-36567 · ADVISORY
- https://github.com/gin-gonic/gin · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Dec 2022)