Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-xeur-463r-pyfb
Summary
# GitHub Security Lab (GHSL) Vulnerability Report, rembg: `GHSL-2024-161`, `GHSL-2024-162`

The [GitHub Security Lab](https://securitylab.github.com) team has identified potential security vulnerabilities in [rembg](https://github.com/danielgatis/rembg).

We are committed to working with you to help resolve these issues. In this report you will find everything you need to effectively coordinate a resolution of these issues with the GHSL team.

If at any point you have concerns or questions about this process, please do not hesitate to reach out to us at `securitylab@github.com` (please include `GHSL-2024-161` or `GHSL-2024-162` as a reference). See also [this blog post](https://github.blog/2022-04-22-removing-the-stigma-of-a-cve/) written by GitHub's Advisory Curation team which explains what CVEs and advisories are, why they are important to track vulnerabilities and keep downstream users informed, the CVE assigning process, and how they are used to keep open source software secure.

If you are _NOT_ the correct point of contact for this report, please let us know!

## Summary

rembg server is vulnerable to Server-Side Request Forgery (SSRF) and a weak default CORS configuration, which may allow an attacker website to send requests to servers on the internal network and view image responses.

## Project

rembg

## Tested Version

[v2.0.57](https://github.com/danielgatis/rembg/releases/tag/v2.0.57)

## Details

### Issue 1: SSRF via `/api/remove` (`GHSL-2024-161`)

The [`/api/remove`](https://github.com/danielgatis/rembg/blob/d1e00734f8a996abf512a3a5c251c7a9a392c90a/rembg/commands/s_command.py#L237) endpoint takes a URL query parameter that allows an image to be fetched, processed and returned. An attacker may  be able to query this endpoint to view pictures hosted on the internal network of the rembg server.

```python
 async def get_index(
        url: str = Query(
            default=..., description="URL of the image that has to be processed."
        ),
        commons: CommonQueryParams = Depends(),
    ):
        async with aiohttp.ClientSession() as session:
            async with session.get(url) as response:
                file = await response.read()
                return await asyncify(im_without_bg)(file, commons)
```

#### Impact

This issue may lead to `Information Disclosure`.

#### Remediation

Ensure that the IP address specified is not a local address. If resolving a domain name, ensure that the resolved IP address is not local.

#### Proof of Concept

`curl -s "http://localhost:7000/api/remove?url=http://0.0.0.0/secret.png" -o output.png`


### Issue 2: CORS misconfiguration (`GHSL-2024-162`)

The following [CORS middleware](https://github.com/danielgatis/rembg/blob/d1e00734f8a996abf512a3a5c251c7a9a392c90a/rembg/commands/s_command.py#L93) is setup incorrectly. All origins are reflected, which allows any website to send cross site requests to the rembg server and thus query any API. Even if authentication were to be enabled, `allow_credentials` is set to True, which would allow any website to send authenticated cross site requests.

```python
    app.add_middleware(
        CORSMiddleware,
        allow_credentials=True,
        allow_origins=["*"],
        allow_methods=["*"],
        allow_headers=["*"],
    )

```

#### Impact

This issue may increase the severity of other vulnerabilities.

#### Remediation

Create an allowlist of specific endpoints that can send cross site requests to the rembg server.

#### Proof of Concept

An attacker website can host the following code:
```javascript
const response = await fetch("http://localhost:7000/api/remove?url=https://0.0.0.0/secret.jpg");
```
If a victim running rembg server were to access the attacker website, the attacker website could read the file `secret.jpg` from the server hosted on the victim's internal network.

## GitHub Security Advisories

We recommend you create a private [GitHub Security Advisory](https://help.github.com/en/github/managing-security-vulnerabilities/creating-a-security-advisory) for these findings. This also allows you to invite the GHSL team to collaborate and further discuss these findings in private before they are [published](https://help.github.com/en/github/managing-security-vulnerabilities/publishing-a-security-advisory).

## Credit

These issues were discovered and reported by GHSL team member [@Kwstubbs (Kevin Stubbings)](https://github.com/Kwstubbs).

## Contact

You can contact the GHSL team at `securitylab@github.com`, please include a reference to `GHSL-2024-161` or `GHSL-2024-162` in any communication regarding these issues.

## Disclosure Policy

This report is subject to a 90-day disclosure deadline, as described in more detail in our [coordinated disclosure policy](https://securitylab.github.com/advisories#policy).
Aliases
0
alias GHSA-55v6-g8pm-pw4c
Fixed_packages
0
url pkg:pypi/rembg@2.0.75
purl pkg:pypi/rembg@2.0.75
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.75
Affected_packages
0
url pkg:pypi/rembg@2.0.28
purl pkg:pypi/rembg@2.0.28
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.28
1
url pkg:pypi/rembg@2.0.29
purl pkg:pypi/rembg@2.0.29
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.29
2
url pkg:pypi/rembg@2.0.30
purl pkg:pypi/rembg@2.0.30
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.30
3
url pkg:pypi/rembg@2.0.31
purl pkg:pypi/rembg@2.0.31
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.31
4
url pkg:pypi/rembg@2.0.32
purl pkg:pypi/rembg@2.0.32
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.32
5
url pkg:pypi/rembg@2.0.33
purl pkg:pypi/rembg@2.0.33
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.33
6
url pkg:pypi/rembg@2.0.34
purl pkg:pypi/rembg@2.0.34
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.34
7
url pkg:pypi/rembg@2.0.35
purl pkg:pypi/rembg@2.0.35
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.35
8
url pkg:pypi/rembg@2.0.36
purl pkg:pypi/rembg@2.0.36
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.36
9
url pkg:pypi/rembg@2.0.37
purl pkg:pypi/rembg@2.0.37
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.37
10
url pkg:pypi/rembg@2.0.38
purl pkg:pypi/rembg@2.0.38
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.38
11
url pkg:pypi/rembg@2.0.39
purl pkg:pypi/rembg@2.0.39
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.39
12
url pkg:pypi/rembg@2.0.40
purl pkg:pypi/rembg@2.0.40
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.40
13
url pkg:pypi/rembg@2.0.41
purl pkg:pypi/rembg@2.0.41
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.41
14
url pkg:pypi/rembg@2.0.43
purl pkg:pypi/rembg@2.0.43
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.43
15
url pkg:pypi/rembg@2.0.44
purl pkg:pypi/rembg@2.0.44
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.44
16
url pkg:pypi/rembg@2.0.45
purl pkg:pypi/rembg@2.0.45
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.45
17
url pkg:pypi/rembg@2.0.46
purl pkg:pypi/rembg@2.0.46
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.46
18
url pkg:pypi/rembg@2.0.47
purl pkg:pypi/rembg@2.0.47
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.47
19
url pkg:pypi/rembg@2.0.48
purl pkg:pypi/rembg@2.0.48
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.48
20
url pkg:pypi/rembg@2.0.49
purl pkg:pypi/rembg@2.0.49
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.49
21
url pkg:pypi/rembg@2.0.50
purl pkg:pypi/rembg@2.0.50
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.50
22
url pkg:pypi/rembg@2.0.51
purl pkg:pypi/rembg@2.0.51
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.51
23
url pkg:pypi/rembg@2.0.52
purl pkg:pypi/rembg@2.0.52
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.52
24
url pkg:pypi/rembg@2.0.53
purl pkg:pypi/rembg@2.0.53
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.53
25
url pkg:pypi/rembg@2.0.54
purl pkg:pypi/rembg@2.0.54
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.54
26
url pkg:pypi/rembg@2.0.55
purl pkg:pypi/rembg@2.0.55
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.55
27
url pkg:pypi/rembg@2.0.56
purl pkg:pypi/rembg@2.0.56
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.56
28
url pkg:pypi/rembg@2.0.57
purl pkg:pypi/rembg@2.0.57
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5491-113y-w7dm
1
vulnerability VCID-bbe2-6vn7-rbg1
2
vulnerability VCID-j4jv-uxp8-gqft
3
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.57
29
url pkg:pypi/rembg@2.0.58
purl pkg:pypi/rembg@2.0.58
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.58
30
url pkg:pypi/rembg@2.0.59
purl pkg:pypi/rembg@2.0.59
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.59
31
url pkg:pypi/rembg@2.0.60
purl pkg:pypi/rembg@2.0.60
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.60
32
url pkg:pypi/rembg@2.0.61
purl pkg:pypi/rembg@2.0.61
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.61
33
url pkg:pypi/rembg@2.0.62
purl pkg:pypi/rembg@2.0.62
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.62
34
url pkg:pypi/rembg@2.0.63
purl pkg:pypi/rembg@2.0.63
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.63
35
url pkg:pypi/rembg@2.0.64
purl pkg:pypi/rembg@2.0.64
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.64
36
url pkg:pypi/rembg@2.0.65
purl pkg:pypi/rembg@2.0.65
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.65
37
url pkg:pypi/rembg@2.0.66
purl pkg:pypi/rembg@2.0.66
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.66
38
url pkg:pypi/rembg@2.0.67
purl pkg:pypi/rembg@2.0.67
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.67
39
url pkg:pypi/rembg@2.0.68
purl pkg:pypi/rembg@2.0.68
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.68
40
url pkg:pypi/rembg@2.0.69
purl pkg:pypi/rembg@2.0.69
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.69
41
url pkg:pypi/rembg@2.0.70
purl pkg:pypi/rembg@2.0.70
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.70
42
url pkg:pypi/rembg@2.0.71
purl pkg:pypi/rembg@2.0.71
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.71
43
url pkg:pypi/rembg@2.0.72
purl pkg:pypi/rembg@2.0.72
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.72
44
url pkg:pypi/rembg@2.0.73
purl pkg:pypi/rembg@2.0.73
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.73
45
url pkg:pypi/rembg@2.0.74
purl pkg:pypi/rembg@2.0.74
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-bbe2-6vn7-rbg1
1
vulnerability VCID-xeur-463r-pyfb
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/rembg@2.0.74
References
0
reference_url https://github.com/danielgatis/rembg
reference_id
reference_type
scores
0
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/danielgatis/rembg
1
reference_url https://github.com/danielgatis/rembg/commit/07ad0d493057bddf821dcc3e2410eb7e065257c0
reference_id
reference_type
scores
0
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/danielgatis/rembg/commit/07ad0d493057bddf821dcc3e2410eb7e065257c0
2
reference_url https://github.com/danielgatis/rembg/releases/tag/v2.0.75
reference_id
reference_type
scores
0
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/danielgatis/rembg/releases/tag/v2.0.75
3
reference_url https://github.com/danielgatis/rembg/security/advisories/GHSA-55v6-g8pm-pw4c
reference_id
reference_type
scores
0
value 4.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/danielgatis/rembg/security/advisories/GHSA-55v6-g8pm-pw4c
4
reference_url https://github.com/advisories/GHSA-55v6-g8pm-pw4c
reference_id GHSA-55v6-g8pm-pw4c
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-55v6-g8pm-pw4c
Weaknesses
0
cwe_id 918
name Server-Side Request Forgery (SSRF)
description The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
1
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
2
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
Exploits
Severity_range_score4.0 - 6.9
Exploitability0.5
Weighted_severity6.2
Risk_score3.1
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-xeur-463r-pyfb