OSV-2021-557 Heap-use-after-free in copy_string
A heap-use-after-free vulnerability in copy_string allows attackers to potentially execute arbitrary code or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Not stated
- Victim action needed
- Not stated
- Fix
- None listed
What is OSV-2021-557?
OSV-2021-557 is an use after free vulnerability in libarchive, published on 25 Mar 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32375
Crash type: Heap-use-after-free READ 1
Crash state:
copy_string
do_uncompress_block
process_block
Which versions are affected by OSV-2021-557?
1 open source package ship an affected version, including libarchive.
| Package | Affected | Fixed in |
|---|---|---|
libarchive OSS-Fuzz | All versions | None |
How do I fix OSV-2021-557?
No fix has been published for OSV-2021-557 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2021-557 being exploited?
There is no known exploitation of OSV-2021-557 in the wild and no public exploit code.