CVE-2020-28463Server-side Request Forgery (SSRF)
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
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | python-reportlab | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | python-reportlab | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | python-reportlab | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | python-reportlab | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | python-reportlab | Fix pending | UBUNTU-CVE-2020-28463 | |
| Ubuntu 18.04 | python-reportlab | Fix pending | UBUNTU-CVE-2020-28463 | |
| Ubuntu 16.04 | python-reportlab | Fix pending | UBUNTU-CVE-2020-28463 | |
| Ubuntu 14.04 | python-reportlab | Fix pending | ||
| Debian 14 | python-reportlab | Fixed | 3.5.55-1 | DEBIAN-CVE-2020-28463 |
| Debian 13 | python-reportlab | Fixed | 3.5.55-1 | DEBIAN-CVE-2020-28463 |
| Debian 12 | python-reportlab | Fixed | 3.5.55-1 | DEBIAN-CVE-2020-28463 |
| Red Hat Enterprise Linux 8 | python-reportlab | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | python3-reportlab | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | python-reportlab | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | python-reportlab-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | python-reportlab | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | python-reportlab-docs | Will not fix Out of support scope | ||
| PyPI library | reportlab | Fixed | 3.5.55 | GHSA-mpvw-25mg-59vx |
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- reportlab: affected: before unspecified
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://snyk.io/vuln/SNYK-PYTHON-REPORTLAB-1022145
- https://www.reportlab.com/docs/reportlab-userguide.pdf
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HMUJA5GZTPQ5WRYUCCK2GEZM4W43N7HH/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZQSFCID67K6BTC655EQY6MNOF35QI44/
- https://lists.debian.org/debian-lts-announce/2023/09/msg00037.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.