Gogsに保護ブランチの制限を回避される脆弱性、書き込み権限のある利用者がプルリクエストのマージで不正にプッシュできる
Summary
Gogsの0.14.4までには、書き込み権限を持つ共同作業者がプルリクエストをマージすることで、保護ブランチへ許可リスト外からコミットを反映できる脆弱性があります。CVSS v3.xは6.5、CVSS v4.0は7.1です。修正版は事実に示されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Gogsの0.14.4までには、書き込み権限を持つ共同作業者がプルリクエストをマージすることで、保護ブランチへ許可リスト外からコミットを反映できる脆弱性があります。CVSS v3.xは6.5、CVSS v4.0は7.1です。修正版は事実に示されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogsgogs |
≤ 0.14.4→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Gogs through 0.14.4 contains an authorization bypass vulnerability that allows collaborators with write access to push to protected branches by merging pull requests. Because MergePullRequest skips branch protection checks and PullRequest.Merge omits hook environment variables, attackers can merge commits into branches restricted to allowlisted users.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com