Bug 1942677 (CVE-2021-3465) - CVE-2021-3465 p7zip: NULL pointer dereference in NCompress::CCopyCoder::Code function in CPP/7zip/Common/StreamObjects.cpp
Summary: CVE-2021-3465 p7zip: NULL pointer dereference in NCompress::CCopyCoder::Code ...
Alias: CVE-2021-3465
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1943303
Blocks: 1942678 1942696
TreeView+ depends on / blocked
Reported: 2021-03-24 18:07 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-04-12 15:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-04-12 12:34:31 UTC

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-03-24 18:07:45 UTC
In p7zip-17.03, the function NCompress::CCopyCoder::Code in CPP/7zip/Common/StreamObjects.cpp will call outStream->Write where a memcpy uses a NULL pointer as destination address, leading to a crash.


Comment 1 Guilherme de Almeida Suckevicz 2021-03-25 18:28:51 UTC
Created p7zip tracking bugs for this issue:

Affects: fedora-all [bug 1943303]

Comment 2 Riccardo Schirone 2021-04-12 12:34:31 UTC
This seems to be just a crash in a CLI tool, so I don't think it crosses any security boundary or that it has any security impact at all.

Comment 3 Riccardo Schirone 2021-04-12 15:01:16 UTC

Red Hat Product Security does not consider this to be a vulnerability because it is just a crash in a command-line tool which can hardly impact Availability of any well-written service that uses 7z tool.

Comment 4 Sergio Basto 2021-04-12 15:23:51 UTC
also we don't use https://github.com/jinfeihan57 fork , at least yet .

Note You need to log in before you can comment on or make changes to this bug.