GO-2020-0001

    Dashboard / Vulnerabilities / GO-2020-0001

    GO-2020-0001

    Published: 14 Apr 2021Last Modified: 20 May 2024

    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.

    Affected packages

    Package

    Name: github.com/gin-gonic/gin

    Purl: pkg:golang/github.com/gin-gonic/gin

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.6.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GO-2020-0001 | CVE-DB