Vulnerabilities |
2 via 2 paths |
---|---|
Dependencies |
14 |
Source |
Docker |
Target OS |
alpine:3.10.8 |
critical severity
- Vulnerable module: apk-tools/apk-tools
- Introduced through: apk-tools/apk-tools@2.10.4-r2
- Fixed in: 2.10.7-r0
Detailed paths
-
Introduced through: alpine@3.10.8 › apk-tools/apk-tools@2.10.4-r2
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
- https://github.com/freebsd/freebsd-src/commits/main/lib/libfetch
- https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10749
- https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cdev.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cusers.kafka.apache.org%3E
- https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cdev.kafka.apache.org%3E
- https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cusers.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E
- https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E
- https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E
- https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E
high severity
- Vulnerable module: apk-tools/apk-tools
- Introduced through: apk-tools/apk-tools@2.10.4-r2
- Fixed in: 2.10.6-r0
Detailed paths
-
Introduced through: alpine@3.10.8 › apk-tools/apk-tools@2.10.4-r2
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.
In Alpine Linux apk-tools before 2.12.5, the tarball parser allows a buffer overflow and crash.
Remediation
Upgrade Alpine:3.10
apk-tools
to version 2.10.6-r0 or higher.