CVE-2025-64530
CVE-2025-64530 · @apollo/composition has Improper Enforcement of Access Control on Interface Types and Fields
CVSS 7.5 · Высокий · EPSS 0,4% · Есть исправление
Затронуты ли вы?
- federationНет опубликованного исправления
- @apollo/composition npmОбновитесь до 2.9.5
Как узнать установленную версию:
npm ls @apollo/compositionБесплатная проверка покажет рейтинг сервера и подсветит, требует ли внимания federation и остальные программы. Без регистрации; имена серверов и IP-адреса не отправляются. Номера CVE, версии исправлений и рекомендации — в платном мониторинге.
curl -fsSL https://ru.patchfirst.dev/check.sh | shЗдесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.
Apollo Federation is an architecture for declaratively composing APIs into a unified graph. A vulnerability in versions of Apollo Federation's composition logic prior to 2.9.5, 2.10.4, 2.11.5, and 2.12.1 allowed some queries to Apollo Router to improperly bypass access controls on types/fields. Apollo Federation incorrectly allowed user-defined access control directives on interface types/fields, which could be bypassed by instead querying the implementing object types/fields in Apollo Router via inline fragments, for example. A fix to versions 2.9.5, 2.10.4, 2.11.5, and 2.12.1 of composition logic in Federation now disallows interfaces types and fields to contain user-defined access control directives. Some workarounds are available. Users of Apollo Rover with an unpatched composition version or are using the Apollo Studio build pipeline with Federation version 2.8 or below should manually copy the access control requirements on interface types/fields to each implementing object type/field where appropriate. Do not remove those access control requirements from the interface types/fields, as unpatched Apollo Composition will not automatically generate them in the supergraph schema. Customers not using Apollo Router access control features (`@authenticated`, `@requiresScopes`, or `@policy` directives) or not specifying access control requirements on interface types/fields are not affected and do not need to take action.
- Опубликовано
- Обновлено
Стек: node
Затронутые продукты и версии
federation
- Версии
- < 2.9.5: Затронуто
- >= 2.10.0-preview.0, < 2.10.4: Затронуто
- >= 2.11.0-preview.0, < 2.11.5: Затронуто
- >= 2.12.0-preview.0, 2.12.1: Затронуто
Нет опубликованного исправления
@apollo/composition npm
- Затронутые диапазоны версий
- SEMVER: < 2.9.5
Обновитесь до 2.9.5
@apollo/composition npm
- Затронутые диапазоны версий
- SEMVER: ≥ 2.10.0-alpha.3, < 2.10.4
Обновитесь до 2.10.4
@apollo/composition npm
- Затронутые диапазоны версий
- SEMVER: ≥ 2.11.0-preview.1, < 2.11.5
Обновитесь до 2.11.5
@apollo/composition npm
- Затронутые диапазоны версий
- SEMVER: ≥ 2.12.0-preview.1, < 2.12.1
Обновитесь до 2.12.1