{ "id": "openEuler-SA-2022-2124", "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2022-2124", "title": "An update for libarchive is now available for openEuler-22.03-LTS", "severity": "Critical", "description": "is an open-source BSD-licensed C programming library that provides streaming access to a variety of different archive formats, including tar, cpio, pax, zip, and ISO9660 images. The distribution also includes bsdtar and bsdcpio, full-featured implementations of tar and cpio that use .\r\n\r\nSecurity Fix(es):\r\n\r\nIn 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.\"(CVE-2022-36227)", "cves": [ { "id": "CVE-2022-36227", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-36227", "severity": "Critical" } ] }