CVE-2022-23538
User credentials leaked to third-party service via HTTP redirect in scs-library-client
Also known as GHSA-7p8m-22h4-9pj7, GO-2023-1497
Mitigation
- Upgrade github.com/sylabs/scs-library-client to one of 1.4.2, 1.3.4 (or later in the same release line).
Who should check
- Projects that depend on Go package github.com/sylabs/scs-library-client (>= 1.4.0, < 1.4.2)
- Anyone running sylabs scs-library-client < 1.34; >= 1.4.0, < 1.4.2
Vulnerability facts
- Affected
- github.com/sylabs/scs-library-client >= 1.4.0, < 1.4.2
- Fixed in
- 1.4.2, 1.3.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.95% chance of exploitation in 30 days (percentile 60, 2026-11-26)
- CWE
- CWE-522
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/sylabs/scs-library-client | >= 1.4.0, < 1.4.2 | 1.4.2, 1.3.4 | osv |
| sylabs scs-library-client | < 1.34; >= 1.4.0, < 1.4.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-23538. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-23538.md Affected: github.com/sylabs/scs-library-client >= 1.4.0, < 1.4.2 Fixed in: 1.4.2, 1.3.4 Steps: 1. Search this machine and project for github.com/sylabs/scs-library-client (Go), sylabs scs-library-client: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2022-23538 being exploited?
There is no confirmed exploitation: CVE-2022-23538 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.95% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-23538?
Medium: CVSS 5.2 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2022-23538?
github.com/sylabs/scs-library-client >= 1.4.0, < 1.4.2.
Is there a fix for CVE-2022-23538?
Yes. Fixed in 1.4.2, 1.3.4. Upgrade github.com/sylabs/scs-library-client to one of 1.4.2, 1.3.4 (or later in the same release line).
How do I check if I'm affected by CVE-2022-23538?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.