Vulnerabilities

1 via 1 paths

Dependencies

17

Source

Group 6 Copy Created with Sketch. Docker

Target OS

alpine:3.10.9
Test your Docker Hub image against our market leading vulnerability database Sign up for free
Severity
  • 1
Status
  • 1
  • 0
  • 0

critical severity

Out-of-bounds Read

  • Vulnerable module: apk-tools/apk-tools
  • Introduced through: apk-tools/apk-tools@2.10.6-r0
  • Fixed in: 2.10.7-r0

Detailed paths

  • Introduced through: frolvlad/alpine-glibc@alpine-3.10_glibc-2.30 apk-tools/apk-tools@2.10.6-r0

NVD Description

Note: Versions mentioned in the description apply only to the upstream apk-tools package and not the apk-tools package as distributed by Alpine. See How to fix? for Alpine:3.10 relevant fixed versions and status.

libfetch before 2021-07-26, as used in apk-tools, xbps, and other products, mishandles numeric strings for the FTP and HTTP protocols. The FTP passive mode implementation allows an out-of-bounds read because strtol is used to parse the relevant numbers into address bytes. It does not check if the line ends prematurely. If it does, the for-loop condition checks for the '\0' terminator one byte too late.

Remediation

Upgrade Alpine:3.10 apk-tools to version 2.10.7-r0 or higher.

References