STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated 1 hour ago
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Oracle MySQL 9.x Security Technical Implementation Guide

V-289363

CAT II (Medium)

The database management system (DBMS) must provide protected storage for cryptographic keys with organization-defined safeguards and/or hardware protected key store.

Rule ID

SV-289363r1319288_rule

STIG

Oracle MySQL 9.x Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-004910

Discussion

If cryptographic keys are stored without adequate protection, an attacker who gains file system, backup, or administrative access may be able to recover the keys and defeat encryption controls. MySQL 9.x supports multiple keyring implementations, but they do not provide equivalent protection. Vault-backed or enterprise key management implementations are the preferred approach for protected key storage, including: - component_keyring_kmip. - component_keyring_hashicorp. - component_keyring_oci. File-based keyring modes require special caution. "component_keyring_file" stores keyring data in a local file, and both "component_keyring_file" and "component_keyring_encrypted_file" are not intended as a regulatory compliance solution for encryption key management.

Check Content

Review the MySQL 9.x encryption and key-management configuration to determine whether the DBMS uses cryptographic keys for tablespace encryption, binary log encryption, audit log encryption, persisted sensitive system variables, or other encrypted DBMS functions.

1. Identify the configured keyring implementation:
SELECT * FROM mysql.component WHERE component_urn LIKE '%keyring%';
SHOW PLUGINS;
2. Determine whether the deployment uses one of the preferred vault-backed or enterprise key management options:
- component_keyring_kmip.
- component_keyring_hashicorp.
- component_keyring_oci.
3. If "component_keyring_kmip" is used, verify it is configured to communicate with an organization-approved Key Management Interoperability Protocol (KMIP) back end, such as Oracle Key Vault or another approved KMIP-compatible service.
4. If "component_keyring_hashicorp" is used, verify it is configured for an organization-approved HashiCorp Vault deployment and that associated transport layer security (TLS) and configuration files are protected from unauthorized access.
5. If "component_keyring_oci" is used, verify it is configured to an organization-approved Oracle Cloud Infrastructure (OCI) Vault deployment and protected in accordance with organizational policy.
6. If the deployment uses "component_keyring_file" or "component_keyring_encrypted_file", verify the organization has explicitly approved that implementation and documented compensating safeguards. Because these file-based modes are not intended as a regulatory compliance solution, they must not be treated as the preferred implementation for this requirement.
7. If the deployment uses deprecated plugins such as "keyring_okv", "keyring_aws", or "keyring_hashicorp", verify there is an approved migration plan to the corresponding components.

If the DBMS does not use an approved protected key-storage implementation or approved compensating safeguards for the selected keyring mode, this is a finding.

Fix Text

Configure MySQL 9.x to use an organization-approved protected key management implementation for cryptographic keys.

Preferred implementations are:
- component_keyring_kmip for approved KMIP back ends such as Oracle Key Vault.
- component_keyring_hashicorp for approved HashiCorp Vault deployments.
- component_keyring_oci for approved OCI Vault deployments.

Where file-based keyring modes such as "component_keyring_file" or "component_keyring_encrypted_file" are currently in use, do not treat them as the preferred long-term compliance solution. Migrate to an approved vault-backed or enterprise key management implementation unless the organization has explicitly documented and approved compensating safeguards for the file-based mode.

Also migrate off deprecated keyring plugins to their component replacements where applicable.