Skip to content

Commit

Permalink
libarchive: ignore CVE-2023-30571
Browse files Browse the repository at this point in the history
Source: poky
MR: 126575, 127628
Type: Security Fix
Disposition: Merged from poky
ChangeID: cd329fc
Description:

This issue was reported and discusses under [1] which is linked in NVD CVE report.
It was already documented that some parts or libarchive are thread safe and some not.
[2] was now merged to document that also reported function is not thread safe.
So this CVE *now* reports thread race condition for non-thread-safe function.
And as such the CVE report is now invalid.

The issue is still not closed for 2 reasons:
* better document what is and what is not thread safe
* request to public if someone could make these functions thread safe
This should however not invalidate above statment about ignoring this CVE.

[1] libarchive/libarchive#1876
[2] libarchive/libarchive#1875

(From OE-Core rev: d5e7971e12cdc8748be91b4e6408b42fa86b2f15)

Signed-off-by: Peter Marko <[email protected]>
Signed-off-by: Steve Sakoman <[email protected]>
Signed-off-by: Jeremy A. Puhlman <[email protected]>
  • Loading branch information
petermarko authored and jpuhlman committed Aug 9, 2023
1 parent c63806d commit 4988cfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meta/recipes-extended/libarchive/libarchive_3.6.2.bb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ UPSTREAM_CHECK_URI = "http://libarchive.org/"

SRC_URI[sha256sum] = "ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3"

# upstream-wontfix: upstream has documented that reported function is not thread-safe
CVE_CHECK_IGNORE += "CVE-2023-30571"

inherit autotools update-alternatives pkgconfig

CPPFLAGS += "-I${WORKDIR}/extra-includes"
Expand Down

0 comments on commit 4988cfe

Please sign in to comment.