CVE-2024-37407

Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled

Critical · published June 8, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
61.6
In the wild
Unconfirmed
What it is

🔥 An empty-name file in a ZIP archive could lead to an out-of-bounds access in Libarchive versions before 3.7.4, making it a critical vulnerability you can't overlook! Think of it like a library without a catalog — if you don’t know the title or author, you might accidentally grab a book that's not meant for you. Here, an empty file name can lead a system to read outside the intended bounds, causing chaos! This vulnerability could allow an attacker to access sensitive data or execute arbitrary code, potentially compromising the entire system. It's like leaving the back door open in a secure building — once they find it, they can waltz right in and do whatever they want!

Put simply

Think of it like a library without a catalog — if you don’t know the title or author, you might accidentally grab a book that's not meant for you. Here, an empty file name can lead a system to read outside the intended bounds, causing chaos! Libarchive before version 3.7.4 permits out-of-bounds access during ZIP archive processing when an empty-name file is present with the mac-ext feature enabled, leading to potential exploitation.

What to do

This vulnerability could allow an attacker to access sensitive data or execute arbitrary code, potentially compromising the entire system. It's like leaving the back door open in a secure building — once they find it, they can waltz right in and do whatever they want! Update Libarchive to version 3.7.4 or later immediately to mitigate this risk. Additionally, review your ZIP file handling processes to ensure proper file name validation and configuration settings are in place. You've got this! By taking these steps, you can lock down your systems and be a true security hero! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00971 · 61.6th percentile
Published
2024-06-08T00:00Z
EPSS history
Timeline
  • 08 JUN 00:00Z
    Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled
    cvelistv5