Skip to content

Commit

Permalink
Arize get rid of ebay dev/suid guid CVEs (gazette#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddowker committed Nov 7, 2023
1 parent 2c8515c commit 1545ac3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mk/ci-release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ RUN apt-get update -y \
COPY * /usr/local/bin/
RUN mv /usr/local/bin/librocksdb.so* /usr/local/lib/ && ldconfig

# Arize - remove a few base utilities flagged by security scans as having suid/sgid set.
# Note: we did not see these bits set ourselves when deploying in our test cluster.
RUN rm -f /usr/bin/mount /usr/bin/umount /usr/bin/su /usr/bin/wall

# Run as non-privileged "gazette" user.
RUN useradd gazette --create-home --shell /usr/sbin/nologin
USER gazette
Expand Down

0 comments on commit 1545ac3

Please sign in to comment.