{"id":"ALPINE-CVE-2017-9671","details":"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.","modified":"2026-03-09T01:10:39.005367Z","published":"2017-07-17T21:29:00.777Z","upstream":["CVE-2017-9671"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-9671"}],"affected":[{"package":{"name":"apk-tools","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/apk-tools?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.2-r0"}]}],"versions":["2.0-r0","2.0-r1","2.0.1-r0","2.0.2-r0","2.0.2-r1","2.0.2-r2","2.0.2-r3","2.0.2-r4","2.0.2-r5","2.0.2-r6","2.0.3-r0","2.0.3-r1","2.0.4-r0","2.0.5-r0","2.0.5-r1","2.0.5-r2","2.0.5-r3","2.0.6-r0","2.0.6-r1","2.0.6-r2","2.0.7-r0","2.0.7-r1","2.0.7-r2","2.0.7-r3","2.0.7-r4","2.0.7-r5","2.0.7-r6","2.0.8-r0","2.0.9-r0","2.0_pre10-r0","2.0_pre11-r0","2.0_pre11-r1","2.0_pre11-r2","2.0_pre12-r0","2.0_pre12-r1","2.0_pre12-r2","2.0_pre13-r0","2.0_pre13-r1","2.0_pre14-r0","2.0_pre14-r1","2.0_pre14-r2","2.0_pre15-r0","2.0_pre16-r0","2.0_pre17-r0","2.0_pre17-r1","2.0_pre17-r2","2.0_pre2-r0","2.0_pre3-r0","2.0_pre4-r0","2.0_pre5-r0","2.0_pre6-r0","2.0_pre6-r1","2.0_pre7-r0","2.0_pre8-r0","2.0_pre9-r0","2.0_rc1-r0","2.0_rc1-r1","2.0_rc1-r2","2.0_rc2-r0","2.0_rc3-r0","2.0_rc3-r3","2.0_rc4-r0","2.0_rc5-r0","2.0_rc5-r1","2.0_rc6-r0","2.0_rc7-r0","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.0_rc1-r0","2.1.0_rc1-r1","2.1.0_rc1-r2","2.2.0-r0","2.2.0_pre1-r0","2.2.0_pre1-r1","2.2.0_pre1-r2","2.2.0_rc1-r0","2.2.1-r0","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.4-r1","2.2.5-r0","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.3.0-r3","2.3.0-r4","2.3.1-r0","2.3.1-r1","2.3.1-r2","2.3.2-r0","2.3.2-r1","2.3.2-r2","2.3.2-r3","2.3.3-r0","2.3.3-r1","2.3.4-r0","2.3.4-r1","2.3.4-r2","2.3.5-r0","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.4.0-r3","2.4.0-r4","2.4.0-r5","2.4.0-r6","2.4.0_rc1-r0","2.4.0_rc2-r0","2.4.0_rc2-r1","2.4.0_rc3-r0","2.4.1-r0","2.4.2-r0","2.4.2-r1","2.4.2-r2","2.4.3-r0","2.4.3-r1","2.4.3-r2","2.4.4-r0","2.4.5-r0","2.5.0-r0","2.5.0_rc1-r0","2.6.0-r0","2.6.0_rc1-r0","2.6.0_rc1-r1","2.6.0_rc1-r2","2.6.0_rc2-r0","2.6.0_rc3-r0","2.6.0_rc4-r0","2.6.1-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0","2.6.4-r1","2.6.5-r0","2.6.5-r1","2.6.6-r0","2.6.6-r1","2.6.7-r0","2.6.7-r1","2.6.7-r2","2.6.8-r0","2.6.8-r1","2.6.8-r2","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.0-r3","2.7.0-r4","2.7.0-r5","2.7.1-r0","2.7.1-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-9671.json"}},{"package":{"name":"apk-tools","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/apk-tools?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.2-r0"}]}],"versions":["2.0-r0","2.0-r1","2.0.1-r0","2.0.2-r0","2.0.2-r1","2.0.2-r2","2.0.2-r3","2.0.2-r4","2.0.2-r5","2.0.2-r6","2.0.3-r0","2.0.3-r1","2.0.4-r0","2.0.5-r0","2.0.5-r1","2.0.5-r2","2.0.5-r3","2.0.6-r0","2.0.6-r1","2.0.6-r2","2.0.7-r0","2.0.7-r1","2.0.7-r2","2.0.7-r3","2.0.7-r4","2.0.7-r5","2.0.7-r6","2.0.8-r0","2.0.9-r0","2.0_pre10-r0","2.0_pre11-r0","2.0_pre11-r1","2.0_pre11-r2","2.0_pre12-r0","2.0_pre12-r1","2.0_pre12-r2","2.0_pre13-r0","2.0_pre13-r1","2.0_pre14-r0","2.0_pre14-r1","2.0_pre14-r2","2.0_pre15-r0","2.0_pre16-r0","2.0_pre17-r0","2.0_pre17-r1","2.0_pre17-r2","2.0_pre2-r0","2.0_pre3-r0","2.0_pre4-r0","2.0_pre5-r0","2.0_pre6-r0","2.0_pre6-r1","2.0_pre7-r0","2.0_pre8-r0","2.0_pre9-r0","2.0_rc1-r0","2.0_rc1-r1","2.0_rc1-r2","2.0_rc2-r0","2.0_rc3-r0","2.0_rc3-r3","2.0_rc4-r0","2.0_rc5-r0","2.0_rc5-r1","2.0_rc6-r0","2.0_rc7-r0","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.0_rc1-r0","2.1.0_rc1-r1","2.1.0_rc1-r2","2.2.0-r0","2.2.0_pre1-r0","2.2.0_pre1-r1","2.2.0_pre1-r2","2.2.0_rc1-r0","2.2.1-r0","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.4-r1","2.2.5-r0","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.3.0-r3","2.3.0-r4","2.3.1-r0","2.3.1-r1","2.3.1-r2","2.3.2-r0","2.3.2-r1","2.3.2-r2","2.3.2-r3","2.3.3-r0","2.3.3-r1","2.3.4-r0","2.3.4-r1","2.3.4-r2","2.3.5-r0","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.4.0-r3","2.4.0-r4","2.4.0-r5","2.4.0-r6","2.4.0_rc1-r0","2.4.0_rc2-r0","2.4.0_rc2-r1","2.4.0_rc3-r0","2.4.1-r0","2.4.2-r0","2.4.2-r1","2.4.2-r2","2.4.3-r0","2.4.3-r1","2.4.3-r2","2.4.4-r0","2.4.5-r0","2.5.0-r0","2.5.0_rc1-r0","2.6.0-r0","2.6.0_rc1-r0","2.6.0_rc1-r1","2.6.0_rc1-r2","2.6.0_rc2-r0","2.6.0_rc3-r0","2.6.0_rc4-r0","2.6.1-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0","2.6.4-r1","2.6.5-r0","2.6.5-r1","2.6.6-r0","2.6.6-r1","2.6.7-r0","2.6.7-r1","2.6.7-r2","2.6.8-r0","2.6.8-r1","2.6.8-r2","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.0-r3","2.7.0-r4","2.7.0-r5","2.7.1-r0","2.7.1-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-9671.json"}},{"package":{"name":"apk-tools","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/apk-tools?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.2-r0"}]}],"versions":["2.0-r0","2.0-r1","2.0.1-r0","2.0.2-r0","2.0.2-r1","2.0.2-r2","2.0.2-r3","2.0.2-r4","2.0.2-r5","2.0.2-r6","2.0.3-r0","2.0.3-r1","2.0.4-r0","2.0.5-r0","2.0.5-r1","2.0.5-r2","2.0.5-r3","2.0.6-r0","2.0.6-r1","2.0.6-r2","2.0.7-r0","2.0.7-r1","2.0.7-r2","2.0.7-r3","2.0.7-r4","2.0.7-r5","2.0.7-r6","2.0.8-r0","2.0.9-r0","2.0_pre10-r0","2.0_pre11-r0","2.0_pre11-r1","2.0_pre11-r2","2.0_pre12-r0","2.0_pre12-r1","2.0_pre12-r2","2.0_pre13-r0","2.0_pre13-r1","2.0_pre14-r0","2.0_pre14-r1","2.0_pre14-r2","2.0_pre15-r0","2.0_pre16-r0","2.0_pre17-r0","2.0_pre17-r1","2.0_pre17-r2","2.0_pre2-r0","2.0_pre3-r0","2.0_pre4-r0","2.0_pre5-r0","2.0_pre6-r0","2.0_pre6-r1","2.0_pre7-r0","2.0_pre8-r0","2.0_pre9-r0","2.0_rc1-r0","2.0_rc1-r1","2.0_rc1-r2","2.0_rc2-r0","2.0_rc3-r0","2.0_rc3-r3","2.0_rc4-r0","2.0_rc5-r0","2.0_rc5-r1","2.0_rc6-r0","2.0_rc7-r0","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.0_rc1-r0","2.1.0_rc1-r1","2.1.0_rc1-r2","2.2.0-r0","2.2.0_pre1-r0","2.2.0_pre1-r1","2.2.0_pre1-r2","2.2.0_rc1-r0","2.2.1-r0","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.4-r1","2.2.5-r0","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.3.0-r3","2.3.0-r4","2.3.1-r0","2.3.1-r1","2.3.1-r2","2.3.2-r0","2.3.2-r1","2.3.2-r2","2.3.2-r3","2.3.3-r0","2.3.3-r1","2.3.4-r0","2.3.4-r1","2.3.4-r2","2.3.5-r0","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.4.0-r3","2.4.0-r4","2.4.0-r5","2.4.0-r6","2.4.0_rc1-r0","2.4.0_rc2-r0","2.4.0_rc2-r1","2.4.0_rc3-r0","2.4.1-r0","2.4.2-r0","2.4.2-r1","2.4.2-r2","2.4.3-r0","2.4.3-r1","2.4.3-r2","2.4.4-r0","2.4.5-r0","2.5.0-r0","2.5.0_rc1-r0","2.6.0-r0","2.6.0_rc1-r0","2.6.0_rc1-r1","2.6.0_rc1-r2","2.6.0_rc2-r0","2.6.0_rc3-r0","2.6.0_rc4-r0","2.6.1-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0","2.6.4-r1","2.6.5-r0","2.6.5-r1","2.6.6-r0","2.6.6-r1","2.6.7-r0","2.6.7-r1","2.6.7-r2","2.6.8-r0","2.6.8-r1","2.6.8-r2","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.0-r3","2.7.0-r4","2.7.0-r5","2.7.1-r0","2.7.1-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-9671.json"}},{"package":{"name":"apk-tools","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/apk-tools?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.2-r0"}]}],"versions":["2.0-r0","2.0-r1","2.0.1-r0","2.0.2-r0","2.0.2-r1","2.0.2-r2","2.0.2-r3","2.0.2-r4","2.0.2-r5","2.0.2-r6","2.0.3-r0","2.0.3-r1","2.0.4-r0","2.0.5-r0","2.0.5-r1","2.0.5-r2","2.0.5-r3","2.0.6-r0","2.0.6-r1","2.0.6-r2","2.0.7-r0","2.0.7-r1","2.0.7-r2","2.0.7-r3","2.0.7-r4","2.0.7-r5","2.0.7-r6","2.0.8-r0","2.0.9-r0","2.0_pre10-r0","2.0_pre11-r0","2.0_pre11-r1","2.0_pre11-r2","2.0_pre12-r0","2.0_pre12-r1","2.0_pre12-r2","2.0_pre13-r0","2.0_pre13-r1","2.0_pre14-r0","2.0_pre14-r1","2.0_pre14-r2","2.0_pre15-r0","2.0_pre16-r0","2.0_pre17-r0","2.0_pre17-r1","2.0_pre17-r2","2.0_pre2-r0","2.0_pre3-r0","2.0_pre4-r0","2.0_pre5-r0","2.0_pre6-r0","2.0_pre6-r1","2.0_pre7-r0","2.0_pre8-r0","2.0_pre9-r0","2.0_rc1-r0","2.0_rc1-r1","2.0_rc1-r2","2.0_rc2-r0","2.0_rc3-r0","2.0_rc3-r3","2.0_rc4-r0","2.0_rc5-r0","2.0_rc5-r1","2.0_rc6-r0","2.0_rc7-r0","2.1.0-r0","2.1.0-r1","2.1.0-r2","2.1.0_rc1-r0","2.1.0_rc1-r1","2.1.0_rc1-r2","2.2.0-r0","2.2.0_pre1-r0","2.2.0_pre1-r1","2.2.0_pre1-r2","2.2.0_rc1-r0","2.2.1-r0","2.2.2-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.4-r1","2.2.5-r0","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.3.0-r3","2.3.0-r4","2.3.1-r0","2.3.1-r1","2.3.1-r2","2.3.2-r0","2.3.2-r1","2.3.2-r2","2.3.2-r3","2.3.3-r0","2.3.3-r1","2.3.4-r0","2.3.4-r1","2.3.4-r2","2.3.5-r0","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.4.0-r3","2.4.0-r4","2.4.0-r5","2.4.0-r6","2.4.0_rc1-r0","2.4.0_rc2-r0","2.4.0_rc2-r1","2.4.0_rc3-r0","2.4.1-r0","2.4.2-r0","2.4.2-r1","2.4.2-r2","2.4.3-r0","2.4.3-r1","2.4.3-r2","2.4.4-r0","2.4.5-r0","2.5.0-r0","2.5.0_rc1-r0","2.6.0-r0","2.6.0_rc1-r0","2.6.0_rc1-r1","2.6.0_rc1-r2","2.6.0_rc2-r0","2.6.0_rc3-r0","2.6.0_rc4-r0","2.6.1-r0","2.6.2-r0","2.6.3-r0","2.6.4-r0","2.6.4-r1","2.6.5-r0","2.6.5-r1","2.6.6-r0","2.6.6-r1","2.6.7-r0","2.6.7-r1","2.6.7-r2","2.6.8-r0","2.6.8-r1","2.6.8-r2","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.7.0-r3","2.7.0-r4","2.7.0-r5","2.7.1-r0","2.7.1-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-9671.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}