flyto-coreに、DNS再バインディングでSSRF対策を回避される脆弱性
Summary
flyto-coreのURL検証で、名前解決の結果と接続時の結果が一致しないため、内部ネットワークやクラウドのメタデータサービスへのリクエストが許可されるおそれがあります。影響するのは2.26.8より前のバージョンで、2.26.8で修正されています。未対応の環境は、2.26.8以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
flyto-coreのURL検証で、名前解決の結果と接続時の結果が一致しないため、内部ネットワークやクラウドのメタデータサービスへのリクエストが許可されるおそれがあります。影響するのは2.26.8より前のバージョンで、2.26.8で修正されています。未対応の環境は、2.26.8以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| flytohubflyto-core | — | Not listed |
| PyPIflyto-core |
< 2.26.8→ 2.26.8 |
2.26.8 |
| pipflyto-core |
< 2.26.8→ 2.26.8 |
2.26.8 |
Original description The description as published by the source.
Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.8, validate_url_ssrf() in src/core/utils.py validates one DNS answer and then returns the hostname, while guarded_aiohttp_request(), enforce_outbound_url(), and validate_url_with_env_config() allow the outbound connection to perform an independent second lookup. A caller with control of the hostname's DNS can make validation see a public address and make the connection see an internal address, bypassing the guard across its outbound consumers and exposing readable internal or metadata-service responses. The attack requires low or zero DNS TTL behavior and a successful timing-dependent answer change; static multiple-address answers are checked and do not provide the same bypass. This issue is fixed in version 2.26.8.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com