Skip to content

← Public intelligence

PyPI package

reportlab

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

4 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.8PyPIAmendedPublished

    ReportLab vulnerable to remote code execution via paraparser

    CVE-2019-19450 · GHSA-pj98-2xf6-cff5

    Affected
    • PyPI reportlab < 3.5.31
    Fixed in
    3.5.31· Vendor fix available
    Issue
    paraparser in ReportLab before 3.5.31 allows remote code execution because startunichar in paraparser.py evaluates untrusted user input in a unichar element in a crafted XML document with '<unichar code="' followed by arbitrary Python code, a similar issue to CVE-2019-17626.

    Recommended action: Upgrade to 3.5.31 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 7.8PyPIAmendedPublished

    Reportlab vulnerable to remote code execution

    CVE-2023-33733 · GHSA-9q9m-c65c-37pq

    Affected
    • PyPI reportlab <= 3.6.12
    Fixed in
    3.6.13· Vendor fix available
    Issue
    Reportlab up to and including v3.6.12 allows attackers to execute arbitrary code via supplying a crafted PDF file.

    Recommended action: Upgrade to 3.6.13 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Critical, CVSS 9.3PyPIAmendedPublished

    XML Injection in ReportLab

    CVE-2019-17626 · GHSA-qpg2-vx7j-3869

    Affected
    • PyPI reportlab < 3.5.28
    Fixed in
    3.5.28· Vendor fix available
    Issue
    ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with '<span color="' followed by arbitrary Python code.

    Recommended action: Upgrade to 3.5.28 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. High, CVSS 7.1PyPIAmendedPublished

    Server-side Request Forgery (SSRF) via img tags in reportlab

    CVE-2020-28463 · GHSA-mpvw-25mg-59vx

    Affected
    • PyPI reportlab < 3.5.55
    Fixed in
    3.5.55· Vendor fix available
    Issue
    All versions of package reportlab at time of writing 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

    Recommended action: Upgrade to 3.5.55 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →