{"id":"CVE-2020-28463","published":"2021-02-18T16:00:21Z","modified":"2024-09-17T01:27:03Z","title":"Server-side Request Forgery (SSRF)","vendor":null,"product":null,"tier":"tail","description":{"text":"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 -> odyssey -> dodyssey 3. In the text file odyssey.txt that needs to be converted to pdf inject <img src=\"http://127.0.0.1:5000\" valign=\"top\"/> 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","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01362,"percentile":0.72448,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-REPORTLAB-1022145","tags":[]},{"url":"https://www.reportlab.com/docs/reportlab-userguide.pdf","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HMUJA5GZTPQ5WRYUCCK2GEZM4W43N7HH/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZQSFCID67K6BTC655EQY6MNOF35QI44/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00037.html","tags":["mailing-list"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":14.49},{"name":"CVSS severity","points":4.55}]},"affectedVersions":[{"vendor":"n/a","product":"reportlab","versions":["< unspecified"]}],"affected":[{"ecosystem":"PyPI","package":"reportlab","vulnerableRanges":["<3.5.55"],"patched":["3.5.55"],"from":["GHSA-mpvw-25mg-59vx","PYSEC-2021-146"],"provenance":"source"}],"summary":{"text":"The flaw is a Server-side Request Forgery vulnerability in the reportlab Python package, affecting all of its versions, where the img tag causes the library to make requests to attacker-specified URLs. An attacker can make the server issue requests to arbitrary destinations, including internal addresses, by injecting an img tag into content that reportlab converts, and this requires only low-privileged authentication with no user interaction over the network; mitigation is to use reportlab's trustedSchemes and trustedHosts settings.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:08Z"},"euvd":{"id":"EUVD-2021-0223","exploited":false,"provenance":"source"}}