CVE-2023-33552
NixOS vulnerability analysis and mitigation

Overview

A Heap Buffer Overflow vulnerability was discovered in the erofsreadone_data function at data.c in erofs-utils v1.6. This vulnerability, tracked as CVE-2023-33552, allows remote attackers to execute arbitrary code via a crafted erofs filesystem image (NVD).

Technical details

The vulnerability exists in the erofsreadonedata function where the variable len depends on map->mplen, which in turn depends on inode->isize. The value is imported from the image file without proper validation, leading to a heap buffer overflow. The issue has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD, [GitHub Issue](https://github.com/lometsj/blogrepo/issues/1)).

Impact

The vulnerability allows remote attackers to execute arbitrary code through a specially crafted erofs filesystem image. When exploited, it can lead to heap corruption and potential arbitrary code execution (NVD).

Mitigation and workarounds

The vulnerability has been patched in subsequent releases. Fedora has released security updates for affected versions in Fedora 38 (erofs-utils-1.6-3.fc38) and Fedora 39 (erofs-utils-1.6-3.fc39) to address this issue (Fedora 38 Update, Fedora 39 Update).

Additional resources


SourceThis report was generated using AI

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