apk 2.5.0_rc1 on Alpine Package APKINDEX.tar.gz memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in apk 2.5.0_rc1 on Alpine. This impacts an unknown function of the file APKINDEX.tar.gz of the component Package Handler. The manipulation results in memory corruption. This vulnerability was named CVE-2017-9669. The attack may be performed from remote. There is no available exploit.
Details
A vulnerability, which was classified as critical, was found in apk 2.5.0_rc1 on Alpine. Affected is some unknown functionality of the file APKINDEX.tar.gz of the component Package Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The bug was discovered 06/25/2017. The weakness was presented 07/17/2017 by Ariel Zelivansky (oss-sec). The advisory is shared for download at openwall.com. This vulnerability is traded as CVE-2017-9669 since 06/15/2017. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 22 days. During that time the estimated underground price was around $0-$5k. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370591 (Alpine Linux Alpine Package Manager (APK) Remote Code Execution Vulnerabilities).
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 99340†). See VDB-103729 for similar entry. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.0VulDB Meta Temp Score: 7.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
06/15/2017 🔍06/25/2017 🔍
06/25/2017 🔍
07/17/2017 🔍
07/17/2017 🔍
07/18/2017 🔍
11/09/2019 🔍
Sources
Advisory: openwall.comResearcher: Ariel Zelivansky
Status: Confirmed
CVE: CVE-2017-9669 (🔍)
GCVE (CVE): GCVE-0-2017-9669
GCVE (VulDB): GCVE-100-103728
SecurityFocus: 99340 - apk Multiple Heap Buffer Overflow Vulnerabilities
See also: 🔍
Entry
Created: 07/18/2017 11:22Updated: 11/09/2019 17:36
Changes: 07/18/2017 11:22 (60), 11/09/2019 17:36 (7)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.