Libarchive: off by one error in build_ustar_entry_name() at archive_write_set_format_pax.c
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.8.0.
A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. This bug affects libarchive versions prior to 3.8.0.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Red Hat | Enterprise Linux | ||
| Red Hat | OpenShift AI | ||
| Red Hat | OpenShift Container Platform | ||
| libarchive | libarchive | <3.8.0 | 3.8.0 |
| redhat | enterprise_linux | =9.0, =8.0, =7.0, =6.0, =10.0 | |
| redhat | openshift_container_platform | =4.0 | |
| <3.8.0 | 3.8.0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Red Hat, strongest first
Embed
A live severity badge for an advisory, README or ticket