Skip to content

fix: Apply Debian security updates in the Go feature server image - #7247

Open
princeizhere wants to merge 1 commit into
feast-dev:masterfrom
princeizhere:fix/go-feature-server-debian-security-updates
Open

princeizhere wants to merge 1 commit into
feast-dev:masterfrom
princeizhere:fix/go-feature-server-debian-security-updates

Conversation

@princeizhere

@princeizhere princeizhere commented Nov 26, 2026 •

Copy link
Copy Markdown

What this PR does / why we need it:

The runtime stage of the Go feature server image is built on debian:trixie-slim, and the slim base image can be behind on Debian security updates. That's how the 0.68.0 image ended up with the OpenSSL, glibc and zlib versions flagged in #7217.

This adds apt-get upgrade to the runtime stage, so each build installs whatever is pending in trixie-security. Then nobody has to pin one package per advisory, the way #7096 had to for libbrotli1. I kept the libbrotli1 install as it is so the change stays small.

I built the image locally and compared it with the published one:

package      0.68.0 image                  this PR
libc6        2.41-12+deb13u4               2.41-12+deb13u5
openssl      3.5.7-1~deb13u3               3.5.9-1~deb13u1
libssl3t64   3.5.7-1~deb13u3               3.5.9-1~deb13u1
zlib1g       1:1.3.dfsg+really1.3.1-1+b1   1:1.3.dfsg+really1.3.1-1+deb13u1
libzstd1     1.5.7+dfsg-1                  1.5.7+dfsg-1+deb13u1
passwd       1:4.17.4-2                    1:4.17.4-2+deb13u1

apt list --upgradable comes back empty in the new image, and ./feast --help works.

Users will only get these fixes once the image is rebuilt and pushed, since the published 0.68.0 tag stays as it is.

Which issue(s) this PR fixes:

Fixes #7217

Checks

  • I've made sure the tests are passing.
  • My commits are signed off (git commit -s)
  • My PR title follows conventional commits format

Testing Strategy

  • Unit tests
  • Integration tests
  • Manual tests
  • Testing is not required for this change

Signed-off-by: Prince Kumar <princekumar05.work@gmail.com>
@princeizhere
princeizhere requested a review from a team as a code owner November 26, 2026 15:31

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 2 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

@codecov-commenter

codecov-commenter commented Nov 26, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.26%. Comparing base (f2abc7c) to head (bfd4b92).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7247   +/-   ##
=======================================
  Coverage   54.26%   54.26%           
=======================================
  Files         467      467           
  Lines       59041    59041           
  Branches     8712     8712           
=======================================
+ Hits        32040    32041    +1     
  Misses      24837    24837           
+ Partials     2164     2163    -1     
Flag Coverage Δ
go-feature-server 30.96% <ø> (ø)
python-unit 55.87% <ø> (+<0.01%) ⬆️
see 1 file with indirect coverage changes

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2abc7c...bfd4b92. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
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.

Security: High-severity CVEs in Debian 13.7 base layer of go-feature-server:0.68.0 (OpenSSL, glibc, zlib)

2 participants