We are using AWS ECR for managing docker images. I enabled "Scan on push" while creating repository. We are building the docker images on Linux Kernel which has version of "5.3.0-40-generic".
After Pushing those images to repository, I see a few Critical Vulnerabilities. I am getting the Link for every issue. I tried understanding each issue.
If the issue is fixed, they are saying to use the package with different version which is fixed.
How can i install the fixed version while building the docker image?