Security/update ecs ec2 #233
Open
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.
Pull Request: Security Updates for LCA
Summary
This PR addresses security vulnerabilities in container images and EC2 instances by updating vulnerable packages to their latest patched versions. All security fixes are integrated into the CloudFormation templates and Dockerfiles, requiring no additional scripts or manual intervention for new deployments.
Problem Statement
Security scans identified vulnerabilities in:
These vulnerabilities range from medium to critical severity and require patching to maintain security compliance.
Solution
Container Images (ECS)
apt-get upgradecommands for vulnerable packages--platform=linux/amd64)EC2 Instances (Asterisk Server)
UbuntuProTokenparameter for ESM accessCode Compatibility
prettyPrinttotransport)Files Changed
Core Application Files
Documentation Added
Security Vulnerabilities Addressed
Container Images
EC2 Instances
Testing Performed
Deployment Impact
For New Deployments
✅ Automatic - All security fixes are included when deploying with updated CloudFormation templates. No additional steps required.
For Existing Deployments
ECS Containers:
EC2 Instances:
See documentation in
security_update_delete_before_merge/for detailed instructions.Rollback Plan
ECS Containers
EC2 Instances
Breaking Changes
None - All updates are backward compatible and maintain existing functionality.
Documentation
Comprehensive documentation has been added to guide users through:
Future Maintenance
Recommended Update Schedule
Monitoring
Checklist
References
Reviewers: Please verify: