Directory Traversal Vulnerability in golang-github-appc-docker2aci: Risk of Arbitrary File Write

Summary

27/01/2017
N/A
Yes i
Medium
5.5

CVE-2016-7569: Directory traversal vulnerability in docker2aci before 0.13.0 allows remote attackers to write to arbitrary files via a .. Affects golang-github-appc-docker2aci across 2 version ranges.

< 0.14.0+dfsg-1 < 0cac1a3ecc114941cf643ec25f4daaeee8c3d538

Fixed in 0.14.0+dfsg-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The golang-github-appc-docker2aci package is a tool that facilitates the conversion of Docker images to ACI (Application Container Image) format. It is widely used in containerized environments to ensure compatibility across different container orchestration systems. However, this package has a vulnerability that allows attackers to exploit directory traversal, potentially leading to unauthorized file access and manipulation.

Vulnerability Detail

The vulnerability, identified as CVE-2016-7569, arises from improper handling of embedded layer data in Docker images. By using a '..' (dot dot) sequence, an attacker can traverse directories and write to arbitrary files on the host system. This could lead to significant security risks, including data corruption, unauthorized access to sensitive files, and potential system compromise. The vulnerability affects versions prior to 0.13.0 and has a CVSS score of 5.5, indicating a moderate level of risk.

How To Fix

Minimum fixed version

0.14.0+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade golang-github-appc-docker2aci

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, a temporary workaround is to restrict access to the affected application or limit its execution context to minimize exposure. Additionally, monitor logs for any suspicious activity that may indicate attempts to exploit this vulnerability.

Conclusion

The directory traversal vulnerability in golang-github-appc-docker2aci poses a significant risk to systems using this package. Immediate action is required to upgrade to a secure version to prevent potential exploitation. Utilizing tools like Vulert can enhance your security posture by providing real-time vulnerability monitoring.

See every vulnerability recorded for golang-github-appc-docker2aci →

Share this vulnerability

FAQ

CVE-2016-7569 is a directory traversal vulnerability in the golang-github-appc-docker2aci package that allows attackers to write to arbitrary files.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The risks include unauthorized file access, data corruption, and potential system compromise due to arbitrary file writes.

It is recommended to upgrade to version 0.14.0+dfsg-1 or later to mitigate the vulnerability.

Yes, using tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software.

Related vulnerabilities

Recent vulnerabilities recorded for golang-github-appc-docker2aci.

How To Fix

Minimum fixed version

0.14.0+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade golang-github-appc-docker2aci

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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