Skip to content

fix: swap the Lambda base image's .NET 10.0.13 runtime for 10.0.14 (CVE-2026-111497) - #23

Merged
Jossec101 merged 1 commit into
developfrom
fix/dotnet-runtime-10.0.14
Oct 26, 2026
Merged

Jossec101 merged 1 commit into
developfrom
fix/dotnet-runtime-10.0.14

Conversation

@Jossec101

Copy link
Copy Markdown
Contributor

public.ecr.aws/lambda/dotnet:10 (built 22 Oct) still ships .NET 10.0.13, which is vulnerable to CVE-2026-111497 (Brotli decoder out-of-bounds write), so a plain rebuild does not pick up the fix.

The base stage now removes the 10.0.13 Microsoft.NETCore.App and Microsoft.AspNetCore.App frameworks and copies the 10.0.14 ones from mcr.microsoft.com/dotnet/aspnet:10.0.14. Drop that step once AWS publishes a base image with 10.0.14 or later.

Verified locally:

  • /var/lang/bin/dotnet --list-runtimes in the built image shows only 10.0.14.
  • Invoking the function through the image's runtime interface emulator loads the assembly and runs the handler, failing only at the expected No RegionEndpoint or ServiceURL configured (no AWS config locally).

@Jossec101
Jossec101 marked this pull request as ready for review October 26, 2026 12:42
@Jossec101
Jossec101 merged commit 4fa1640 into develop Oct 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants