summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2023-07-29 20:22:35 +0200
committerSteve Sakoman <steve@sakoman.com>2023-08-07 04:40:43 -1000
commitcd329fc98420f69ec17aa8b619ed1e39f050db99 (patch)
tree879a9618ea7d878cf942767ff9c1419ddbe30c94
parent9ceede321a3d2a2e9882e806ff6037baf7e28f0b (diff)
downloadpoky-cd329fc98420f69ec17aa8b619ed1e39f050db99.tar.gz
libarchive: ignore CVE-2023-30571
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] https://github.com/libarchive/libarchive/issues/1876 [2] https://github.com/libarchive/libarchive/pull/1875 (From OE-Core rev: d5e7971e12cdc8748be91b4e6408b42fa86b2f15) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-extended/libarchive/libarchive_3.6.2.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.6.2.bb b/meta/recipes-extended/libarchive/libarchive_3.6.2.bb
index ffcc103112..0219ffa720 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.6.2.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.6.2.bb
@@ -33,6 +33,9 @@ UPSTREAM_CHECK_URI = "http://libarchive.org/"
33 33
34SRC_URI[sha256sum] = "ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3" 34SRC_URI[sha256sum] = "ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3"
35 35
36# upstream-wontfix: upstream has documented that reported function is not thread-safe
37CVE_CHECK_IGNORE += "CVE-2023-30571"
38
36inherit autotools update-alternatives pkgconfig 39inherit autotools update-alternatives pkgconfig
37 40
38CPPFLAGS += "-I${WORKDIR}/extra-includes" 41CPPFLAGS += "-I${WORKDIR}/extra-includes"