CVE-2020-28463
Server-side Request Forgery (SSRF)
Reported by snyk · Published February 18, 2021
reportlab is fixed in 3.5.55 (PyPI)
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| reportlab | PyPI | 3.5.55 |
| python-reportlab | Arch Linux | 3.5.55-1 |
| reportlab | n/a | unspecified |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | reportlab | 0 |
| PyPI | reportlab | 0 |
| arch | python-reportlab | 0 |
| n/a | reportlab | 0 |
Timeline
- Feb 18, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 6, 2021 PoC Published (9 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 9, 2026 Security Advisory (3 in total, the first dated here)
- Sep 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-28463
vulnetix vdb fixes CVE-2020-28463
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-28463/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2021-13cdc0ab0e vendor-advisory
- FEDORA-2021-04bfae8300 vendor-advisory
- [debian-lts-announce] 20230929 [SECURITY] [DLA 3590-1] python-reportlab security update mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2020-28463 advisory
- https://github.com/advisories/GHSA-mpvw-25mg-59vx advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1930417 url
- https://github.com/pypa/advisory-database/tree/main/vulns/reportlab/PYSEC-2021-146.yaml advisory
- https://hg.reportlab.com/hg-public/reportlab url
- https://hg.reportlab.com/hg-public/reportlab/file/f094d273903a/CHANGES.md#l71 url
- https://hg.reportlab.com/hg-public/reportlab/rev/7f2231703dc7 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HMUJA5GZTPQ5WRYUCCK2GEZM4W43N7HH url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YZQSFCID67K6BTC655EQY6MNOF35QI44 url