opensuse-su-2024:0226-1
Vulnerability from csaf_opensuse
Published
2024-07-27 04:01
Modified
2024-07-27 04:01
Summary
Security update for gh
Notes
Title of the patch
Security update for gh
Description of the patch
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_root` test due to https://github.com/cli/cli/issues/8928
* Rename package directory and files
* Rename package name to `update_branch`
* Rename `gh pr update` to `gh 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 `Mergeable` field values
* Add separate type for `PullRequest.Mergeable` field
* 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 create` to 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 `createdAt` field to tests
* Add `createdAt` field to `Variable` type
* 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 `--json` option support
* Use `Variable` type defined in `shared` package
* Add tests for JSON output
* Move `Variable` type and `PopulateSelectedRepositoryInformation` func 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 `ComparePullRequestBaseBranchWith` function
* Run `go mod tidy`
* Add test to verify `--repo` requires non-empty selector
* Require non-empty selector when `--repo` override is used
* Run `go mod tidy`
* Register `update` command
* Add tests for `pr update` command
* Add `pr update` command
* Add `UpdatePullRequestBranch` method
* 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 `-a` flag to `gh run list`
Patchnames
openSUSE-2024-226
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{ "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 * Enable to use --web even though editor is enabled by config\n * Add editor hint message\n * Use prefer_editor_prompt config by `issue create`\n * Add prefer_editor_prompt config\n * Add `issue create --editor`\n * Update create.go\n * gh attestation trusted-root subcommand (#9206)\n * Fetch variable selected repo relationship when required\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-226", "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_0226-1.json" }, { "category": "self", "summary": "URL for openSUSE-SU-2024:0226-1", "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JZM3Q2GOCY2XWQUP7VK2V2KZENX5UIAN/" }, { "category": "self", "summary": "E-Mail link for openSUSE-SU-2024:0226-1", "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JZM3Q2GOCY2XWQUP7VK2V2KZENX5UIAN/" }, { "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:34Z", "generator": { "date": "2024-07-27T04:01:34Z", "engine": { "name": "cve-database.git:bin/generate-csaf.pl", "version": "1" } }, "id": "openSUSE-SU-2024:0226-1", "initial_release_date": "2024-07-27T04:01:34Z", "revision_history": [ { "date": "2024-07-27T04:01:34Z", "number": "1", "summary": "Current version" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_version", "name": "gh-2.53.0-bp156.2.6.1.aarch64", "product": { "name": "gh-2.53.0-bp156.2.6.1.aarch64", "product_id": "gh-2.53.0-bp156.2.6.1.aarch64" } } ], "category": "architecture", "name": "aarch64" }, { "branches": [ { "category": "product_version", "name": "gh-2.53.0-bp156.2.6.1.i586", "product": { "name": "gh-2.53.0-bp156.2.6.1.i586", "product_id": "gh-2.53.0-bp156.2.6.1.i586" } } ], "category": "architecture", "name": "i586" }, { "branches": [ { "category": "product_version", "name": "gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "product": { "name": "gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "product_id": "gh-bash-completion-2.53.0-bp156.2.6.1.noarch" } }, { "category": "product_version", "name": "gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "product": { "name": "gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "product_id": "gh-fish-completion-2.53.0-bp156.2.6.1.noarch" } }, { "category": "product_version", "name": "gh-zsh-completion-2.53.0-bp156.2.6.1.noarch", "product": { "name": "gh-zsh-completion-2.53.0-bp156.2.6.1.noarch", "product_id": "gh-zsh-completion-2.53.0-bp156.2.6.1.noarch" } } ], "category": "architecture", "name": "noarch" }, { "branches": [ { "category": "product_version", "name": "gh-2.53.0-bp156.2.6.1.ppc64le", "product": { "name": "gh-2.53.0-bp156.2.6.1.ppc64le", "product_id": "gh-2.53.0-bp156.2.6.1.ppc64le" } } ], "category": "architecture", "name": "ppc64le" }, { "branches": [ { "category": "product_version", "name": "gh-2.53.0-bp156.2.6.1.s390x", "product": { "name": "gh-2.53.0-bp156.2.6.1.s390x", "product_id": "gh-2.53.0-bp156.2.6.1.s390x" } } ], "category": "architecture", "name": "s390x" }, { "branches": [ { "category": "product_version", "name": "gh-2.53.0-bp156.2.6.1.x86_64", "product": { "name": "gh-2.53.0-bp156.2.6.1.x86_64", "product_id": "gh-2.53.0-bp156.2.6.1.x86_64" } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_name", "name": "SUSE Package Hub 15 SP6", "product": { "name": "SUSE Package Hub 15 SP6", "product_id": "SUSE Package Hub 15 SP6" } }, { "category": "product_name", "name": "openSUSE Leap 15.6", "product": { "name": "openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6", "product_identification_helper": { "cpe": "cpe:/o:opensuse:leap:15.6" } } } ], "category": "product_family", "name": "SUSE Linux Enterprise" } ], "category": "vendor", "name": "SUSE" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.aarch64 as component of SUSE Package Hub 15 SP6", "product_id": "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.aarch64" }, "product_reference": "gh-2.53.0-bp156.2.6.1.aarch64", "relates_to_product_reference": "SUSE Package Hub 15 SP6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.i586 as component of SUSE Package Hub 15 SP6", "product_id": "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.i586" }, "product_reference": "gh-2.53.0-bp156.2.6.1.i586", "relates_to_product_reference": "SUSE Package Hub 15 SP6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.ppc64le as component of SUSE Package Hub 15 SP6", "product_id": "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.ppc64le" }, "product_reference": "gh-2.53.0-bp156.2.6.1.ppc64le", "relates_to_product_reference": "SUSE Package Hub 15 SP6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.s390x as component of SUSE Package Hub 15 SP6", "product_id": "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.s390x" }, "product_reference": "gh-2.53.0-bp156.2.6.1.s390x", "relates_to_product_reference": "SUSE Package Hub 15 SP6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.x86_64 as component of SUSE Package Hub 15 SP6", "product_id": "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.x86_64" }, "product_reference": "gh-2.53.0-bp156.2.6.1.x86_64", "relates_to_product_reference": "SUSE Package Hub 15 SP6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-bash-completion-2.53.0-bp156.2.6.1.noarch as component of SUSE Package Hub 15 SP6", "product_id": "SUSE Package Hub 15 SP6:gh-bash-completion-2.53.0-bp156.2.6.1.noarch" }, "product_reference": "gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "relates_to_product_reference": "SUSE Package Hub 15 SP6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-fish-completion-2.53.0-bp156.2.6.1.noarch as component of SUSE Package Hub 15 SP6", "product_id": "SUSE Package Hub 15 SP6:gh-fish-completion-2.53.0-bp156.2.6.1.noarch" }, "product_reference": "gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "relates_to_product_reference": "SUSE Package Hub 15 SP6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-zsh-completion-2.53.0-bp156.2.6.1.noarch as component of SUSE Package Hub 15 SP6", "product_id": "SUSE Package Hub 15 SP6:gh-zsh-completion-2.53.0-bp156.2.6.1.noarch" }, "product_reference": "gh-zsh-completion-2.53.0-bp156.2.6.1.noarch", "relates_to_product_reference": "SUSE Package Hub 15 SP6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.aarch64 as component of openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.aarch64" }, "product_reference": "gh-2.53.0-bp156.2.6.1.aarch64", "relates_to_product_reference": "openSUSE Leap 15.6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.i586 as component of openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.i586" }, "product_reference": "gh-2.53.0-bp156.2.6.1.i586", "relates_to_product_reference": "openSUSE Leap 15.6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.ppc64le as component of openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.ppc64le" }, "product_reference": "gh-2.53.0-bp156.2.6.1.ppc64le", "relates_to_product_reference": "openSUSE Leap 15.6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.s390x as component of openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.s390x" }, "product_reference": "gh-2.53.0-bp156.2.6.1.s390x", "relates_to_product_reference": "openSUSE Leap 15.6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-2.53.0-bp156.2.6.1.x86_64 as component of openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.x86_64" }, "product_reference": "gh-2.53.0-bp156.2.6.1.x86_64", "relates_to_product_reference": "openSUSE Leap 15.6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-bash-completion-2.53.0-bp156.2.6.1.noarch as component of openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6:gh-bash-completion-2.53.0-bp156.2.6.1.noarch" }, "product_reference": "gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "relates_to_product_reference": "openSUSE Leap 15.6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-fish-completion-2.53.0-bp156.2.6.1.noarch as component of openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6:gh-fish-completion-2.53.0-bp156.2.6.1.noarch" }, "product_reference": "gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "relates_to_product_reference": "openSUSE Leap 15.6" }, { "category": "default_component_of", "full_product_name": { "name": "gh-zsh-completion-2.53.0-bp156.2.6.1.noarch as component of openSUSE Leap 15.6", "product_id": "openSUSE Leap 15.6:gh-zsh-completion-2.53.0-bp156.2.6.1.noarch" }, "product_reference": "gh-zsh-completion-2.53.0-bp156.2.6.1.noarch", "relates_to_product_reference": "openSUSE Leap 15.6" } ] }, "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 SP6:gh-2.53.0-bp156.2.6.1.aarch64", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.i586", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.ppc64le", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.s390x", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.x86_64", "SUSE Package Hub 15 SP6:gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "SUSE Package Hub 15 SP6:gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "SUSE Package Hub 15 SP6:gh-zsh-completion-2.53.0-bp156.2.6.1.noarch", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.aarch64", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.i586", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.ppc64le", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.s390x", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.x86_64", "openSUSE Leap 15.6:gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "openSUSE Leap 15.6:gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "openSUSE Leap 15.6:gh-zsh-completion-2.53.0-bp156.2.6.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 SP6:gh-2.53.0-bp156.2.6.1.aarch64", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.i586", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.ppc64le", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.s390x", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.x86_64", "SUSE Package Hub 15 SP6:gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "SUSE Package Hub 15 SP6:gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "SUSE Package Hub 15 SP6:gh-zsh-completion-2.53.0-bp156.2.6.1.noarch", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.aarch64", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.i586", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.ppc64le", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.s390x", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.x86_64", "openSUSE Leap 15.6:gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "openSUSE Leap 15.6:gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "openSUSE Leap 15.6:gh-zsh-completion-2.53.0-bp156.2.6.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 SP6:gh-2.53.0-bp156.2.6.1.aarch64", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.i586", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.ppc64le", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.s390x", "SUSE Package Hub 15 SP6:gh-2.53.0-bp156.2.6.1.x86_64", "SUSE Package Hub 15 SP6:gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "SUSE Package Hub 15 SP6:gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "SUSE Package Hub 15 SP6:gh-zsh-completion-2.53.0-bp156.2.6.1.noarch", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.aarch64", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.i586", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.ppc64le", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.s390x", "openSUSE Leap 15.6:gh-2.53.0-bp156.2.6.1.x86_64", "openSUSE Leap 15.6:gh-bash-completion-2.53.0-bp156.2.6.1.noarch", "openSUSE Leap 15.6:gh-fish-completion-2.53.0-bp156.2.6.1.noarch", "openSUSE Leap 15.6:gh-zsh-completion-2.53.0-bp156.2.6.1.noarch" ] } ], "threats": [ { "category": "impact", "date": "2024-07-27T04:01:34Z", "details": "moderate" } ], "title": "CVE-2024-6104" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…