CVE-2022-23538 json
User credentials leaked to third-party service via HTTP redirect in scs-library-client
published 2023-01-17 3 y ago modified 2026-06-17 4 mo ago also GHSA-7p8m-22h4-9pj7 , GO-2023-1497 , EUVD-2023-0392
- cvss
- 5.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/sylabs/scs-library-client 1.3.4, 1.4.2
- singularity-ce openSUSE Tumbleweed 4.1.3-1.1
- apptainer openSUSE Tumbleweed 1.1.6-1.1
opensuse advisories openSUSE-SU-2024:14059-1openSUSE-SU-2024:12694-1
- apptainer Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 1.1.6-r0
alpine advisories ALPINE-CVE-2022-23538
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-23538 updated cvss 5.2
scs-library-client: User credentials leaked to third-party service via HTTP redirect
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N |
| NVD | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| GitHub | 3.1 | 5.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/sylabs/scs-library-client | >=1.4.0, <1.4.2 <1.3.4 |
1.4.2 1.3.4 |
Affected products
- sylabs scs-library-client
Classification
References
-
github.com
/sylabs/scs-library-client/commit/68ac4cab5cda0afd8758ff5b5e2e57be6a22fcfa
web, patch, third-party-advisory
-
github.com
/sylabs/scs-library-client/commit/b5db2aacba6bf1231f42dd475cc32e6355ab47b2
web, patch, third-party-advisory
-
github.com
/sylabs/scs-library-client/commit/eebd7caaab310b1fa803e55b8fc1acd9dcd2d00c
web, patch, third-party-advisory
-
github.com
/sylabs/scs-library-client/security/advisories/GHSA-7p8m-22h4-9pj7
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23538
advisory
-
github.com
/sylabs/scs-library-client
package
-
pkg.go.dev
/vuln/GO-2023-1497
web
Sources
- CVE List CVE-2022-23538
- GitHub Advisory GHSA-7p8m-22h4-9pj7
- NVD CVE-2022-23538
- OSV GO-2023-1497
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.