CNTR-R2-000800 Rancher RKE2 must store only cryptographic representations of passwords.

Information

Secrets, such as passwords, keys, tokens, and certificates should not be stored as environment variables. These environment variables are accessible inside RKE2 by the "Get Pod" API call, and by any system, such as CI/CD pipeline, which has access to the definition file of the container. Secrets must be mounted from files or stored within password vaults.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Any secrets stored as environment variables must be moved to the secret files with the proper protections and enforcements or placed within a password vault.

See Also

https://workbench.cisecurity.org/benchmarks/0

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CAT|II, CCI|CCI-000196, CCI|CCI-004062, Rule-ID|SV-254567r1016559_rule, STIG-ID|CNTR-R2-000800, Vuln-ID|V-254567

Plugin: Unix

Control ID: cb2f3a44eb738b2dae1d5f49b3fa871b950f2e5d71f571f6b6afd7565e0218e5