Description (CNA)
Swarms through 6.8.1, fixed in commit 8b0fc9e, contains a server-side request forgery vulnerability in the _is_safe_url function that fails to validate hostnames through DNS resolution, allowing attackers to bypass the blocklist. Attackers can supply user-controlled image or audio URLs that resolve to private, loopback, or metadata addresses to reach internal services and exfiltrate credentials.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| kyegomez / swarms | affected 0 through 6.8.1; unaffected 8b0fc9e4645603ad94d5fcf4da86e3b9c71f4743 |
CWE
CWE-918
References
- https://github.com/kyegomez/swarms/issues/1714
- https://github.com/kyegomez/swarms/pull/1734
- https://github.com/kyegomez/swarms/commit/8b0fc9e4645603ad94d5fcf4da86e3b9c71f4743
- https://www.vulncheck.com/advisories/swarms-server-side-request-forgery-via-dns-rebinding-bypass
ADP enrichment
No English description supplied.
No references supplied.