CVE-2017-9671 Memory corruption in n/a

High 7.8 Published Updated

A heap overflow in Alpine Linux's apk tool allows remote attackers to execute code or cause denial of service via a malicious package index file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-9671?

CVE-2017-9671 is a high-severity memory corruption vulnerability in n/a, published on 17 Jul 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A heap overflow in apk (Alpine Linux's package manager) allows a remote attacker to cause a denial of service, or achieve code execution, by crafting a malicious APKINDEX.tar.gz file with a bad pax header block.

Weakness: CWE-119

Which versions are affected by CVE-2017-9671?

It affects 1 product.

Products include Alpinelinux Alpine Linux.

How do I fix CVE-2017-9671?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-9671 being exploited?

There is no known exploitation of CVE-2017-9671 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2017-9671, GHSA-q28j-p5jw-p6mm.

Is CVE-2017-9671 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free