深刻度 中
Improper input validation in github.com/gin-gonic/gin
github.com/gin-gonic/gin(ライブラリ)の脆弱性です。深刻度は「中」、CVSS は 5.6です。修正版は 1.9.0 です。
- 対象
- github.com/gin-gonic/gin(ライブラリ)
- CVE 番号
- CVE-2023-26125
- 深刻度
- 中CVSS 5.6CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- 影響を受けるバージョン
- 1.9.0 未満
- 修正版
- 1.9.0
- 公開日
- 情報の更新日
- 出典
- OSV.dev(GitHub Advisory を含む OSS 脆弱性データベース)
どのような脆弱性ですか
日本語解説は確認中です。
Versions of the package github.com/gin-gonic/gin before version 1.9.0 are vulnerable to Improper Input Validation by allowing an attacker to use a specially crafted request via the X-Forwarded-Prefix header, potentially leading to cache poisoning. **Note:** Although this issue does not pose a signi…(原文の抜粋です。全文は下の参考情報から確認できます)
どう対応すればよいですか
github.com/gin-gonic/gin を、修正版の 1.9.0 以降に更新してください。
更新の前に、サイトのバックアップを取っておくと、不具合が出たときに戻せます。
参考情報
- https://nvd.nist.gov/vuln/detail/CVE-2023-26125(新しいタブで開きます)
- https://github.com/gin-gonic/gin/pull/3500(新しいタブで開きます)
- https://github.com/gin-gonic/gin/pull/3503(新しいタブで開きます)
- https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b(新しいタブで開きます)
- https://github.com/gin-gonic/gin(新しいタブで開きます)
- https://github.com/gin-gonic/gin/releases/tag/v1.9.0(新しいタブで開きます)
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285(新しいタブで開きます)
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
- Gin's default logger allows unsanitized input that can allow remote attackers to inject arbitrary log lines
- Arbitrary log line injection in github.com/gin-gonic/gin
あなたのサイトは影響を受けていますか
Cyber Shield Guard は、サイトで使っているプラグインとテーマを脆弱性データベースと毎日突き合わせ、該当があれば通知します。登録したサイトが対象かどうかを確かめられます。