CVE-2022-36227
CVSS V2 None
CVSS V3 None
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."
Overview
- CVE ID
- CVE-2022-36227
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2022-11-22T02:15:11
- Last Modified Date
- 2023-02-06T14:31:23
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:libarchive:libarchive:3.6.1:*:*:*:*:*:*:* | 1 | OR |
References
Reference URL | Reference Tags |
---|---|
https://bugs.gentoo.org/882521 | Patch Third Party Advisory |
https://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215 | |
https://github.com/libarchive/libarchive/issues/1754 | Issue Tracking Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/01/msg00034.html | |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-36227 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36227 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-11-22 03:00:16 | Added to TrackCVE | |||
2022-12-07 17:58:38 | 2022-11-22T02:15Z | 2022-11-22T02:15:11 | CVE Published Date | updated |
2022-12-07 17:58:38 | 2022-11-28T14:23:23 | CVE Modified Date | updated | |
2022-12-07 17:58:38 | Analyzed | Vulnerability Status | updated | |
2022-12-07 17:58:38 | CWE-476 | Weakness Enumeration | new | |
2022-12-07 17:58:39 | CPE Information | updated | ||
2022-12-07 17:58:39 | References | updated | ||
2022-12-14 19:16:17 | 2022-12-14T19:15:13 | CVE Modified Date | updated | |
2022-12-14 19:16:17 | Analyzed | Modified | Vulnerability Status | updated |
2022-12-14 19:16:17 | 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." | Description | updated |
2022-12-14 19:16:18 | References | updated | ||
2022-12-19 03:15:27 | 2022-12-19T03:15:09 | CVE Modified Date | updated | |
2022-12-19 03:15:29 | References | updated | ||
2022-12-19 04:28:18 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2023-01-30 23:13:55 | 2023-01-30T22:15:12 | CVE Modified Date | updated | |
2023-01-30 23:13:56 | References | updated | ||
2023-02-06 15:23:08 | 2023-02-06T14:31:23 | CVE Modified Date | updated | |
2023-02-06 15:23:08 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |