@neo4j/graphqlの認可の脆弱性、JWTの条件を一部しか評価せず権限を回避されるおそれ
Summary
@neo4j/graphqlの7.0.0以降7.6.7より前の版では、@authenticationディレクティブのJWTフィルター評価が不完全で、複数条件のwhere句の最初の条件以外が無視されます。有効なJWTを持つ攻撃者が、本来制限されるデータにアクセスできるおそれがあり、CVSSv4は8.6です。修正版の7.6.7に更新してください。
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.
@neo4j/graphqlの7.0.0以降7.6.7より前の版では、@authenticationディレクティブのJWTフィルター評価が不完全で、複数条件のwhere句の最初の条件以外が無視されます。有効なJWTを持つ攻撃者が、本来制限されるデータにアクセスできるおそれがあり、CVSSv4は8.6です。修正版の7.6.7に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Neo4j@neo4j/graphql |
≥ 7.0.0, < 7.6.7→ 7.6.7 |
7.6.7 |
Original description The description as published by the source.
Incorrect authorization in the @authentication directive JWT where filter evaluation in Neo4j @neo4j/graphql versions 7.0.0 before 7.6.7 allows an attacker holding an otherwise-valid JWT to bypass all but the first filter condition via a multi-condition jwt where filter written in generic operator syntax.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web registry.npmjs.org