CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Libarchive

CVE-2022-36227
Libarchive vulnerability

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."

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Libarchive, Debian Linux, Fedora, Universal Forwarder. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Libarchive runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Libarchive products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.