GHSA-5FJ9-5PJW-VPWC
SSRF cloud-metadata guard does not block Tencent Cloud's metadata service (169.254.0.23)
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-5FJ9-5PJW-VPWC divulgada · CVSS 6.8 (GitHub) | |
| Remediación | Parche 2.66.0 | pydantic-ai · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
The cloud-metadata blocklist that URL downloads check, which applies even when local URLs are allowed, did not include Tencent Cloud's instance metadata address `169.254.0.23`.
Details
This affects applications running on Tencent Cloud that allow local URLs, through `force_download='allow-local'` on a `FileUrl` or `web_fetch_tool(allow_local_urls=True)`. Someone who can supply a URL the application downloads, for example through user input or model output, could have it fetch the instance metadata service, which returns the instance's temporary role credentials. With local URLs disallowed, the default, the address is refused because it is in the link-local range.
Mitigation
Upgrade to a patched version. Until then, don't allow local URLs on Tencent Cloud instances, or block `169.254.0.23` at the network level.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypipydantic-ai |
Corregida | 2.66.0 | 0 d | 2.68.0 no afectada |
pypipydantic-ai-slim |
Corregida | 2.66.0 | 0 d | 2.71.0 no afectada |
2.66.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-5fj9-5pjw-vpwcLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
