Vulnerabilities in pkg:golang/github.com/containers/image
PACKAGECVE-2024-3727 is a HIGH (CVSS 8.3) github.com/containers/image allows unexpected authenticated registry vulnerability (CWE-354: Improper Validation of Integrity Check Value) affecting Github.com/containers/image libraries in the Go ecosystem. The issue involves github.com/containers/image allows unexpected authenticated registry accesses. Remediation is available by upgrading affected packages to version 5.30.1, 5.29.3.
pkg:golang/github.com/containers/image
Vulnerability advisories affecting package pkg:golang/github.com/containers/image. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6wvf-f2vw-3425 | CVE-2024-3727 | HIGH | github.com/containers/image allows unexpected authenticated registry accesses |
| GHSA-85p9-j7c9-v4gr | CVE-2019-10214 | MODERATE | containers/image library Insufficiently Protects Credentials |
CVE-2024-3727 at a Glance
Security Impact
CVSS: 8.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2024-3727
To remediate this vulnerability, upgrade all affected Github.com/containers/image dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/containers/image to 5.30.1
Upgrade github.com/containers/image/v5 to 5.30.1
Upgrade github.com/containers/image/v5 to 5.29.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/containers/image
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-3727, inspect your project dependencies for Github.com/containers/image:
inspect dependencies for github.com/containers/image
Analyze the terminal output to locate any version of Github.com/containers/image in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.30.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-354: Improper Validation of Integrity Check Value, where the product does not validate or incorrectly validates the integrity check values or "checksums" of a message. this may prevent it from detecting if the data has been modified or corrupted in transmission. In Github.com/containers/image, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-3727 Affected Github.com/containers/image Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/containers/image
|
Go |
< 5.30.1
|
5.30.1
|
|
github.com/containers/image/v5
|
Go |
≥ 5.30.0
< 5.30.1
|
5.30.1
|
|
github.com/containers/image/v5
|
Go |
< 5.29.3
|
5.29.3
|
References
Frequently Asked Questions
What is CVE-2024-3727?
Which Github.com/containers/image versions are affected?
What version fixes CVE-2024-3727?
Is github.com/containers/image affected?
Is github.com/containers/image/v5 affected?
What is the CVSS score of CVE-2024-3727?
What CWE is associated with CVE-2024-3727?
How can I check Go dependencies for CVE-2024-3727?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6wvf-f2vw-3425",
"modified" : "2025-02-25T18:39:25Z",
"published" : "2024-05-14T18:30:52Z",
"aliases" : [ "CVE-2024-3727" ],
"summary" : "github.com/containers/image allows unexpected authenticated registry accesses",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/image"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.30.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/image/v5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.30.0"
}, {
"fixed" : "5.30.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/image/v5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.29.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-3727"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/image/commit/132678b47bae29c710589012668cb85859d88385"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/image/commit/e8948046055060605bd68289d406ce149590c33a"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:0045"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:9098"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:9102"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:9960"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-3727"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2274767"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-6wvf-f2vw-3425"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/containers/image"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/image/releases/tag/v5.29.3"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/image/releases/tag/v5.30.1"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4HEYS34N55G7NOQZKNEXZKQVNDGEICCD"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6B37TXOKTKDBE2V26X2NSP7JKNMZOFVP"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CYT3D2P3OJKISNFKOOHGY6HCUCQZYAVR"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DLND3YDQQRWVRIUPL2G5UKXP5L3VSBBT"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DTOMYERG5ND4QFDHC4ZSGCED3T3ESRSC"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FBZQ2ZRMFEUQ35235B2HWPSXGDCBZHFV"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GD2GSBQTBLYADASUBHHZV2CZPTSLIPQJ"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QFXMF3VVKIZN7ZMB7PKZCSWV6MOMTGMQ"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SFVSMR7TNLO2KPWJSW4CF64C2QMQXCIN"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:3718"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:4159"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:4613"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:4850"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:4960"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:5258"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:5951"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6054"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6122"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6708"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6818"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:6824"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:7164"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:7174"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:7182"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:7187"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:7922"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:7941"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:8260"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:8425"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:9097"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-354" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T21:38:29Z",
"nvd_published_at" : "2024-05-14T15:42:07Z"
}
}