
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-4121 is a null pointer dereference vulnerability discovered in libetpan's IMAP STATUS command handling component, specifically in the mailimapmailboxdatastatusfree function within low-level/imap/mailimap_types.c. The vulnerability was disclosed on January 17, 2023, affecting the libetpan library (NVD).
The vulnerability occurs when mailimapmailboxdatastatusfree attempts to free stinfolist of mbdatastatus without proper NULL pointer validation. The issue is triggered when an invalid STATUS response is received, where mailimapmailboxdatastatusparse continues execution even after receiving a MAILIMAPERRORPARSE error, leading to a NULL pointer being passed to clist_foreach (GitHub Issue). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).
The primary impact of this vulnerability is a potential remote denial of service when an attacker sends specially crafted STATUS responses to trigger the null pointer dereference, resulting in application crashes (GitHub Issue).
The vulnerability has been patched in libetpan through a commit that adds a NULL pointer check before attempting to free stinfolist. The fix involves adding a conditional check 'if (info->stinfolist != NULL)' before performing operations on the pointer (GitHub Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."