AWS Security ChangesHomeSearch

AWS AmazonECS medium security documentation change

Service: AmazonECS · 2025-12-07 · Security-related medium

File: AmazonECS/latest/developerguide/ecs-optimized_AMI.md

Summary

Added documentation about version-locked critical GPU-related packages in AL2023 AMIs and procedures for modifying them, including security update considerations.

Security assessment

The changes address security-adjacent concerns by documenting package version locking to prevent unintended modifications that could compromise system stability/security. While not explicitly fixing a vulnerability, the documentation update helps maintain secure configurations by controlling updates to critical components like NVIDIA drivers and kernel modules.

Diff

diff --git a/AmazonECS/latest/developerguide/ecs-optimized_AMI.md b/AmazonECS/latest/developerguide/ecs-optimized_AMI.md
index 23460195f..ec958abe6 100644
--- a//AmazonECS/latest/developerguide/ecs-optimized_AMI.md
+++ b//AmazonECS/latest/developerguide/ecs-optimized_AMI.md
@@ -5 +5 @@
-Applying security updates
+Applying security updatesVersion-locked packages
@@ -80,0 +81,36 @@ If you want to re-enable security updates at launch, you can add the following l
+## Version-locked packages in Amazon ECS-optimized AL2023 GPU AMIs
+
+Certain packages are critical for correct, performant behavior of GPU functionality in Amazon ECS-optimized AL2023 GPU AMIs. These include:
+
+  * NVIDIA drivers (`nvidia*`)
+
+  * Kernel modules (`kmod*`)
+
+  * NVIDIA libraries (`libnvidia*`)
+
+  * Kernel packages (`kernel*`)
+
+
+
+
+###### Note
+
+This is not an exhaustive list. The complete list of locked packages are available with `dnf versionlock list`
+
+These packages are version-locked to ensure stability and prevent unintentional changes that could disrupt GPU workloads. As a result, these packages should generally be modified within the bounds of a managed process that gracefully handles potential issues and maintains GPU functionality.
+
+To prevent unintended modifications, the `dnf versionlock` plugin is used on these packages.
+
+If you wish to modify a locked package, you can:
+    
+    
+    # unlock a single package
+    sudo dnf versionlock delete $PACKAGE_NAME
+    
+    # unlock all packages
+    sudo dnf versionlock clear
+
+###### Important
+
+When updates to these packages are necessary, customers should consider using the latest AMI version that includes the required updates. If updating existing instances is required, a careful approach involving unlocking, updating, and re-locking packages should be employed, always ensuring GPU functionality is maintained throughout the process.
+