SCA: security update for github.com/sylabs/scs-library-client (GHSA-7p8m-22h4-9pj7)

high Tenable Self-Hosted Container Security Plugin ID 412167

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- github.com/sylabs/scs-library-client is the Go client for the Singularity Container Services (SCS)
Container Library Service. When the scs-library-client is used to pull a container image, with
authentication, the HTTP Authorization header sent by the client to the library service may be incorrectly
leaked to an S3 backing storage provider. This occurs in a specific flow, where the library service
redirects the client to a backing S3 storage server, to perform a multi-part concurrent download.
Depending on site configuration, the S3 service may be provided by a third party. An attacker with access
to the S3 service may be able to extract user credentials, allowing them to impersonate the user. The
vulnerable multi-part concurrent download flow, with redirect to S3, is only used when communicating with
a Singularity Enterprise 1.x installation, or third party server implementing this flow. Interaction with
Singularity Enterprise 2.x, and Singularity Container Services (cloud.sylabs.io), does not trigger the
vulnerable flow. We encourage all users to update. Users who interact with a Singularity Enterprise 1.x
installation, using a 3rd party S3 storage service, are advised to revoke and recreate their
authentication tokens within Singularity Enterprise. There is no workaround available at this time.
(CVE-2022-23538)

See Also

https://github.com/advisories/GHSA-7p8m-22h4-9pj7

Plugin Details

Severity: High

ID: 412167

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.9

Percentile: 52.58

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:P/A:N

CVSS Score Source: CVE-2022-23538

CVSS v3

Risk Factor: High

Base Score: 7.6

Temporal Score: 6.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/20/2023

Vulnerability Publication Date: 1/17/2023

Reference Information

CVE: CVE-2022-23538