Skip to content

[ide-proxy] Fix CVE-2019-1010022 by not copying system binaries into final image#21329

Merged
geropl merged 1 commit intomainfrom
fix/ide-proxy-cve-2019-1010022
Mar 5, 2026
Merged

[ide-proxy] Fix CVE-2019-1010022 by not copying system binaries into final image#21329
geropl merged 1 commit intomainfrom
fix/ide-proxy-cve-2019-1010022

Conversation

@geropl
Copy link
Member

@geropl geropl commented Mar 5, 2026

The ide-proxy Dockerfile's compress stage copied local-app binaries into /bin/, then COPY --from=compress /bin pulled the entire directory into the final image — including glibc system binaries like ldconfig. The scanner flags this as CVE-2019-1010022 (glibc stack guard mitigation bypass, CVSS 9.8).

This change uses a dedicated /app-bin/ directory in the compress stage so only the intended gitpod-local-companion binaries are included in the final image.

fixes CLC-2225

…final image

The compress stage copied local-app binaries into /bin, then
COPY --from=compress /bin pulled the entire directory — including
glibc's ldconfig — into the final image. Use a dedicated /app-bin
directory so only the intended binaries are included.

fixes CLC-2225

Co-authored-by: Ona <no-reply@ona.com>
@geropl geropl marked this pull request as ready for review March 5, 2026 11:37
@geropl geropl requested a review from a team as a code owner March 5, 2026 11:37
@geropl geropl merged commit 7610dcb into main Mar 5, 2026
15 checks passed
@geropl geropl deleted the fix/ide-proxy-cve-2019-1010022 branch March 5, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants