Unathenticated connection can hold Bolt channel open
neo4j Enterprise Edition · neo4j Community Edition
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| neo4j Enterprise Edition |
| No fix yet |
| neo4j Community Edition |
| No fix yet |
Original description
Neo4j's Bolt modern handshake decoder treats an overlong capability bit mask the same way it treats a truncated bit mask. When an unauthenticated client sends a selected protocol version followed by 32 continuation bytes in the capability mask, the decoder resets the reader index and waits for more bytes instead of rejecting the protocol message and closing the channel.