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-289344

CAT I (High)

The MySQL Database Server 9.x must use National Security Agency (NSA)-approved cryptography to protect classified information in accordance with the data owner's requirements.

Rule ID

SV-289344r1319270_rule

STIG

Oracle MySQL 9.x Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-002450

Discussion

Use of weak or untested encryption algorithms undermines the purposes of utilizing encryption to protect data. The application must implement cryptographic modules adhering to the higher standards approved by the federal government since this provides assurance they have been tested and validated. It is the responsibility of the data owner to assess the cryptography requirements in light of applicable federal laws, Executive Orders, directives, policies, regulations, and standards. NSA-approved cryptography for classified networks is hardware based. This requirement addresses the compatibility of a database management system (DBMS) with the encryption devices.

Check Content

Review the system documentation and data owner requirements to determine whether classified information is processed, stored, or transmitted by MySQL.

If classified information is not processed, stored, or transmitted by MySQL, this is not a finding.

For classified information, verify that the cryptographic protection used by the system is an NSA-approved cryptographic solution meeting the data owner's requirements. MySQL FIPS mode alone is not evidence that an NSA-approved cryptographic solution for classified information is provided.

Where FIPS-validated cryptography is additionally required, identify the cryptographic module actually used by MySQL at runtime.

Verify that the cryptographic module is covered by an applicable National Institute of Standards and Technology (NIST) Cryptographic Module Validation Program (CMVP) validation to FIPS 140-3 and is installed and operated in the approved configuration described by the module's Security Policy.

For operating system package installations using an operating-system-provided OpenSSL/FIPS provider, verify that the specific provider, version, and operating environment used by MySQL are within the scope of the applicable FIPS 140-3 CMVP validation.

For generic binary, tar, source, Windows, or macOS installations using a separately supplied OpenSSL/FIPS provider, verify that the specific OpenSSL cryptographic module used by MySQL is FIPS 140-3 validated and that the deployment conforms to the provider's validated operational environment and Security Policy.

Do not consider the ability to enable FIPS mode, by itself, evidence that the cryptographic module is CMVP validated.

Determine whether MySQL is configured to operate in FIPS mode:
SELECT @@ssl_fips_mode;

If FIPS-validated cryptography is required and "ssl_fips_mode" is not "ON" or "STRICT", this is a finding.

If "ssl_fips_mode" is "ON" or "STRICT" but the cryptographic module actually used by MySQL cannot be shown to be covered by an applicable FIPS 140-3 CMVP validation, this is a finding.

Review the permitted transport layer security (TLS) versions:
SELECT VARIABLE_NAME, VARIABLE_VALUE
FROM performance_schema.global_variables
WHERE VARIABLE_NAME = 'tls_version';

If the configured TLS versions do not comply with the organization-approved cryptographic policy, this is a finding.

Review the configured TLS cipher suites:
SELECT VARIABLE_NAME, VARIABLE_VALUE
FROM performance_schema.global_variables
WHERE VARIABLE_NAME IN ('ssl_cipher', 'tls_ciphersuites');

Verify that only cipher suites permitted by the organization-approved cryptographic policy are configured.

Review the server certificate and associated cryptographic configuration and verify that the certificate, public key algorithm, key length, signature algorithm, and issuing authority comply with the data owner's requirements.

If required cryptographic protections are not provided using the organization-approved and, where applicable, FIPS 140-3-validated or NSA-approved cryptographic mechanisms, this is a finding.

Fix Text

Configure cryptographic functions to use NSA-approved cryptography-compliant algorithms.

Turn on MySQL FIPS mode:
Edit my.cnf
[mysqld]
ssl_fips_mode=ON

or:
[mysqld]
ssl_fips_mode=STRICT

To restrict TLS versions:
[mysqld]
tls_version='TLSv1.2,TLSv1.3'

Example to define ciphers for TLSv1.2:
[mysqld]
ssl_ciphers='ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-RSA-AES256-GCM-SHA384,DHE-RSA-AES128-GCM-SHA256,DHE-DSS-AES128-GCM-SHA256,DHE-DSS-AES256-GCM-SHA384,DHE-RSA-AES256-GCM-SHA384,ECDHE-ECDSA-CHACHA20-POLY1305,ECDHE-RSA-CHACHA20-POLY1305'

If TLSv1.3 is enabled, the "tls_ciphersuites" setting must contain all, or a subset of the following ciphers based on certificates being used by the server and client. Enabling FIPS mode will limit the OpenSSL library to operate within the FIPS object module.

Example to define TLS ciphers for TLSv1.3:
[mysqld]
tls_ciphersuites='TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256,TLS_AES_128_CCM_SHA256,TLS_AES_128_CCM_8_SHA256'

After adding any entries to the "my.cnf" file, restart mysqld.

Create and use DoW-approved certificates for asymmetric keys used by the database.