Advisory

GO-2020-0001

Also known as: CVE-2020-36567, GHSA-6vm3-jj99-7229

Summary

Arbitrary log line injection in github.com/gin-gonic/gin

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/gin-gonic/gin

Go · All systems

Affected

  • introduced 0, fixed 1.6.0 (semver)

Fixed versions

1.6.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences