Description
API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Using the Relay special node type you can bypass the configured security on an operation. This vulnerability is fixed in 4.0.22 and 3.4.17.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| api-platform | core | >= 4.0.0, < 4.0.22, < 3.4.17 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | api-platform/core | >= 4.0.0-alpha.1, < 4.0.22 | 4.0.22 | GHSA-cg3c-245w-728m |
| Packagist | api-platform/core | < 3.4.17 | 3.4.17 | GHSA-cg3c-245w-728m |
| Packagist | api-platform/core | >= 4.1.0-alpha.1, < 4.1.5 | 4.1.5 | GHSA-cg3c-245w-728m |
| Packagist | api-platform/graphql | >= 4.0.0-alpha.1, < 4.0.22 | 4.0.22 | GHSA-cg3c-245w-728m |
| Packagist | api-platform/graphql | < 3.4.17 | 3.4.17 | GHSA-cg3c-245w-728m |
| Packagist | api-platform/graphql | >= 4.1.0-alpha.1, < 4.1.5 | 4.1.5 | GHSA-cg3c-245w-728m |
References
- https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
- https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb
- https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568
- https://github.com/api-platform/core/releases/tag/v3.4.17