Bug 13540

Summary: [CVE 21] htmldoc 1.9.9 CVEs found
Product: [ROSA-based products] ROSA Fresh Reporter: Yury <y.tumanov>
Component: System (kernel, glibc, systemd, bash, PAM...)Assignee: ROSA Linux Bugs <bugs>
Status: VERIFIED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal CC: a.proklov, e.kosachev, e.malashin, i.gaptrakhmanov, s.matveev, v.potapov, y.tumanov
Version: AllFlags: v.potapov: qa_verified+
y.tumanov: secteam_verified+
a.proklov: published+
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: CVE-2021-23165, CVE-2021-40985, CVE-2022-0137, CVE-2022-24191, CVE-2022-28085,
Whiteboard:
Platform: 2021.1 ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description Yury 2023-08-24 00:20:41 MSK
Please patch CVEs for package htmldoc version 1.9.9
  
INFO (CVEs are): htmldoc 1.9.9
 cves found
CVE-2021-23165
Desc: A flaw was found in htmldoc before v1.9.12. Heap buffer overflow in pspdf_prepare_outpages(), in ps-pdf.cxx may lead to execute arbitrary code and denial of service.
Link: https://nvd.nist.gov/vuln/detail/CVE-2021-23165
Severity: CRITICAL
CVE-2021-40985
Desc: A stack-based buffer under-read in htmldoc before 1.9.12, allows attackers to cause a denial of service via a crafted BMP image to image_load_bmp.
Link: https://nvd.nist.gov/vuln/detail/CVE-2021-40985
Severity: MEDIUM
CVE-2022-0137
Desc: A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
Link: https://nvd.nist.gov/vuln/detail/CVE-2022-0137
Severity: MEDIUM
CVE-2022-24191
Desc: In HTMLDOC 1.9.14, an infinite loop in the gif_read_lzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.
Link: https://nvd.nist.gov/vuln/detail/CVE-2022-24191
Severity: MEDIUM
CVE-2022-28085
Desc: A flaw was found in htmldoc commit 31f7804. A heap buffer overflow in the function pdf_write_names in ps-pdf.cxx may lead to arbitrary code execution and Denial of Service (DoS).
Link: https://nvd.nist.gov/vuln/detail/CVE-2022-28085
Severity: HIGH
Comment 1 ilfat 2023-09-05 20:06:26 MSK
********** QA ADVISORY **********

CVEs closed by project update:

Updated to 1.9.16

https://abf.io/build_lists/4680754 aarch64
https://abf.io/build_lists/4680753 x86_64
https://abf.io/build_lists/4680752 i686
https://abf.io/build_lists/4680756 e2kv4
https://abf.io/build_lists/4680755 riscv64
Comment 2 e.malashin@rosalinux.ru 2023-09-06 11:43:33 MSK
The update sent to testings
Comment 3 Vladimir Potapov 2023-09-12 08:51:23 MSK
htmldoc-1.9.16-1
https://abf.io/build_lists/4680754 aarch64
https://abf.io/build_lists/4680753 x86_64
https://abf.io/build_lists/4680752 i686
https://abf.io/build_lists/4680756 e2kv4
https://abf.io/build_lists/4680755 riscv64
**************************** Advisory ***********************
CVEs closed by project update:
Updated to 1.9.16
**************************************************************
QA Verified
Comment 4 Yury 2023-10-19 12:48:54 MSK
secteam_verified