Vulnerabilities
Vulnerable Software
Libarchive:  >> Libarchive  >> 3.6.1  Security Vulnerabilities
Libarchive Remote Code Execution Vulnerability
CVSS Score
7.8
EPSS Score
0.484
Published
2024-04-09
Libarchive through 3.6.2 can cause directories to have world-writable permissions. The umask() call inside archive_write_disk_posix.c changes the umask of the whole process for a very short period of time; a race condition with another thread can lead to a permanent umask 0 setting. Such a race condition could lead to implicit directory creation with permissions 0777 (without the sticky bit), which means that any low-privileged local user can delete and rename files inside those directories.
CVSS Score
3.9
EPSS Score
0.0
Published
2023-05-29
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."
CVSS Score
9.8
EPSS Score
0.004
Published
2022-11-22


Contact Us

Shodan ® - All rights reserved