User credentials leaked to third-party service via HTTP redirect in scs-library-client
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure, Spoofing
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-522 and CWE-601.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sylabs | scs-library-client | before 1.34; 1.4.0 to before 1.4.2 | 1.34, 1.4.2 | Patch available | CNA |
| — | github.com/sylabs/scs-library-client (Go) | 1.4.0 to before 1.4.2 | 1.4.2 | Patch available | GHSA-7p8m-22h4-9pj7 |
| — | github.com/sylabs/scs-library-client (Go) | before 1.3.4 | 1.3.4 | Patch available | GHSA-7p8m-22h4-9pj7 |
- scs-library-client Vendorsylabs Affected before 1.34; 1.4.0 to before 1.4.2 Fixed in 1.34, 1.4.2 Patch available CNA
- github.com/sylabs/scs-library-client (Go) Vendor— Affected 1.4.0 to before 1.4.2 Fixed in 1.4.2 Patch available GHSA-7p8m-22h4-9pj7
- github.com/sylabs/scs-library-client (Go) Vendor— Affected before 1.3.4 Fixed in 1.3.4 Patch available GHSA-7p8m-22h4-9pj7
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sylabs:singularity_container_services_library:1.3.2:*:*:*:*:*:*:* | 1.3.2 | Vulnerable | sylabs |
| cpe:2.3:a:sylabs:singularity_container_services_library:1.3.3:*:*:*:*:*:*:* | 1.3.3 | Vulnerable | sylabs |
| cpe:2.3:a:sylabs:singularity_container_services_library:1.4.0:*:*:*:*:*:*:* | 1.4.0 | Vulnerable | sylabs |
| cpe:2.3:a:sylabs:singularity_container_services_library:1.4.1:*:*:*:*:*:*:* | 1.4.1 | Vulnerable | sylabs |
- cpe:2.3:a:sylabs:singularity_container_services_library:1.3.2:*:*:*:*:*:*:* Versions 1.3.2 Vulnerable ·sylabs
- cpe:2.3:a:sylabs:singularity_container_services_library:1.3.3:*:*:*:*:*:*:* Versions 1.3.3 Vulnerable ·sylabs
- cpe:2.3:a:sylabs:singularity_container_services_library:1.4.0:*:*:*:*:*:*:* Versions 1.4.0 Vulnerable ·sylabs
- cpe:2.3:a:sylabs:singularity_container_services_library:1.4.1:*:*:*:*:*:*:* Versions 1.4.1 Vulnerable ·sylabs
Remediation
- Fix · CNA scs-library-client (sylabs) Fixed in 1.34, 1.4.2
- Fix · GHSA-7p8m-22h4-9pj7 github.com/sylabs/scs-library-client (Go) Fixed in 1.4.2 Advisory →
- Fix · GHSA-7p8m-22h4-9pj7 github.com/sylabs/scs-library-client (Go) Fixed in 1.3.4 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-23538
- 2026-10-03 Alias added: GHSA-7p8m-22h4-9pj7
References
Patch 3
Advisory 2
Sources
- CVE-2022-23538 · CVE Program
- CVE-2022-23538 · NVD
- FIRST EPSS
- GHSA-7p8m-22h4-9pj7 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-23538 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences