CVE-2024-3727: Containers/image: digest type does not guarantee valid type

Published Apr 12, 2024
·
Updated

A flaw was found in the github.com/containers/image library. This flaw allows attackers to trigger unexpected authenticated registry accesses on behalf of a victim user, causing resource exhaustion, local path traversal, and other attacks.

Other sources

Containers/image: digest type does not guarantee valid type

Microsoft

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

Red Hat

Affected Software

19 affected componentsFixes available
go/github.com/containers/image/v5<5.29.3
5.29.3
go/github.com/containers/image/v5>=5.30.0<5.30.1
5.30.1
go/github.com/containers/image<5.30.1
5.30.1
IBM Edge Application Manager<=4.5
Microsoft azl3 skopeo 1.14.1-1
Microsoft cbl2 skopeo 1.14.2-10
Microsoft cbl2 cri-o 1.22.3-14
Microsoft cbl2 containerized-data-importer 1.55.0-23
Microsoft azl3 containerized-data-importer 1.57.0-14
Microsoft azl3 libcontainers-common 20240213-3
Microsoft cbl2 libcontainers-common 20210626-7
Microsoft azl3 libcontainers-common 20240213-2
Microsoft azl3 containerized-data-importer 1.57.0-2
Microsoft azl3 skopeo 1.14.4-1
Microsoft cbl2 cri-o 1.22.3-3
Microsoft cbl2 containerized-data-importer 1.55.0-19
Microsoft azl3 ig 0.25.0-2
Microsoft cbl2 skopeo 1.14.2-4
Microsoft azl3 ig 0.29.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/containers/image/v5 to a version that resolves this vulnerability.

    Fixed in 5.29.3
  2. Upgrade

    Upgrade go/github.com/containers/image/v5 to a version that resolves this vulnerability.

    Fixed in 5.30.1
  3. Upgrade

    Upgrade go/github.com/containers/image to a version that resolves this vulnerability.

    Fixed in 5.30.1

Event History

Apr 12, 2024
Data Sourced
via Red Hat·06:25 PM
DescriptionSeverityAffected Software
May 9, 2024
CVE Published
via MITRE·02:57 PM
Data Sourced
via MITRE·02:57 PM
DescriptionSeverityWeakness
May 14, 2024
Data Sourced
via NVD·03:42 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 PM
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
DescriptionSeverity
Aug 20, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 21, 58110
Event
via GitHub·10:22 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-3727?

CVE-2024-3727 has a high severity rating due to its potential for resource exhaustion and local path traversal attacks.

2

How do I fix CVE-2024-3727?

To fix CVE-2024-3727, update the github.com/containers/image library to version 5.29.3 or 5.30.1 or later.

3

What types of attacks can be performed using CVE-2024-3727?

CVE-2024-3727 can be exploited to trigger unexpected authenticated registry accesses, leading to resource exhaustion and local path traversal.

4

Which versions of github.com/containers/image are affected by CVE-2024-3727?

CVE-2024-3727 affects versions prior to 5.29.3 and between 5.30.0 and 5.30.1 of github.com/containers/image.

5

Is user authentication required for exploiting CVE-2024-3727?

Yes, exploitation of CVE-2024-3727 requires authenticated user access to the affected registry.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203