{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for gh","title":"Title of the patch"},{"category":"description","text":"This update for gh fixes the following issues:\n\nUpdate to version 2.53.0:\n\n* CVE-2024-6104: gh: hashicorp/go-retryablehttp: url might write sensitive information to log file (boo#1227035)\n\n* Disable `TestGetTrustedRoot/successfully_verifies_TUF_root` test due to https://github.com/cli/cli/issues/8928\n* Rename package directory and files\n* Rename package name to `update_branch`\n* Rename `gh pr update` to `gh pr update-branch`\n* Add test case for merge conflict error\n* Handle merge conflict error\n* Return error if PR is not mergeable\n* Replace literals with consts for `Mergeable` field values\n* Add separate type for `PullRequest.Mergeable` field\n* Remove unused flag\n* Print message on stdout instead of stderr\n* Raise error if editor is used in non-tty mode\n* Add tests for JSON field support on issue and pr view commands\n* docs: Update documentation for `gh repo create` to clarify owner\n* Ensure PR does not panic when stateReason is requested\n* Add `createdAt` field to tests\n* Add `createdAt` field to `Variable` type\n* Add test for exporting as JSON\n* Add test for JSON output\n* Only populate selected repo information for JSON output\n* Add test to verify JSON exporter gets set\n* Add `--json` option support\n* Use `Variable` type defined in `shared` package\n* Add tests for JSON output\n* Move `Variable` type and `PopulateSelectedRepositoryInformation` func to shared\n* Fix query parameter name\n* Update tests to account for ref comparison step\n* Improve query variable names\n* Check if PR branch is already up-to-date\n* Add `ComparePullRequestBaseBranchWith` function\n* Run `go mod tidy`\n* Add test to verify `--repo` requires non-empty selector\n* Require non-empty selector when `--repo` override is used\n* Run `go mod tidy`\n* Register `update` command\n* Add tests for `pr update` command\n* Add `pr update` command\n* Add `UpdatePullRequestBranch` method\n* Upgrade `shurcooL/githubv4`\n\nUpdate to version 2.52.0:\n\n* Attestation Verification - Buffer Fix\n* Remove beta note from attestation top level command\n* Removed beta note from `gh at download`.\n* Removed beta note from `gh at verify`, clarified reusable workflows use case.\n* add `-a` flag to `gh run list`\n","title":"Description of the patch"},{"category":"details","text":"openSUSE-2024-227","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_0227-1.json"},{"category":"self","summary":"URL for openSUSE-SU-2024:0227-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/G2COZIDAEHXSE2NGBIJOMDBA64FCPZOP/"},{"category":"self","summary":"E-Mail link for openSUSE-SU-2024:0227-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/G2COZIDAEHXSE2NGBIJOMDBA64FCPZOP/"},{"category":"self","summary":"SUSE Bug 1227035","url":"https://bugzilla.suse.com/1227035"},{"category":"self","summary":"SUSE CVE CVE-2024-6104 page","url":"https://www.suse.com/security/cve/CVE-2024-6104/"}],"title":"Security update for gh","tracking":{"current_release_date":"2024-07-27T04:01:36Z","generator":{"date":"2024-07-27T04:01:36Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"openSUSE-SU-2024:0227-1","initial_release_date":"2024-07-27T04:01:36Z","revision_history":[{"date":"2024-07-27T04:01:36Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"gh-2.53.0-bp155.2.12.1.aarch64","product":{"name":"gh-2.53.0-bp155.2.12.1.aarch64","product_id":"gh-2.53.0-bp155.2.12.1.aarch64"}}],"category":"architecture","name":"aarch64"},{"branches":[{"category":"product_version","name":"gh-2.53.0-bp155.2.12.1.i586","product":{"name":"gh-2.53.0-bp155.2.12.1.i586","product_id":"gh-2.53.0-bp155.2.12.1.i586"}}],"category":"architecture","name":"i586"},{"branches":[{"category":"product_version","name":"gh-bash-completion-2.53.0-bp155.2.12.1.noarch","product":{"name":"gh-bash-completion-2.53.0-bp155.2.12.1.noarch","product_id":"gh-bash-completion-2.53.0-bp155.2.12.1.noarch"}},{"category":"product_version","name":"gh-fish-completion-2.53.0-bp155.2.12.1.noarch","product":{"name":"gh-fish-completion-2.53.0-bp155.2.12.1.noarch","product_id":"gh-fish-completion-2.53.0-bp155.2.12.1.noarch"}},{"category":"product_version","name":"gh-zsh-completion-2.53.0-bp155.2.12.1.noarch","product":{"name":"gh-zsh-completion-2.53.0-bp155.2.12.1.noarch","product_id":"gh-zsh-completion-2.53.0-bp155.2.12.1.noarch"}}],"category":"architecture","name":"noarch"},{"branches":[{"category":"product_version","name":"gh-2.53.0-bp155.2.12.1.ppc64le","product":{"name":"gh-2.53.0-bp155.2.12.1.ppc64le","product_id":"gh-2.53.0-bp155.2.12.1.ppc64le"}}],"category":"architecture","name":"ppc64le"},{"branches":[{"category":"product_version","name":"gh-2.53.0-bp155.2.12.1.s390x","product":{"name":"gh-2.53.0-bp155.2.12.1.s390x","product_id":"gh-2.53.0-bp155.2.12.1.s390x"}}],"category":"architecture","name":"s390x"},{"branches":[{"category":"product_version","name":"gh-2.53.0-bp155.2.12.1.x86_64","product":{"name":"gh-2.53.0-bp155.2.12.1.x86_64","product_id":"gh-2.53.0-bp155.2.12.1.x86_64"}}],"category":"architecture","name":"x86_64"},{"branches":[{"category":"product_name","name":"SUSE Package Hub 15 SP5","product":{"name":"SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5"}},{"category":"product_name","name":"openSUSE Leap 15.5","product":{"name":"openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.5"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.aarch64 as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.aarch64"},"product_reference":"gh-2.53.0-bp155.2.12.1.aarch64","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.i586 as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.i586"},"product_reference":"gh-2.53.0-bp155.2.12.1.i586","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.ppc64le as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.ppc64le"},"product_reference":"gh-2.53.0-bp155.2.12.1.ppc64le","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.s390x as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.s390x"},"product_reference":"gh-2.53.0-bp155.2.12.1.s390x","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.x86_64 as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.x86_64"},"product_reference":"gh-2.53.0-bp155.2.12.1.x86_64","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"gh-bash-completion-2.53.0-bp155.2.12.1.noarch as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:gh-bash-completion-2.53.0-bp155.2.12.1.noarch"},"product_reference":"gh-bash-completion-2.53.0-bp155.2.12.1.noarch","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"gh-fish-completion-2.53.0-bp155.2.12.1.noarch as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:gh-fish-completion-2.53.0-bp155.2.12.1.noarch"},"product_reference":"gh-fish-completion-2.53.0-bp155.2.12.1.noarch","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"gh-zsh-completion-2.53.0-bp155.2.12.1.noarch as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:gh-zsh-completion-2.53.0-bp155.2.12.1.noarch"},"product_reference":"gh-zsh-completion-2.53.0-bp155.2.12.1.noarch","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.aarch64 as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.aarch64"},"product_reference":"gh-2.53.0-bp155.2.12.1.aarch64","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.i586 as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.i586"},"product_reference":"gh-2.53.0-bp155.2.12.1.i586","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.ppc64le as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.ppc64le"},"product_reference":"gh-2.53.0-bp155.2.12.1.ppc64le","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.s390x as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.s390x"},"product_reference":"gh-2.53.0-bp155.2.12.1.s390x","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"gh-2.53.0-bp155.2.12.1.x86_64 as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.x86_64"},"product_reference":"gh-2.53.0-bp155.2.12.1.x86_64","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"gh-bash-completion-2.53.0-bp155.2.12.1.noarch as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:gh-bash-completion-2.53.0-bp155.2.12.1.noarch"},"product_reference":"gh-bash-completion-2.53.0-bp155.2.12.1.noarch","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"gh-fish-completion-2.53.0-bp155.2.12.1.noarch as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:gh-fish-completion-2.53.0-bp155.2.12.1.noarch"},"product_reference":"gh-fish-completion-2.53.0-bp155.2.12.1.noarch","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"gh-zsh-completion-2.53.0-bp155.2.12.1.noarch as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:gh-zsh-completion-2.53.0-bp155.2.12.1.noarch"},"product_reference":"gh-zsh-completion-2.53.0-bp155.2.12.1.noarch","relates_to_product_reference":"openSUSE Leap 15.5"}]},"vulnerabilities":[{"cve":"CVE-2024-6104","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-6104"}],"notes":[{"category":"general","text":"go-retryablehttp prior to 0.7.7 did not sanitize urls when writing them to its log file. This could lead to go-retryablehttp writing sensitive HTTP basic auth credentials to its log file. This vulnerability, CVE-2024-6104, was fixed in go-retryablehttp 0.7.7.","title":"CVE description"}],"product_status":{"recommended":["SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.aarch64","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.i586","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.ppc64le","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.s390x","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.x86_64","SUSE Package Hub 15 SP5:gh-bash-completion-2.53.0-bp155.2.12.1.noarch","SUSE Package Hub 15 SP5:gh-fish-completion-2.53.0-bp155.2.12.1.noarch","SUSE Package Hub 15 SP5:gh-zsh-completion-2.53.0-bp155.2.12.1.noarch","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.aarch64","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.i586","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.ppc64le","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.s390x","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.x86_64","openSUSE Leap 15.5:gh-bash-completion-2.53.0-bp155.2.12.1.noarch","openSUSE Leap 15.5:gh-fish-completion-2.53.0-bp155.2.12.1.noarch","openSUSE Leap 15.5:gh-zsh-completion-2.53.0-bp155.2.12.1.noarch"]},"references":[{"category":"external","summary":"CVE-2024-6104","url":"https://www.suse.com/security/cve/CVE-2024-6104"},{"category":"external","summary":"SUSE Bug 1227024 for CVE-2024-6104","url":"https://bugzilla.suse.com/1227024"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.aarch64","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.i586","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.ppc64le","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.s390x","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.x86_64","SUSE Package Hub 15 SP5:gh-bash-completion-2.53.0-bp155.2.12.1.noarch","SUSE Package Hub 15 SP5:gh-fish-completion-2.53.0-bp155.2.12.1.noarch","SUSE Package Hub 15 SP5:gh-zsh-completion-2.53.0-bp155.2.12.1.noarch","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.aarch64","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.i586","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.ppc64le","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.s390x","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.x86_64","openSUSE Leap 15.5:gh-bash-completion-2.53.0-bp155.2.12.1.noarch","openSUSE Leap 15.5:gh-fish-completion-2.53.0-bp155.2.12.1.noarch","openSUSE Leap 15.5:gh-zsh-completion-2.53.0-bp155.2.12.1.noarch"]}],"scores":[{"cvss_v3":{"baseScore":6,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"products":["SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.aarch64","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.i586","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.ppc64le","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.s390x","SUSE Package Hub 15 SP5:gh-2.53.0-bp155.2.12.1.x86_64","SUSE Package Hub 15 SP5:gh-bash-completion-2.53.0-bp155.2.12.1.noarch","SUSE Package Hub 15 SP5:gh-fish-completion-2.53.0-bp155.2.12.1.noarch","SUSE Package Hub 15 SP5:gh-zsh-completion-2.53.0-bp155.2.12.1.noarch","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.aarch64","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.i586","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.ppc64le","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.s390x","openSUSE Leap 15.5:gh-2.53.0-bp155.2.12.1.x86_64","openSUSE Leap 15.5:gh-bash-completion-2.53.0-bp155.2.12.1.noarch","openSUSE Leap 15.5:gh-fish-completion-2.53.0-bp155.2.12.1.noarch","openSUSE Leap 15.5:gh-zsh-completion-2.53.0-bp155.2.12.1.noarch"]}],"threats":[{"category":"impact","date":"2024-07-27T04:01:36Z","details":"moderate"}],"title":"CVE-2024-6104"}]}