🛡️ openSUSE-SU-2024:0226-1 — gh (CVE-2024-6104)
Description
Security update for gh
This update for gh fixes the following issues:
Update to version 2.53.0:
- CVE-2024-6104: gh: hashicorp/go-retryablehttp: url might write sensitive information to log file (boo#1227035)
- Disable
TestGetTrustedRoot/successfully_verifies_TUF_roottest due to https://github.com/cli/cli/issues/8928 - Rename package directory and files
- Rename package name to
update_branch - Rename
gh pr updatetogh pr update-branch - Add test case for merge conflict error
- Handle merge conflict error
- Return error if PR is not mergeable
- Replace literals with consts for
Mergeablefield values - Add separate type for
PullRequest.Mergeablefield - Remove unused flag
- Print message on stdout instead of stderr
- Raise error if editor is used in non-tty mode
- Add tests for JSON field support on issue and pr view commands
- docs: Update documentation for
gh repo createto clarify owner - Ensure PR does not panic when stateReason is requested
- Enable to use --web even though editor is enabled by config
- Add editor hint message
- Use prefer_editor_prompt config by
issue create - Add prefer_editor_prompt config
- Add
issue create --editor - Update create.go
- gh attestation trusted-root subcommand (#9206)
- Fetch variable selected repo relationship when required
- Add
createdAtfield to tests - Add
createdAtfield toVariabletype - Add test for exporting as JSON
- Add test for JSON output
- Only populate selected repo information for JSON output
- Add test to verify JSON exporter gets set
- Add
--jsonoption support - Use
Variabletype defined insharedpackage - Add tests for JSON output
- Move
Variabletype andPopulateSelectedRepositoryInformationfunc to shared - Fix query parameter name
- Update tests to account for ref comparison step
- Improve query variable names
- Check if PR branch is already up-to-date
- Add
ComparePullRequestBaseBranchWithfunction - Run
go mod tidy - Add test to verify
--reporequires non-empty selector - Require non-empty selector when
--repooverride is used - Run
go mod tidy - Register
updatecommand - Add tests for
pr updatecommand - Add
pr updatecommand - Add
UpdatePullRequestBranchmethod - Upgrade
shurcooL/githubv4
Update to version 2.52.0:
- Attestation Verification - Buffer Fix
- Remove beta note from attestation top level command
- Removed beta note from
gh at download. - Removed beta note from
gh at verify, clarified reusable workflows use case. - add
-aflag togh run list
Affected software
openSUSE-SU-2024:0226-1 is recorded against 1 package.
- gh (fixed in 2.53.0-bp156.2.6.1)
Timeline and source
Published on 27 July 2024 and last revised on 4 February 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
lists.opensuse.org (Advisory)
bugzilla.suse.com (Report)
www.suse.com (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| gh | — | 2.53.0-bp156.2.6.1 |
References
Similar Threats
Free Vulnerability Check
Is your site affected by openSUSE-SU-2024:0226-1?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against openSUSE-SU-2024:0226-1 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.