Server-side request forgery (SSRF) in reportlab
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-918 and the CVSS impact.
Summary
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
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | reportlab | all versions | — | No fix listed | CNA |
| — | reportlab (PyPI) | before 3.5.55 | 3.5.55 | Patch available | GHSA-mpvw-25mg-59vx |
- reportlab Vendor— Affected all versions Fixed in — No fix listed CNA
- reportlab (PyPI) Vendor— Affected before 3.5.55 Fixed in 3.5.55 Patch available GHSA-mpvw-25mg-59vx
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:reportlab:reportlab:*:*:*:*:*:*:*:* | all versions | Vulnerable | Reportlab |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
- cpe:2.3:a:reportlab:reportlab:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Reportlab
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-mpvw-25mg-59vx reportlab (PyPI) Fixed in 3.5.55 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Quay 3 | Affected | No fix planned: Will not fix |
Timeline
- 2026-10-02 Threatist record created from CVE-2020-28463
- 2026-10-03 Alias added: GHSA-mpvw-25mg-59vx
References
Advisory 5
Other 8
- [debian-lts-announce] 20230929 [SECURITY] [DLA 3590-1] python-reportlab security update
- https://bugzilla.redhat.com/show_bug.cgi?id=1930417
- https://github.com/pypa/advisory-database/tree/main/vulns/reportlab/PYSEC-2021-146.yaml
- https://hg.reportlab.com/hg-public/reportlab
- https://hg.reportlab.com/hg-public/reportlab/file/f094d273903a/CHANGES.md#l71
- https://hg.reportlab.com/hg-public/reportlab/rev/7f2231703dc7
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HMUJA5GZTPQ5WRYUCCK2GEZM4W43N7HH
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YZQSFCID67K6BTC655EQY6MNOF35QI44
Sources
- CVE-2020-28463 · CVE Program
- CVE-2020-28463 · NVD
- FIRST EPSS
- GHSA-mpvw-25mg-59vx · GitHub Advisory Database · CC BY 4.0
- CVE-2020-28463 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences