深刻度 高
Gin's default logger allows unsanitized input that can allow remote attackers to inject arbitrary log lines
github.com/gin-gonic/gin(ライブラリ)の脆弱性です。深刻度は「高」、CVSS は 7.5です。修正版は 1.6.0 です。
- 対象
- github.com/gin-gonic/gin(ライブラリ)
- CVE 番号
- CVE-2020-36567
- 深刻度
- 高CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- 影響を受けるバージョン
- 1.6.0 未満
- 修正版
- 1.6.0
- 公開日
- 情報の更新日
- 出典
- OSV.dev(GitHub Advisory を含む OSS 脆弱性データベース)
どのような脆弱性ですか
日本語解説は確認中です。
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.(原文の抜粋です。全文は下の参考情報から確認できます)
どう対応すればよいですか
github.com/gin-gonic/gin を、修正版の 1.6.0 以降に更新してください。
更新の前に、サイトのバックアップを取っておくと、不具合が出たときに戻せます。
参考情報
github.com/gin-gonic/gin のほかの脆弱性
- Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function
- Improper handling of filenames in Content-Disposition HTTP header in github.com/gin-gonic/gin
- Improper input validation in github.com/gin-gonic/gin
- Arbitrary log line injection in github.com/gin-gonic/gin
あなたのサイトは影響を受けていますか
Cyber Shield Guard は、サイトで使っているプラグインとテーマを脆弱性データベースと毎日突き合わせ、該当があれば通知します。登録したサイトが対象かどうかを確かめられます。