SageMaker notebook instance allows IMDSv1

Severity
Medium
Service
SageMaker
Check ID
SAGEMAKER_NOTEBOOK_IMDSV1

What this check finds

A SageMaker notebook instance's minimum instance metadata service version is 1. A server-side request forgery in code running on the notebook can read its execution role's credentials from IMDSv1 without a token.

Passing looks like: SageMaker notebook requires IMDSv2.

How to fix it

aws sagemaker update-notebook-instance --notebook-instance-name NAME --instance-metadata-service-configuration MinimumInstanceMetadataServiceVersion=2 (stop the instance first).

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to SageMaker notebook instance allows IMDSv1
FrameworkControls
PCI-DSS v4.0.1
  • 1.3 Network access to and from the cardholder data environment is restricted
  • 7.2 Access to system components and data is appropriately defined and assigned
HIPAA Security Rule
  • 164.312(a)(1) Access Control — Unique User Identification
  • 164.312(e)(1) Implement technical security measures to guard against unauthorized access to ePHI in transit
SOC 2 — Trust Services Criteria
  • CC6.2 Role-Based Access Control
  • CC6.4 Network Security Controls
NIST SP 800-53 Rev5 (Moderate)
  • AC-6 Least Privilege
  • SC-7 Boundary Protection
NIST Cybersecurity Framework 2.0
  • PR.AA-05 Access permissions and authorizations are enforced with least privilege
  • PR.IR-01 Networks and environments are protected from unauthorized logical access and usage
ISO/IEC 27001:2022 Annex A
  • A.8.2 Privileged access rights
  • A.8.20 Networks security

AI risk mappings

AI risk taxonomies mapped to SageMaker notebook instance allows IMDSv1
FrameworkControls
MITRE ATLAS (Adversarial Threat Landscape for AI Systems)
  • AML.T0012 Valid Accounts

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More SageMaker checks

All SageMaker checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only