Lucene search
+L

openSUSE 16 Security Update : gh (openSUSE-SU-2026:21663-1)

🗓️ 28 Aug 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 5 Views

openSUSE 16 security update for gh to version 2.98.0 fixing multiple vulnerabilities.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The package checks in this plugin were extracted from
# openSUSE Security Update openSUSE-SU-2026:21663-1. The text itself
# is copyright (C) SUSE.
##

include('compat.inc');

if (description)
{
  script_id(341162);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/08/28");

  script_cve_id(
    "CVE-2026-39821",
    "CVE-2026-64652",
    "CVE-2026-64653",
    "CVE-2026-64654",
    "CVE-2026-64655"
  );

  script_name(english:"openSUSE 16 Security Update : gh (openSUSE-SU-2026:21663-1)");

  script_set_attribute(attribute:"synopsis", value:
"The remote openSUSE host is missing one or more security updates.");
  script_set_attribute(attribute:"description", value:
"The remote openSUSE 16 host has packages installed that are affected by multiple vulnerabilities as referenced in the
openSUSE-SU-2026:21663-1 advisory.

    Changes in gh:

    - Update to version 2.98.0:
      * chore: fix extra whitespace
      * Default Codespaces port forwarding to loopback
      * Bump gh-aw-actions to v0.87.1 and recompile workflows
      * Fix issue triage action compatibility
      * chore(deps): bump golang.org/x/crypto from 0.54.0 to 0.55.0
      * chore: bump go to 1.26.7 (#14205)
      * chore(deps): bump the codeql-actions group across 1 directory with 3 updates
      * chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.1
      * Revert ci: add temporary step to verify Linux repo signing keys
      * ci: add temporary step to verify Linux repo signing keys
      * Accept pre-release tags in deployment validation (#14193)
      * chore: sign APT repositories with both keys
      * chore(deps): bump charm.land/lipgloss/v2 from 2.0.5 to 2.0.6
      * chore(deps): bump the aw-actions group with 2 updates
      * chore(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2
      * Bump Go to 1.26.6
      * Upgrade gh-aw workflows to v0.85.4
      * chore(deps): bump github.com/google/go-containerregistry
      * chore(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12
      * Address review: drop cleanup markers, document search-type in skill
      * Reconcile feature detection cleanup comment rules in AGENTS.md
      * Update AGENTS.md with cleanup comment guidance
      * Address review feedback
      * Add --search-type flag for semantic and hybrid issue search
      * Rename config mock constructors to match repo convention
      * Document when to use the config mock or the isolated config
      * Accept config content in NewIsolatedTestConfig
      * Clear auth environment variables in isolated test config
      * Isolate git config in tests that shell out to git
      * Rename config stub file to test.go
      * chore(deps): bump the aw-actions group with 2 updates
      * Add aw-actions group to dependabot configuration
      * Rename cli-code-reviewer skill to code-review (#14116)
      * chore(deps): bump github/gh-aw-actions/setup-cli from 0.83.4 to 0.85.4
      * Reduce item-add test diff
      * Isolate item-add test mocks
      * Test item-add output through command path
      * Run lint workflow when the lint workflow changes
      * Bump golangci-lint in CI to v2.12.2
      * Clarify PR testing section expectations
      * chore(deps): bump the codeql-actions group across 1 directory with 3 updates
      * chore(deps): bump azure/login from 3.0.0 to 3.0.1
      * chore(deps): bump actions/attest from 4.2.1 to 4.2.2
      * Use reflect.Pointer instead of deprecated reflect.Ptr
      * Add a scheduled tech debt burndown skill (#14095)
      * Restore automatic spam issue closure (#14088)
      * Give Dependabot triage a real reachability check (#14087)
      * Route release deletions through api.Client (#14077)
      * chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.0
      * chore(deps): bump github.com/google/go-containerregistry
      * Grant the gate the scopes its CI read needs
      * Keep pre-flight dedup out of the integrity proxy
      * Key direct/indirect off the // indirect comment
      * Gate triager confidence on required evidence
      * Gate Dependabot triage on deterministic pre-flight check
      * Set GH_EXTENSION=1 when gh invokes an extension
      * Tell agents to use the PR template in AGENTS.md
      * Merge pull request #14062 from cli/williammartin-wp-08-release-create
      * Route extension requests through api.Client (#14059)
      * Route autolink requests through api.Client (#14013)
      * chore(deps): bump the codeql-actions group across 1 directory with 3 updates
      * fix(release create): trim spaces when parsing X-Oauth-Scopes
      * Match worktree rev-parse stub against absolute path on Windows
      * fix(pr/checkout): pass -- before worktree path so dash paths work
      * docs(pr/checkout): add worktree usage example to help text
      * docs(skills): mention pr checkout worktree support
      * chore(pr checkout): polish worktree related tests
      * Route gpg key requests through api.Client (#13997)
      * Use generated key in ssh-key acceptance test
      * Route ssh key requests through api.Client
      * Fix item-add output for non-TTY
      * test(pr/checkout): add acceptance tests for worktree checkout
      * chore(deps): bump actions/attest from 4.2.0 to 4.2.1
      * chore(deps): bump github.com/sigstore/sigstore-go from 1.2.2 to 1.3.0
      * Generate unique acceptance SSH keys
      * Route deploy key requests through api.Client
      * Collapse spam triage into the agentic issue-triage workflow (#14027)
      * Run Dependabot triage hourly
      * chore(deps): bump github.com/yuin/goldmark from 1.8.4 to 1.8.5
      * Require explicit PR review ownership (#14028)
      * Slim down dependabot triage comments (#14019)
      * Wrap RESTWithNext errors as api.HTTPError
      * Bail out early on unusable --worktree paths
      * Clarify current-worktree rejection message
      * Return ok bool from revParseFacts to satisfy nilerr
      * Drop docs on self-explanatory worktree helpers
      * Trim redundant comments and clarify worktree field names
      * Resolve worktree target once instead of re-querying git
      * Fix worktree toplevel stub to match Windows absolute paths
      * Detect worktrees via git rev-parse and reject the current worktree
      * Address review: restore TODO, flatten detachCmds, guard worktree symlink
      * Cover detach-reuse, worktree fetch dir, and symlink path resolution
      * Harden worktree submodule prefixing and cover cmd.Dir stripping
      * Create branch when reusing a worktree with a new --branch name
      * Extract authenticatedCommand helper to dedupe -C handling
      * Preserve no-force safety when reusing a worktree for fork PRs
      * Simplify submodule worktree prefix to inline conditional
      * Run submodule commands inside the worktree for pr checkout
      * tidying..
      * Refine PR checkout worktree flag help
      * Add --worktree flag to gh pr checkout

    - CVE-2026-39821: golang.org/x/net/idna: failure to reject ASCII-only
      Punycode-encoded labels allows for validation bypass and privilege
      escalation (bsc#1266618).

    - Update to version 2.97.0, fixing four security issues (CVE-2026-64654, bsc#1276662,
      CVE-2026-64653, bsc#1276664, CVE-2026-64652, bsc#1276663, CVE-2026-64655, bsc#1276661):
      * CVE-2026-64654: terminal escape sequence injection in gist view, api,
        pr diff, release download --output -, codespace logs, skills preview
        and agent-task view/create
      * CVE-2026-64653: unescaped variable path components in request URLs
        could redirect gh to a different resource than intended
      * CVE-2026-64652: gh auth status could print part of the auth token in
        plaintext for token types with an underscore after the prefix
      * CVE-2026-64655: gh attestation verify built its --signer-repo/
        --signer-workflow matcher without escaping regex metacharacters,
        allowing a lookalike signer to pass verification
      * Add named field columns to gh project item-list and item-edit

Tenable has extracted the preceding description block directly from the SUSE security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://bugzilla.suse.com/1266618");
  script_set_attribute(attribute:"see_also", value:"https://bugzilla.suse.com/1276661");
  script_set_attribute(attribute:"see_also", value:"https://bugzilla.suse.com/1276662");
  script_set_attribute(attribute:"see_also", value:"https://bugzilla.suse.com/1276663");
  script_set_attribute(attribute:"see_also", value:"https://bugzilla.suse.com/1276664");
  script_set_attribute(attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2026-39821");
  script_set_attribute(attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2026-64652");
  script_set_attribute(attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2026-64653");
  script_set_attribute(attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2026-64654");
  script_set_attribute(attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2026-64655");
  script_set_attribute(attribute:"solution", value:
"Update the affected gh, gh-bash-completion, gh-fish-completion and / or gh-zsh-completion packages.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:U");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-39821");
  script_set_attribute(attribute:"cvss4_score_source", value:"CVE-2026-64654");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/05/12");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/08/26");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/08/28");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gh");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gh-bash-completion");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gh-fish-completion");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:gh-zsh-completion");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:16.0");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"SuSE Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list");

  exit(0);
}


include('rpm.inc');

if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_release = get_kb_item('Host/SuSE/release');
if (isnull(os_release) || os_release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, 'openSUSE');
var _os_ver = pregmatch(pattern: "^SUSE([\d.]+)", string:os_release);
if (isnull(_os_ver)) audit(AUDIT_UNKNOWN_APP_VER, 'openSUSE');
_os_ver = _os_ver[1];
if (os_release !~ "^(SUSE16\.0)$") audit(AUDIT_OS_RELEASE_NOT, 'openSUSE', '16.0', os_release);
if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);

var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$" && 's390' >!< cpu && 'aarch64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'openSUSE ' + _os_ver, cpu);

var pkgs = [
    {'reference':'gh-2.98.0-bp160.1.1', 'release':'SUSE16.0', 'rpm_spec_vers_cmp':TRUE},
    {'reference':'gh-bash-completion-2.98.0-bp160.1.1', 'release':'SUSE16.0', 'rpm_spec_vers_cmp':TRUE},
    {'reference':'gh-fish-completion-2.98.0-bp160.1.1', 'release':'SUSE16.0', 'rpm_spec_vers_cmp':TRUE},
    {'reference':'gh-zsh-completion-2.98.0-bp160.1.1', 'release':'SUSE16.0', 'rpm_spec_vers_cmp':TRUE}
];

var flag = 0;
foreach package_array ( pkgs ) {
  var reference = NULL;
  var _release = NULL;
  var _cpu = NULL;
  var rpm_spec_vers_cmp = NULL;
  if (!empty_or_null(package_array['reference'])) reference = package_array['reference'];
  if (!empty_or_null(package_array['release'])) _release = package_array['release'];
  if (!empty_or_null(package_array['cpu'])) cpu = package_array['cpu'];
  if (!empty_or_null(package_array['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = package_array['rpm_spec_vers_cmp'];
  if (reference && _release) {
    if (rpm_check(release:_release, cpu:_cpu, reference:reference, rpm_spec_vers_cmp:rpm_spec_vers_cmp)) flag++;
  }
}

if (flag)
{
  security_report_v4(
      port       : 0,
      severity   : SECURITY_HOLE,
      extra      : rpm_report_get()
  );
  exit(0);
}
else
{
  var tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'gh / gh-bash-completion / gh-fish-completion / gh-zsh-completion');
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Aug 2026 00:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 3.19.6
CVSS 45.3
EPSS0.00746
SSVC
5