CVE-2021-36159
Libfetch FTP HTTP Numeric String OOB Read
Description
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.
INFO
Published Date :
Aug. 3, 2021, 2:15 p.m.
Last Modified :
Nov. 7, 2023, 3:36 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-36159 has a 13 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-36159
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Makefile Go Shell Python Java JavaScript Roff Ruby
None
Dockerfile Makefile Go Shell Python Java JavaScript Roff Ruby
None
Dockerfile Makefile Go Shell Python Java JavaScript Roff Ruby
None
Shell JavaScript Ruby Python Java Go Makefile Dockerfile Roff
None
Dockerfile Makefile Go Shell Python Java JavaScript Roff Ruby
A security framework by Aquasecurity
Sinker is a Python tool to automate the execution of dockerized container scanning security tools merging their findings into one report.
containers security security-tools vulnerability-scanners
Dockerfile Python
None
None
Shell Dockerfile Makefile Go HCL Python Java JavaScript Ruby
This library is designed to check the vulnerabilities that exists in the vendor images and bitnami images and to recommend the better image with lesser vulnerabilities.
TypeScript Dockerfile C# JavaScript
Automatic monitor github cve using Github Actions
Python
A vulnerability scanner for container images and filesystems
containers security vulnerability docker golang go static-analysis container-image tool oci cyclonedx vulnerabilities hacktoberfest openvex vex
Makefile Go Dockerfile Python Shell Ruby Java JavaScript Roff
Docker/K8s Engine Microservice using Go kit and Gorilla (Go Web Toolkit Toolkit). Project includes K8s packages for K8s-YAML, K8s-Helm3 and K8s-Kustomize
Dockerfile Go Makefile Smarty
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-36159
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-36159
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E [No types assigned] Added Reference MITRE https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E [No types assigned] Added Reference MITRE https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E [No types assigned] Added Reference MITRE https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E [No types assigned] Removed Reference MITRE https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cdev.kafka.apache.org%3E Removed Reference MITRE https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cusers.kafka.apache.org%3E Removed Reference MITRE https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cusers.kafka.apache.org%3E Removed Reference MITRE https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cdev.kafka.apache.org%3E -
Modified Analysis by [email protected]
Oct. 18, 2021
Action Type Old Value New Value Changed Reference Type https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cdev.kafka.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cdev.kafka.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cusers.kafka.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cusers.kafka.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cdev.kafka.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cdev.kafka.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cusers.kafka.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cusers.kafka.apache.org%3E Mailing List, Third Party Advisory -
CVE Modified by [email protected]
Sep. 02, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cusers.kafka.apache.org%3E [No Types Assigned] Added Reference https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7@%3Cdev.kafka.apache.org%3E [No Types Assigned] -
CVE Modified by [email protected]
Aug. 31, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cdev.kafka.apache.org%3E [No Types Assigned] Added Reference https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc@%3Cusers.kafka.apache.org%3E [No Types Assigned] -
Initial Analysis by [email protected]
Aug. 12, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Changed Reference Type https://github.com/freebsd/freebsd-src/commits/main/lib/libfetch No Types Assigned https://github.com/freebsd/freebsd-src/commits/main/lib/libfetch Patch, Third Party Advisory Changed Reference Type https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10749 No Types Assigned https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10749 Exploit, Third Party Advisory Added CWE NIST CWE-125 Added CPE Configuration OR *cpe:2.3:a:freebsd:libfetch:*:*:*:*:*:*:*:* versions up to (excluding) 2021-07-26
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-36159
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-36159
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.39 }} 0.04%
score
0.73115
percentile