Skip to content

update linux libc in hasura image to mitigate CVE-2022-49770#1850

Merged
dandelany merged 1 commit into
developfrom
fix/hasura-security-libc
Jul 15, 2026
Merged

update linux libc in hasura image to mitigate CVE-2022-49770#1850
dandelany merged 1 commit into
developfrom
fix/hasura-security-libc

Conversation

@dandelany

Copy link
Copy Markdown
Collaborator

Description

Updates our hasura image to update linux-libc-dev to handle CVE-2022-49770 from recent failing Trivy security scans on the hasura container.

Verification

Security scan should pass on this branch. Also you can use this command to check the libc version on a container:

docker run --rm --entrypoint dpkg-query aerie_hasura:test -W -f='${Version}\n' linux-libc-dev
# now returns 5.4.0-216.236, > 5.4.0-144.161 (fixed version)

Future work

This is an ad-hoc fix for this particular vulnerability. Long-term we should upgrade the hasura base image to a newer version, the one we're using (v2.12.1.cli-migrations-v3) is pretty old

@sonarqubecloud

Copy link
Copy Markdown

@dandelany
dandelany merged commit 4971d09 into develop Jul 15, 2026
33 of 37 checks passed
@dandelany
dandelany deleted the fix/hasura-security-libc branch July 15, 2026 07:56
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