Skip to contentSkip to conversation

clamav: Security fix for CVE-2024-20505 and CVE-2024-20506

PATCH New Rohini Sangam 1 participant 1 message Sep 10, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clamav: Security fix for CVE-2024-20505 and CVE-2024-20506

CVES fixed:
- CVE-2024-20505 clamav: out-of-bounds read bug in the PDF file parser
- CVE-2024-20506 clamav: ClamD process writes to log file while privileged without checking if its been replaced with a symlink
Upstream-Status: Backport from https://github.com/Cisco-Talos/clamav/commit/8915bd22570ee608907f1b88a68e587d17813812, https://github.com/Cisco-Talos/clamav/commit/88efeda2a4cb93a69cf0994c02a8987f06fa204d

---
 recipes-scanners/clamav/clamav_0.104.0.bb     |   2 +
 .../clamav/files/CVE-2024-20505.patch         | 101 ++++++++++++++++
 .../clamav/files/CVE-2024-20506.patch         | 113 ++++++++++++++++++
 3 files changed, 216 insertions(+)
 create mode 100644 recipes-scanners/clamav/files/CVE-2024-20505.patch
 create mode 100644 recipes-scanners/clamav/files/CVE-2024-20506.patch
recipes-scanners/clamav/clamav_0.104.0.bb +2 -0
index 18e8329..0a6b92a 100644
@@ -21,6 +21,8 @@ SRC_URI = "git://github.com/vrtadmin/clamav-devel;branch=rel/0.104;protocol=http
     file://headers_fixup.patch \
     file://oe_cmake_fixup.patch \
     file://fix_systemd_socket.patch \
+    file://CVE-2024-20505.patch \
+    file://CVE-2024-20506.patch \
 "
 S = "${WORKDIR}/git"
 
recipes-scanners/clamav/files/CVE-2024-20505.patch new file +101 -0

101 lines not on this page · raw message

recipes-scanners/clamav/files/CVE-2024-20506.patch new file +113 -0

113 lines not on this page · raw message

Signature · 1 line
2.34.1