U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-36227 Detail

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."


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://bugs.gentoo.org/882521 Issue Tracking  Patch  Third Party Advisory 
https://bugs.gentoo.org/882521 Issue Tracking  Patch  Third Party Advisory 
https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215 Third Party Advisory 
https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215 Third Party Advisory 
https://github.com/libarchive/libarchive/issues/1754 Issue Tracking  Patch  Third Party Advisory 
https://github.com/libarchive/libarchive/issues/1754 Issue Tracking  Patch  Third Party Advisory 
https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html Third Party Advisory 
https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html Third Party Advisory 
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ Mailing List  Third Party Advisory 
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ Mailing List  Third Party Advisory 
https://security.gentoo.org/glsa/202309-14 Third Party Advisory 
https://security.gentoo.org/glsa/202309-14 Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-476 NULL Pointer Dereference cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

11 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-36227
NVD Published Date:
11/21/2022
NVD Last Modified:
11/21/2024
Source:
MITRE