libarchive: CVE-2022-36227: Null pointer dereference in archive_write.c

Related Vulnerabilities: CVE-2022-36227  

Debian Bug report logs - #1024669
libarchive: CVE-2022-36227: Null pointer dereference in archive_write.c

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Tue, 22 Nov 2022 21:42:12 UTC

Severity: normal

Tags: security, upstream

Found in version libarchive/3.6.0-1

Forwarded to https://github.com/libarchive/libarchive/issues/1754

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Peter Pentchev <roam@debian.org>:
Bug#1024669; Package src:libarchive. (Tue, 22 Nov 2022 21:42:14 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Peter Pentchev <roam@debian.org>. (Tue, 22 Nov 2022 21:42:14 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libarchive: CVE-2022-36227: Null pointer dereference in archive_write.c
Date: Tue, 22 Nov 2022 22:41:13 +0100
Source: libarchive
Version: 3.6.0-1
Severity: normal
Tags: security upstream
Forwarded: https://github.com/libarchive/libarchive/issues/1754
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for libarchive, filling
downstream for tracking.

CVE-2022-36227[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-36227
    https://www.cve.org/CVERecord?id=CVE-2022-36227

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Nov 23 07:17:49 2022; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.