Bug 1224124

Summary: VUL-0: CVE-2024-3727: warewulf4: 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 12:23:37 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 12:23:57 UTC
The github.com/containers/image module is embedded in warewulf4. A fix for this issue can be found here: https://github.com/containers/image/pull/2403.
Comment 3 OBSbugzilla Bot 2024-05-14 09:45:02 UTC
This is an autogenerated message for OBS integration:
This bug (1224124) was mentioned in
https://build.opensuse.org/request/show/1173930 Factory / warewulf4
Comment 6 Maintenance Automation 2024-05-29 16:30:05 UTC
SUSE-SU-2024:1838-1: An update that solves one vulnerability and has two security fixes can now be installed.

Category: security (important)
Bug References: 1216994, 1224124, 1225402
CVE References: CVE-2024-3727
Maintenance Incident: [SUSE:Maintenance:33830](https://smelt.suse.de/incident/33830/)
Sources used:
openSUSE Leap 15.5 (src):
 warewulf4-4.5.2-150500.6.13.1
openSUSE Leap 15.6 (src):
 warewulf4-4.5.2-150500.6.13.1
HPC Module 15-SP5 (src):
 warewulf4-4.5.2-150500.6.13.1
HPC Module 15-SP6 (src):
 warewulf4-4.5.2-150500.6.13.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.