惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
aimingoo的专栏
aimingoo的专栏
腾讯CDC
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
F
Fortinet All Blogs
G
Google Developers Blog
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
小众软件
小众软件
Engineering at Meta
Engineering at Meta
博客园_首页
B
Blog RSS Feed
D
Docker
M
MIT News - Artificial intelligence
爱范儿
爱范儿
I
InfoQ

RapidFort Blog

How to Use RapidFort’s Curated Distroless Language Images Introducing a Bazel Ruleset for RapidFort’s deb-based Images RapidFort Joins Akrites: A Coordinated Response to the Open-Source Vulnerability Crisis DORA Is Not About Compliance. It Is About Resilience. Risk Over Compliance: What CISA RapidFort Test Blog Blog 4 Test Test Blog 3 Test 2 Mythos Vulnerability Assessment: Eliminate Real Risk, Not Just CVEs Securing Modern AI Workloads for National Security RBOM vs SBOM: The Critical Difference Between Software Inventory and Runtime Reality The Remediation Gap: When AI-Powered Discovery Outpaces Human Defense You Only Control 15% of Your Software. Here's How to Secure the Rest. Free ATO Readiness Cohort: Shorten Your Path to Federal Market US Cyber Strategy & Software Supply Chain Security EU CRA for Containers & Kubernetes: Scope, Deadlines & Steps PyPI, npm, and the New Frontline of Software Supply Chain Attacks GitHub Actions Security Audit: CI/CD Risk & Shell Injection What Is RBOM™? Runtime Bill of Materials vs SBOM Explained EU Cyber Resilience Act & Open Source Risk RapidFort Raises $42M Series A for Software Supply Chain Security Fintech Container Security 2026: SASM & RBOM™ RF Analyzer: Precision Container CVE Intelligence Kimia: Secure Kaniko Alternative for Kubernetes Builds AI-Powered Cyberattacks: How Defenders Must Adapt RapidFort Pioneered DoD Container Hardening | Industry Standard Turn Scanner Output into Verified CVE Elimination RapidFort's Giant Washing Machine: Cleaning Open Source at Scale Why SBOMs Fail: RBOM™ & Near-Zero CVE Images Fix the Gap
Delete 78% of Your Redis Container - It Still Works 100%
Vinod Gupta · 2022-07-27 · via RapidFort Blog

It may seem far-fetched, but we deleted almost 80% of the code from the Redis Bitnami container image and it still does everything we need. No tricks, no rabbits up our sleeves. It turns out that most of the files in the Bitnami distribution are unnecessary and contain security issues. This is a common problem for all popular container images on Docker Hub.

Getting rid of all those unnecessary files makes the image more portable and much more secure.

Unused code contains CVEs

Cloud-native infrastructure is built around open source technologies that are fantastic, but also contain inherent security problems. Most companies using Docker containers for cloud-native applications are overlooking - or are overwhelmed by -the number of vulnerabilities in their open source container images. There can literally be thousands of vulnerabilities in a single container image.

To counter this, Google, AWS, and Docker Hub have all developed tools to scan containers and show Common Vulnerabilities and Exposures (CVE) reports. Unfortunately, nothing has been done to actually fix the CVEs in these open source images, and it's quickly becoming the elephant in the room. 

The Redis Bitnami image, for example, contains networking tools and command line utilities that give malicious actors unnecessary opportunities to break in and move laterally. Using our free scanner and command line utilities, we shrank the Bitnami image from 117MB to just over 30MB, eliminating 77% of the known vulnerabilities and 91% of the installed packages. This resulted in an attack surface reduction of 72%.

Stop using vulnerable images, start using hardened images

We want to give back to the community by providing free, hardened, and optimized container images for the most popular downloads on Docker Hub. You can learn all about it on our GitHub page: https://github.com/rapidfort/community-images. They are completely free to use and updated daily.

How do we build these images?

The process of creating hardened, optimized images is very simple:

  1. Download the latest version of the image, e.g. `docker pull redis:latest`
  2. Add the RapidFort instrumentation to the image (we call this a “stub”)
  3. Run functional coverage scripts and track what files are used
  4. Delete everything that’s not used

Developers can use RapidFort to generate an instrumented image called a "stub." This stub can run in a test environment that exercises (or covers) expected workflows using a coverage script. (Please note that the coverage script is not the same as the testing script. The coverage script needs to cover primary functionality and doesn't need to worry about the output or functional/integration testing.

Stubs are very small and are built with a single command. Once the coverage script executes on the container image, RapidFort provides a hardened image, which contains only the software required to run the workload. Then it provides a lean, secure image that can be tested in a CI/CD pipeline and released/deployed to production.

If you’d like to see how to harden a container, watch our tutorial.

How you can help and contribute

We are happy to release our first version of images, but the work is not done until we have covered all the popular Docker Hub images. We are looking for volunteers to join our Community Images project and contribute. If you’re interested in reducing the number of vulnerabilities your infrastructure carries, please download our hardened images and look through our coverage tests. We would love to work with you to improve and add to our coverage scripts.

If you run into any issues, please feel free to contribute or open an issue. https://github.com/rapidfort/community-images/issues/new/choose

Get started with our community images

We wouldn’t have called these “community images” if we didn’t want community participation. We would love for you to join our public Slack channel and try the images yourself. Please provide feedback and ask questions in GitHub.

And if you want to learn more about RapidFort, we are more than happy to give you a demo. We also have a free tier offering so you can secure any of your containers.