Fix CVE-2025-22871 and migrate Lambda runtime to AL2023#27
Open
Fix CVE-2025-22871 and migrate Lambda runtime to AL2023#27
Conversation
- Bump Go version to 1.23 / toolchain go1.23.8 to resolve CVE-2025-22871 (net/http request smuggling vulnerability in Go stdlib) - Migrate Lambda runtime from provided.al2 to provided.al2023 (Amazon Linux 2 reached end of standard support June 2025) Ref: ITSM-816
tuncerkaplankiran
approved these changes
Feb 24, 2026
Member
tuncerkaplankiran
left a comment
There was a problem hiding this comment.
After merge verify by installing new version of lambda forwarder as stated in our docs page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
net/httprequest smuggling vulnerability baked into the compiled binary's stdlibprovided.al2toprovided.al2023(AL2 reached end of standard support June 2025)Important Note
The CircleCI build image (
233765244907.dkr.ecr.us-east-1.amazonaws.com/build:latest) must have Go 1.23.8+ installed for the CVE fix to take effect in production builds. The binary is statically compiled (CGO_ENABLED=0), so the AL2023 runtime change has no compatibility risk.Files Changed
go.modgo 1.22->go 1.23,toolchain go1.23.0->toolchain go1.23.8template.yaml.tmplRuntime: provided.al2->Runtime: provided.al2023README.md--runtime provided.al2->--runtime provided.al2023Test Plan
go buildcompiles cleanlygo test ./...)Ref: ITSM-816