[GHSA-57fm-4q7w-88cr] Null Pointer Dereference vulnerability in libarchive 3.7... #6476
+25
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates
Comments
On the official issue libarchive/libarchive#2559 seen in the repo, the error is mentioned to be introduced in 3.7.5
libarchive/libarchive@2d8a576 and fixed in 3.8.0 libarchive/libarchive@565b5ae
Also, the redhat advisory for a lower version used in the os 3.5.3 is marked as not affected https://access.redhat.com/security/cve/cve-2024-48615.
Myself I have tried compiling lower versions and ran bsdtar as seen in this POC https://github.com/88Sanghy88/crash-test and couldnt get it reproduced except for the affected versions.