{"schema_version":"1.7.2","id":"OESA-2022-1887","modified":"2022-09-02T11:04:13Z","published":"2022-09-02T11:04:13Z","upstream":["CVE-2020-28463"],"summary":"python-reportlab security update","details":"The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics.\r\n\r\nSecurity Fix(es):\r\n\r\nAll versions of package reportlab are vulnerable to Server-side Request Forgery (SSRF) via img tags. In order to reduce risk, use trustedSchemes \u0026amp; trustedHosts (see in Reportlab\u0026apos;s documentation) Steps to reproduce by Karan Bamal: 1. Download and install the latest package of reportlab 2. Go to demos -\u0026gt; odyssey -\u0026gt; dodyssey 3. In the text file odyssey.txt that needs to be converted to pdf inject \u0026lt;img src=\u0026quot;http://127.0.0.1:5000\u0026quot; valign=\u0026quot;top\u0026quot;/\u0026gt; 4. Create a nc listener nc -lp 5000 5. Run python3 dodyssey.py 6. You will get a hit on your nc showing we have successfully proceded to send a server side request 7. dodyssey.py will show error since there is no img file on the url, but we are able to do SSRF(CVE-2020-28463)","affected":[{"package":{"ecosystem":"openEuler:20.03-LTS-SP1","name":"python-reportlab","purl":"pkg:rpm/openEuler/python-reportlab\u0026distro=openEuler-20.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.10-1.oe1"}]}],"ecosystem_specific":{"aarch64":["python-reportlab-debuginfo-3.6.10-1.oe1.aarch64.rpm","python-reportlab-debugsource-3.6.10-1.oe1.aarch64.rpm","python3-reportlab-3.6.10-1.oe1.aarch64.rpm"],"noarch":["python-reportlab-help-3.6.10-1.oe1.noarch.rpm"],"src":["python-reportlab-3.6.10-1.oe1.src.rpm"],"x86_64":["python3-reportlab-3.6.10-1.oe1.x86_64.rpm","python-reportlab-debugsource-3.6.10-1.oe1.x86_64.rpm","python-reportlab-debuginfo-3.6.10-1.oe1.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:20.03-LTS-SP3","name":"python-reportlab","purl":"pkg:rpm/openEuler/python-reportlab\u0026distro=openEuler-20.03-LTS-SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.10-1.oe1"}]}],"ecosystem_specific":{"aarch64":["python-reportlab-debuginfo-3.6.10-1.oe1.aarch64.rpm","python-reportlab-debugsource-3.6.10-1.oe1.aarch64.rpm","python3-reportlab-3.6.10-1.oe1.aarch64.rpm"],"noarch":["python-reportlab-help-3.6.10-1.oe1.noarch.rpm"],"src":["python-reportlab-3.6.10-1.oe1.src.rpm"],"x86_64":["python-reportlab-debuginfo-3.6.10-1.oe1.x86_64.rpm","python3-reportlab-3.6.10-1.oe1.x86_64.rpm","python-reportlab-debugsource-3.6.10-1.oe1.x86_64.rpm"]}},{"package":{"ecosystem":"openEuler:22.03-LTS","name":"python-reportlab","purl":"pkg:rpm/openEuler/python-reportlab\u0026distro=openEuler-22.03-LTS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.10-1.oe2203"}]}],"ecosystem_specific":{"aarch64":["python-reportlab-debugsource-3.6.10-1.oe2203.aarch64.rpm","python3-reportlab-3.6.10-1.oe2203.aarch64.rpm","python-reportlab-debuginfo-3.6.10-1.oe2203.aarch64.rpm"],"noarch":["python-reportlab-help-3.6.10-1.oe2203.noarch.rpm"],"src":["python-reportlab-3.6.10-1.oe2203.src.rpm"],"x86_64":["python3-reportlab-3.6.10-1.oe2203.x86_64.rpm","python-reportlab-debuginfo-3.6.10-1.oe2203.x86_64.rpm","python-reportlab-debugsource-3.6.10-1.oe2203.x86_64.rpm"]}}],"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1887"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28463"}],"database_specific":{"severity":"Medium"}}