Resource Exhaustion and Path Traversal Vulnerability in golang-github-containers-image Library

Summary

14/05/2024
N/A
No i
Unrated
Not published

CVE-2024-3727: A flaw was found in the github.com/containers/image library. Affects golang-github-containers-image versions 5.10.3-1 – 5.34.2-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The golang-github-containers-image library is a crucial component used for handling container images in various applications. It provides functionalities for image management, including pulling, pushing, and manipulating container images. This library is widely utilized in container orchestration and deployment tools, making its security paramount. The vulnerability in question exposes users to potential attacks that can exploit authenticated registry accesses.

Vulnerability Detail

A flaw was discovered in the golang-github-containers-image library, allowing attackers to trigger unexpected authenticated registry accesses on behalf of a victim user. This vulnerability can lead to resource exhaustion, local path traversal, and various other attacks. The issue arises from improper handling of authentication and access controls, which can be exploited by malicious actors to gain unauthorized access to resources.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing strict access controls and monitoring authenticated registry accesses to mitigate potential exploitation until the library can be updated.

Conclusion

The CVE-2024-3727 vulnerability in the golang-github-containers-image library poses significant risks, including resource exhaustion and unauthorized access. It is crucial for users to update to the latest version to mitigate these risks effectively. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for golang-github-containers-image →

Share this vulnerability

FAQ

CVE-2024-3727 is a vulnerability in the golang-github-containers-image library that allows attackers to exploit authenticated registry accesses, leading to resource exhaustion and local path traversal.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The impacts include unauthorized access to resources, potential data leaks, and denial of service due to resource exhaustion.

Yes, a patch is available in version 5.29.3-1 of the golang-github-containers-image library. Updating to this version will resolve the vulnerability.

If you cannot update immediately, implement strict access controls and monitor registry accesses to minimize the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for golang-github-containers-image.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback