7.5high
Arbitrary log line injection in github.com/gin-gonic/gin
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.54% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GHSA-6vm3-jj99-7229GO-2020-0001
Description
Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/gin-gonic/gin | before 1.6.0 | CVE List |
| github.com/gin-gonic/gin (Go) | before 1.6.0 | GitHub Advisory Database, Go Vulnerability Database |
| gin-gonic gin | before 1.6.0 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
What each source says
CVE List
Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.
GitHub Advisory Database
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.
Go Vulnerability Database
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.
NVD (es)
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.
References
| https://github.com/gin-gonic/gin/pull/2237 | exploit, fix, patch, third-party-advisory, web | |
| https://github.com/gin-gonic/gin/commit/a71af9c144f9579f6dbe945341c1df37aaf09c0d | fix, patch, third-party-advisory, web | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36567 changed 2025-04-11 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6vm3-jj99-7229 changed 2023-11-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2020-0001 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2020-36567 changed 2026-06-17 | Public domain |