CVE-2022-36227
Splunk Forwarder vulnerability analysis and mitigation

Overview

CVE-2022-36227 is a vulnerability discovered in libarchive, a multi-format archive and compression library. The issue was disclosed in November 2022 and affects libarchive versions before 3.6.2. The vulnerability stems from the software not checking for an error after calling the calloc function, which can return a NULL pointer if the function fails (NVD, Ubuntu).

Technical details

The vulnerability exists in the _archivewriteallocatefilter function within archive_write.c. The code fails to verify the return value of calloc(1, sizeof(*f)) before dereferencing the pointer, which can lead to a NULL pointer dereference. The vulnerability has been assigned a CVSS 3.1 base score of 9.8 (Critical) (Ubuntu, GitHub Issue).

Impact

The primary impact of this vulnerability is a potential denial of service condition through NULL pointer dereference. While initially there were concerns about possible code execution in specific circumstances (when NULL is equivalent to the 0x0 memory address and privileged code can access it), this impact was disputed by third parties (Ubuntu).

Mitigation and workarounds

The recommended mitigation is to upgrade to libarchive version 3.6.2 or later which includes the fix for this vulnerability. Various Linux distributions have also released patched versions through their security updates. For example, Red Hat has addressed this in version 3.3.3-4.el8_6, and Ubuntu has fixed this in multiple versions across different releases (Red Hat, Debian).

Additional resources


SourceThis report was generated using AI

Related Splunk Forwarder vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20298HIGH8
  • Splunk ForwarderSplunk Forwarder
  • cpe:2.3:a:splunk:universal_forwarder
NoYesJun 02, 2025
CVE-2023-27537MEDIUM5.9
  • MySQLMySQL
  • rust
NoYesMar 30, 2023
CVE-2023-27536MEDIUM5.9
  • MySQLMySQL
  • libcurl4-32bit
NoYesMar 30, 2023
CVE-2023-27535MEDIUM5.9
  • MySQLMySQL
  • curl-debuginfo
NoYesMar 30, 2023
CVE-2023-27538MEDIUM5.5
  • MySQLMySQL
  • libcurl4-32bit
NoYesMar 30, 2023

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management