CVE-2022-36227
libarchive - security update
9.8
CRITICAL
CVSS 3.1
EPSS 0.55%
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."
How to fix CVE-2022-36227
To remediate CVE-2022-36227, upgrade the affected package to a fixed version below.
- —upgrade to 3.5.3-r1 or later
- —upgrade to 3.4.3-2+deb11u2 or later
- —upgrade to 3.3.3-4+deb10u3 or later
Is CVE-2022-36227 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 3.5.3-r1
- from 0, < 3.4.3-2+deb11u2
- from 0, < 3.3.3-4+deb10u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |