{"id":"UBUNTU-CVE-2020-28463","details":"All versions of package reportlab are vulnerable to Server-side Request Forgery (SSRF) via img tags. In order to reduce risk, use trustedSchemes & trustedHosts (see in Reportlab's documentation) Steps to reproduce by Karan Bamal: 1. Download and install the latest package of reportlab 2. Go to demos -\u003e odyssey -\u003e dodyssey 3. In the text file odyssey.txt that needs to be converted to pdf inject \u003cimg src=\"http://127.0.0.1:5000\" valign=\"top\"/\u003e 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","modified":"2025-10-24T04:48:54Z","published":"2021-02-18T16:15:00Z","upstream":["CVE-2020-28463"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-28463"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-PYTHON-REPORTLAB-1022145"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-28463"}],"affected":[{"package":{"name":"python-reportlab","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-reportlab@3.3.0-1ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.0-1build1","3.2.0-1build2","3.3.0-1","3.3.0-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.0-1ubuntu0.1","binary_name":"python-renderpm"},{"binary_version":"3.3.0-1ubuntu0.1","binary_name":"python-reportlab"},{"binary_version":"3.3.0-1ubuntu0.1","binary_name":"python-reportlab-accel"},{"binary_version":"3.3.0-1ubuntu0.1","binary_name":"python3-renderpm"},{"binary_version":"3.3.0-1ubuntu0.1","binary_name":"python3-reportlab"},{"binary_version":"3.3.0-1ubuntu0.1","binary_name":"python3-reportlab-accel"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28463.json"}},{"package":{"name":"python-reportlab","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-reportlab@3.4.0-3ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0-3build1","3.4.0-3ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.4.0-3ubuntu0.1","binary_name":"python-renderpm"},{"binary_version":"3.4.0-3ubuntu0.1","binary_name":"python-reportlab"},{"binary_version":"3.4.0-3ubuntu0.1","binary_name":"python-reportlab-accel"},{"binary_version":"3.4.0-3ubuntu0.1","binary_name":"python3-renderpm"},{"binary_version":"3.4.0-3ubuntu0.1","binary_name":"python3-reportlab"},{"binary_version":"3.4.0-3ubuntu0.1","binary_name":"python3-reportlab-accel"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28463.json"}},{"package":{"name":"python-reportlab","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-reportlab@3.5.34-1ubuntu1.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.23-1","3.5.28-1","3.5.31-1","3.5.31-1.1","3.5.31-1.1ubuntu1","3.5.34-1","3.5.34-1build1","3.5.34-1ubuntu1","3.5.34-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.34-1ubuntu1.1","binary_name":"python3-renderpm"},{"binary_version":"3.5.34-1ubuntu1.1","binary_name":"python3-reportlab"},{"binary_version":"3.5.34-1ubuntu1.1","binary_name":"python3-reportlab-accel"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28463.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}