Bug 1224114

Summary: VUL-0: CVE-2024-3727: apptainer: containers/image: digest type does not guarantee valid type
Product: [Novell Products] SUSE Security Incidents Reporter: Camila Camargo de Matos <camila.matos>
Component: IncidentsAssignee: HPC Issue Tracker <hpc-bugs>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: camila.matos, cgoll, security-team, smash_bz
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/404878/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1224112    

Description Camila Camargo de Matos 2024-05-10 11:31:39 UTC
+++ This bug was initially created as a clone of Bug #1224112 +++

The digest values, handled by the Go library github.com/opencontainers/go-digest and used throughout the Go-implemented containers ecosystem, are not always validated. That allows attackers to trigger unexpected authenticated registry accesses on behalf of a victim user, resource exhaustion, local path traversal and other attacks.

References:

https://issues.redhat.com/browse/OCPBUGS-25269

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-3727
https://bugzilla.redhat.com/show_bug.cgi?id=2274767
Comment 1 Camila Camargo de Matos 2024-05-10 11:32:48 UTC
The github.com/containers/image module is embedded in apptainer. A fix for this issue can be found here: https://github.com/containers/image/pull/2403.
Comment 3 OBSbugzilla Bot 2024-05-13 13:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1224114) was mentioned in
https://build.opensuse.org/request/show/1173668 Factory / apptainer
Comment 5 OBSbugzilla Bot 2024-05-15 14:05:03 UTC
This is an autogenerated message for OBS integration:
This bug (1224114) was mentioned in
https://build.opensuse.org/request/show/1174257 Backports:SLE-15-SP5 / apptainer