CVE-2022-36227
Apache libarchive NULL Pointer Dereference Vulnerability
Description
In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution."
INFO
Published Date :
Nov. 22, 2022, 2:15 a.m.
Last Modified :
Nov. 21, 2024, 7:12 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2022-36227
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
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-2022-36227
.
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).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-36227
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-36227
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://bugs.gentoo.org/882521 Added Reference https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215 Added Reference https://github.com/libarchive/libarchive/issues/1754 Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ Added Reference https://security.gentoo.org/glsa/202309-14 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Mar. 27, 2024
Action Type Old Value New Value Changed Reference Type https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ No Types Assigned https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ Mailing List, Third Party Advisory Changed Reference Type https://security.gentoo.org/glsa/202309-14 No Types Assigned https://security.gentoo.org/glsa/202309-14 Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (excluding) 8.2.12 *cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:* versions from (including) 9.0.0 up to (excluding) 9.0.6 *cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ -
CVE Modified by [email protected]
Sep. 29, 2023
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202309-14 [No Types Assigned] -
Modified Analysis by [email protected]
Feb. 06, 2023
Action Type Old Value New Value Changed Reference Type https://bugs.gentoo.org/882521 Patch, Third Party Advisory https://bugs.gentoo.org/882521 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215 No Types Assigned https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215 Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ Mailing List, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:libarchive:libarchive:3.6.1:*:*:*:*:*:*:* OR *cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.6.2 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 30, 2023
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html [No Types Assigned] -
CVE Modified by [email protected]
Dec. 19, 2022
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ [No Types Assigned] -
CVE Modified by [email protected]
Dec. 14, 2022
Action Type Old Value New Value Changed Description In libarchive 3.6.1, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution." In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution." Added Reference https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215 [No Types Assigned] -
Initial Analysis by [email protected]
Nov. 28, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://bugs.gentoo.org/882521 No Types Assigned https://bugs.gentoo.org/882521 Patch, Third Party Advisory Changed Reference Type https://github.com/libarchive/libarchive/issues/1754 No Types Assigned https://github.com/libarchive/libarchive/issues/1754 Issue Tracking, Patch, Third Party Advisory Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:a:libarchive:libarchive:3.6.1:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 24, 2022
Action Type Old Value New Value Changed Description In libarchive 3.6.1, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference or, in some cases, even arbitrary code execution. In libarchive 3.6.1, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution." Added Reference https://bugs.gentoo.org/882521 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-36227
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-2022-36227
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.54 }} -0.25%
score
0.77014
percentile