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."
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Debian / debian_linux10.0 – 10.0
- fedoraproject / fedora37 – 37
- libarchive / libarchive3.0.0 – 3.6.2
- Splunk / Universal Forwarder8.2.0 – 8.2.12
- Splunk / Universal Forwarder9.1.0 – 9.1.0
References
- MISChttps://github.com/libarchive/libarchive/issues/1754
- MISChttps://bugs.gentoo.org/882521
- MISChttps://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2023/01/msg00034.html
- MISChttps://security.gentoo.org/glsa/202309-14
Updated 15m ago · 8 sources