OESA-2022-1887

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1887
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1887.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2022-1887
Upstream
Published
2022-09-02T11:04:13Z
Modified
2025-09-03T06:17:07.453987Z
Summary
python-reportlab security update
Details

The ReportLab Toolkit. An Open Source Python library for generating PDFs and graphics.

Security Fix(es):

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(CVE-2020-28463)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / python-reportlab

Package

Name
python-reportlab
Purl
pkg:rpm/openEuler/python-reportlab&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.10-1.oe1

Ecosystem specific

{
    "noarch": [
        "python-reportlab-help-3.6.10-1.oe1.noarch.rpm"
    ],
    "src": [
        "python-reportlab-3.6.10-1.oe1.src.rpm"
    ],
    "x86_64": [
        "python3-reportlab-3.6.10-1.oe1.x86_64.rpm",
        "python-reportlab-debugsource-3.6.10-1.oe1.x86_64.rpm",
        "python-reportlab-debuginfo-3.6.10-1.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "python-reportlab-debuginfo-3.6.10-1.oe1.aarch64.rpm",
        "python-reportlab-debugsource-3.6.10-1.oe1.aarch64.rpm",
        "python3-reportlab-3.6.10-1.oe1.aarch64.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / python-reportlab

Package

Name
python-reportlab
Purl
pkg:rpm/openEuler/python-reportlab&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.10-1.oe1

Ecosystem specific

{
    "noarch": [
        "python-reportlab-help-3.6.10-1.oe1.noarch.rpm"
    ],
    "src": [
        "python-reportlab-3.6.10-1.oe1.src.rpm"
    ],
    "x86_64": [
        "python-reportlab-debuginfo-3.6.10-1.oe1.x86_64.rpm",
        "python3-reportlab-3.6.10-1.oe1.x86_64.rpm",
        "python-reportlab-debugsource-3.6.10-1.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "python-reportlab-debuginfo-3.6.10-1.oe1.aarch64.rpm",
        "python-reportlab-debugsource-3.6.10-1.oe1.aarch64.rpm",
        "python3-reportlab-3.6.10-1.oe1.aarch64.rpm"
    ]
}

openEuler:22.03-LTS / python-reportlab

Package

Name
python-reportlab
Purl
pkg:rpm/openEuler/python-reportlab&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.10-1.oe2203

Ecosystem specific

{
    "noarch": [
        "python-reportlab-help-3.6.10-1.oe2203.noarch.rpm"
    ],
    "src": [
        "python-reportlab-3.6.10-1.oe2203.src.rpm"
    ],
    "x86_64": [
        "python3-reportlab-3.6.10-1.oe2203.x86_64.rpm",
        "python-reportlab-debuginfo-3.6.10-1.oe2203.x86_64.rpm",
        "python-reportlab-debugsource-3.6.10-1.oe2203.x86_64.rpm"
    ],
    "aarch64": [
        "python-reportlab-debugsource-3.6.10-1.oe2203.aarch64.rpm",
        "python3-reportlab-3.6.10-1.oe2203.aarch64.rpm",
        "python-reportlab-debuginfo-3.6.10-1.oe2203.aarch64.rpm"
    ]
}