-------------------------------------------------------------------------
Debian LTS Advisory DLA-3590-1                debian-lts@lists.debian.org
https://www.debian.org/lts/security/                       Guilhem Moulin
September 29, 2023                            https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package        : python-reportlab
Version        : 3.5.13-1+deb10u2
CVE ID         : CVE-2019-19450 CVE-2020-28463

Security issues were discovered in python-reportlab, a Python library
for generating PDFs and graphics, which could lead to remote code
execution or authorization bypass.

CVE-2019-19450

    Ravi Prakash Giri discovered a remote code execution vulnerability
    via crafted XML document where ‘$1");
        // Echo link
        jQuery(this).html(replaced_text);
    });
	*/
			jQuery('.whitebg p').each(function() {
				// Get the content
			//	var str = jQuery(this).html();
				// Set the regex string 
              // disable 21-8-24
			//	var regex = /(ftp?:\/\/(?:ftp\.|(?!ftp))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|ftp\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|ftp?:\/\/(?:ftp\.|(?!ftp))[a-zA-Z0-9]+\.[^\s]{2,}|ftp\.[a-zA-Z0-9]+\.[^\s]{2,})/gi;
				// Replace plain text links by hyperlinks
			
				//	var replaced_text = str.replace(regex, "$1");
				// Echo link
			//	jQuery(this).html(replaced_text);
			});
			/*  jQuery('.whitebg .drow').each(function(){
        // Get the content
        var str = jQuery(this).html();
        // Set the regex string
        var regex = /(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/gi;
        // Replace plain text links by hyperlinks
        var replaced_text = str.replace(regex, "$1");
        // Echo link
        jQuery(this).html(replaced_text);
    });
	*/
			if (jQuery('div#sppb-addon-1619715121587 .sppb-addon.sppb-addon-raw-html .sppb-addon-content').length) {
				jQuery('div#sppb-addon-1619715121587 .sppb-addon.sppb-addon-raw-html .sppb-addon-content').wrap("
"); if (jQuery('.whitebg.gray > div:not(.sppb-addon-content.white) .drow:nth-child(2)').length) { jQuery('div#sppb-addon-1619715121587 .sppb-addon.sppb-addon-raw-html .drow').insertBefore(jQuery('.whitebg.gray > div:not(.sppb-addon-content.white) .drow:nth-child(2)')); jQuery('Issued Date: ').prependTo(jQuery('.whitebg.gray > div:not(.sppb-addon-content.white) .drow:nth-child(2) .sppb-addon-content')); } else { jQuery('div#sppb-addon-1619715121587 .sppb-addon.sppb-addon-raw-html .drow').insertBefore(jQuery('.whitebg.gray > div:not(.sppb-addon-content.white) .drow')); jQuery('Issued Date: ').prependTo(jQuery('.whitebg.gray > div:not(.sppb-addon-content.white) .drow .sppb-addon-content')); jQuery('.whitebg.gray > div:not(.sppb-addon-content.white) .drow:nth-child(2)').remove(); } } else { jQuery('.drow:contains("Date")').insertBefore(jQuery('.whitebg.gray > div:not(.sppb-addon-content.white) .drow:nth-child(2)')); } });

Debian LTS: DLA-3590-1: python-reportlab security update

September 29, 2023
Security issues were discovered in python-reportlab, a Python library for generating PDFs and graphics, which could lead to remote code execution or authorization bypass

Summary

CVE-2019-19450

Ravi Prakash Giri discovered a remote code execution vulnerability
via crafted XML document where ‘<unichar code="’ is followed by
arbitrary Python code.

This issue is similar to CVE-2019-17626.

CVE-2020-28463

Karan Bamal discovered a Server-side Request Forgery (SSRF)
vulnerability via ‘<img>’ tags. New settings ‘trustedSchemes’ and
‘trustedHosts’ have been added as part of the fix/mitigation: they
can be used to specify an explicit allowlist for remote sources.

For Debian 10 buster, these problems have been fixed in version
3.5.13-1+deb10u2.

We recommend that you upgrade your python-reportlab packages.

For the detailed security status of python-reportlab please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/source-package/python-reportlab

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions...

Read the Full Advisory


Severity
Package : python-reportlab
Version : 3.5.13-1+deb10u2
CVE ID : CVE-2019-19450 CVE-2020-28463

Related News