Skip to main content

Reset Session State Between Pooled Connections

CCC.RDMS.CN09 · Data Resilience

Ensure that a managed connection pool clears session-level state before handing a server connection to another client, so that no client observes or acts on state set by a previous client.

Related Capabilities

IDTitleDescription
CCC.RDMS.CP12Managed Connection PoolingThe service may be configured to place a managed connection pool in front of the database so that client connections are reused and bounded.

Related Threats

IDTitleDescription
CCC.RDMS.TH09Session State Leaks Between Pooled ConnectionsA managed connection pool may reuse a server session for successive clients without resetting session-level state such as temporary tables, prepared statements, or an assumed role. State set by one client can then be read or acted on by another, impacting the confidentiality and integrity of data and obscuring which client performed an action.

Assessment Requirements

IDTextApplicability
CCC.RDMS.CN09.AR01When a pooled server connection is reassigned to a new client, the pool MUST reset the session state of that connection before the new client can issue a statement.tlp-amber, tlp-red