{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for htmldoc","title":"Title of the patch"},{"category":"description","text":"This update for htmldoc fixes the following issues:\n\nhtmldoc was updated to version 1.9.12:\n\n* Fixed buffer-overflow CVE-2021-20308 ( boo#1184424 )\n* Fixed a crash bug with 'data:' URIs and EPUB output\n* Fixed several other crash bugs\n* Fixed JPEG error handling\n* Fixed some minor issues\n* Removed the bundled libjpeg, libpng, and zlib.\n\nupdate to 1.9.11:\n\n- Added high-resolution desktop icons for Linux.\n- Updated the internal HTTP library to fix truncation of redirection URLs\n- Fixed a regression in the handling of character entities for UTF-8 input\n- The `--numbered` option did not work when the table-of-contents was disabled\n- Updated local zlib to v1.2.11.\n- Updated local libpng to v1.6.37.\n- Fixed packaging issues on macOS and Windows\n- Now ignore sRGB profile errors in PNG files\n- The GUI would crash when saving\n- Page comments are now allowed in `pre` text\n\nupdate to 1.9.9:\n\n- Added support for a `HTMLDOC.filename` META keyword that controls the filename\n  reported in CGI mode; the default remains 'htmldoc.pdf' (Issue #367)\n- Fixed a paragraph formatting issue with large inline images (Issue #369)\n- Fixed a buffer underflow issue (Issue #370)\n- Fixed PDF page numbers (Issue #371)\n- Added support for a new `L` header/footer format (`$LETTERHEAD`), which\n  inserts a letterhead image at its full size (Issue #372, Issue #373,\n  Issue #375)\n- Updated the build documentation (Issue #374)\n- Refactored the PRE rendering code to work around compiler optimization bugs\n- Added support for links with targets (Issue #351)\n- Fixed a table rowspan + valign bug (Issue #360)\n- Added support for data URIs (Issue #340)\n- HTMLDOC no longer includes a PDF table of contents when converting a single\n  web page (Issue #344)\n- Updated the markdown support with external links, additional inline markup,\n  and hard line breaks.\n- Links in markdown text no longer render with a leading space as part of the\n  link (Issue #346)\n- Fixed a buffer underflow bug discovered by AddressSanitizer.\n- Fixed a bug in UTF-8 support (Issue #348)\n- PDF output now includes the base language of the input document(s)\n- Optimized the loading of font widths (Issue #354)\n- Optimized PDF page resources (Issue #356)\n- Optimized the base memory used for font widths (Issue #357)\n- Added proper `&shy;` support (Issue #361)\n- Title files can now be markdown.\n- The GUI did not support EPUB output.\n- Empty markdown table cells were not rendered in PDF or PostScript output.\n- The automatically-generated title page now supports both 'docnumber' and\n  'version' metadata.\n- Added support for dc:subject and dc:language metadata in EPUB output from the\n  HTML keywords and lang values.\n- Added support for the subject and language metadata in markdown input.\n- Fixed a buffer underflow bug (Issue #338)\n- `htmldoc --help` now reports whether HTTPS URLs are supported (Issue #339)\n- Fixed an issue with HTML title pages and EPUB output.\n- Inline fixed-width text is no longer reduced in size automatically\n- Optimized initialization of font width data (Issue #334)\n- Fixed formatting bugs with aligned images (Issue #322, Issue #324)\n- Fixed support for three digit '#RGB' color values (Issue #323)\n- Fixed character set support for markdown metadata.\n- Updated libpng to v1.6.34 (Issue #326)\n- The makefiles did not use the CPPFLAGS value (Issue #328)\n- Added Markdown table support.\n- Fixed parsing of TBODY, TFOOT, and THEAD elements in HTML files.\n","title":"Description of the patch"},{"category":"details","text":"openSUSE-2021-882","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2021_0882-1.json"},{"category":"self","summary":"URL for openSUSE-SU-2021:0882-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RXMQHLXPNKTCGM4HNTMLHF7NWL3ZXKIO/"},{"category":"self","summary":"E-Mail link for openSUSE-SU-2021:0882-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RXMQHLXPNKTCGM4HNTMLHF7NWL3ZXKIO/"},{"category":"self","summary":"SUSE Bug 1184424","url":"https://bugzilla.suse.com/1184424"},{"category":"self","summary":"SUSE CVE CVE-2021-20308 page","url":"https://www.suse.com/security/cve/CVE-2021-20308/"}],"title":"Security update for htmldoc","tracking":{"current_release_date":"2021-06-16T13:54:44Z","generator":{"date":"2021-06-16T13:54:44Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"openSUSE-SU-2021:0882-1","initial_release_date":"2021-06-16T13:54:44Z","revision_history":[{"date":"2021-06-16T13:54:44Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"htmldoc-1.9.12-lp152.4.3.1.x86_64","product":{"name":"htmldoc-1.9.12-lp152.4.3.1.x86_64","product_id":"htmldoc-1.9.12-lp152.4.3.1.x86_64"}}],"category":"architecture","name":"x86_64"},{"branches":[{"category":"product_name","name":"openSUSE Leap 15.2","product":{"name":"openSUSE Leap 15.2","product_id":"openSUSE Leap 15.2","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.2"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"htmldoc-1.9.12-lp152.4.3.1.x86_64 as component of openSUSE Leap 15.2","product_id":"openSUSE Leap 15.2:htmldoc-1.9.12-lp152.4.3.1.x86_64"},"product_reference":"htmldoc-1.9.12-lp152.4.3.1.x86_64","relates_to_product_reference":"openSUSE Leap 15.2"}]},"vulnerabilities":[{"cve":"CVE-2021-20308","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2021-20308"}],"notes":[{"category":"general","text":"Integer overflow in the htmldoc 1.9.11 and before may allow attackers to execute arbitrary code and cause a denial of service that is similar to CVE-2017-9181.","title":"CVE description"}],"product_status":{"recommended":["openSUSE Leap 15.2:htmldoc-1.9.12-lp152.4.3.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2021-20308","url":"https://www.suse.com/security/cve/CVE-2021-20308"},{"category":"external","summary":"SUSE Bug 1184424 for CVE-2021-20308","url":"https://bugzilla.suse.com/1184424"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Leap 15.2:htmldoc-1.9.12-lp152.4.3.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":3.3,"baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"},"products":["openSUSE Leap 15.2:htmldoc-1.9.12-lp152.4.3.1.x86_64"]}],"threats":[{"category":"impact","date":"2021-06-16T13:54:44Z","details":"low"}],"title":"CVE-2021-20308"}]}