pysec-2025-25
Vulnerability from pysec
Published
2025-03-03 17:15
Modified
2025-04-09 17:27
Severity ?
Details
Rembg is a tool to remove images background. In Rembg 2.0.57 and earlier, the CORS middleware 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.
Aliases
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "rembg", "purl": "pkg:pypi/rembg" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.0.58" } ], "type": "ECOSYSTEM" } ], "versions": [ "2.0.28", "2.0.29", "2.0.30", "2.0.31", "2.0.32", "2.0.33", "2.0.34", "2.0.35", "2.0.36", "2.0.37", "2.0.38", "2.0.39", "2.0.40", "2.0.41", "2.0.43", "2.0.44", "2.0.45", "2.0.46", "2.0.47", "2.0.48", "2.0.49", "2.0.50", "2.0.51", "2.0.52", "2.0.53", "2.0.54", "2.0.55", "2.0.56", "2.0.57" ] } ], "aliases": [ "CVE-2025-25302" ], "details": "Rembg is a tool to remove images background. In Rembg 2.0.57 and earlier, the CORS middleware 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.", "id": "PYSEC-2025-25", "modified": "2025-04-09T17:27:27.532849+00:00", "published": "2025-03-03T17:15:14+00:00", "references": [ { "type": "ADVISORY", "url": "https://securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembg/" }, { "type": "EVIDENCE", "url": "https://securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembg/" }, { "type": "WEB", "url": "https://github.com/danielgatis/rembg/blob/d1e00734f8a996abf512a3a5c251c7a9a392c90a/rembg/commands/s_command.py#L93" } ], "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "type": "CVSS_V3" } ] }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.