Chainguard secures the web: New Laravel and WordPress images
As of 2024, WordPress powers approximately 43.2% of all websites on the internet, which translates to 63.3% of the content management system (CMS) market. This astonishing figure gives a sense of how much the world wide web’s security depends on WordPress being safe.
Laravel, on the other hand, is a PHP framework used for web application development rather than a CMS. Laravel is highly regarded among developers for its elegant syntax, robust features, and the efficiency it brings to building web applications.
It already has 86,124 stars in GitHub which is an astounding figure. And some analysts see Laravel growing exponentially from their large and helpful community, with lively conferences and a new version on the horizon. Developers are increasingly frustrated with the instability and rapid change in other PHP frameworks, making Laravel's stability more attractive.
We are excited to announce that we have built WordPress and Laravel container images that are considerably more secure than any other alternative currently available. It pleases us to say that we have contributed to make a considerable chunk of the world wide web a lot safer today. Read on to learn all the details.
![Bar graph of popularity of web frameworks and technologies among Stack Overflow users in 2023.](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fl47ir7rfykkn%2F2UuUdfy6ndxKl8I9hVgVEl%2F0e70f15a5292dc509e06edf83698a766%2Fwordpress_1.png&w=640&q=75)
Are developers building WordPress sites using a safe source?
WordPress takes security very seriously and their security team has implemented a comprehensive range of measures to protect its users and their data throughout the years. This includes a dedicated Security Team, responsible disclosure process, regular updates and patches, and automated background updates.
Additionally, WordPress offers secure APIs for developers, input sanitization functions, authentication and session management, XSS protection, access control, CSRF protection, component monitoring, XML processing, SSRF protection, and theme and plugin security guidelines. The WordPress team continuously evaluates and updates these security measures to ensure the best possible protection for its users.
However, many developers are using a container image in order to build their WordPress sites. The official WordPress image is widely used among developers who leverage containerization in their workflows. It simplifies setup, ensures consistency across environments, and eases WordPress installation management. The image is regularly updated with the latest WordPress releases, security patches, and PHP versions.
From Stack Overflow’s 2023 Insight report, WordPress is the most widely used CMS and development platform among its 80k respondents. Laravel is high up there, too.
*resources: WordPress official image, bitnami WordPress image, Chainguard WordPress Image
![Image of vulnerability scan of Wordpress official image, showing several CVEs.](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fl47ir7rfykkn%2F6KiWLKMInaEqNeHCDe37qo%2F44678415f8316ec3f7ffd9196a7146fc%2Fwordpress_2.png&w=1080&q=75)
![Image of vulnerability scan of bitnami's Wordpress image, showing less (but still several critical and other) CVEs.](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fl47ir7rfykkn%2F338EWvBspMUxK3jyVss8uZ%2Fcea525bc56f6bad5b256a6eef3a0c6bc%2Fwordpress_3.png&w=1080&q=75)
![Image of vulnerability scan of Chainguard's Wordpress Image with 0 critical CVEs at a fraction of the size.](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fl47ir7rfykkn%2F1HZ1TyZfCqfW7gM7IYf4Ex%2F1c403ca52ebb013787267b2b11ed88da%2Fwordpress_4.png&w=1080&q=75)
Are Laravel and WordPress vulnerable?
Laravel
Using official container images for frameworks and content management systems like Laravel, and WordPress can introduce certain vulnerabilities and a potential blast radius that can be significant if not managed properly. Here's a detailed breakdown:
![Image of three Laravel images side-by-side: laravel official, bitnami, and Chainguard.](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fl47ir7rfykkn%2F4ddPevdbShGk0JsnUBvrum%2F622d4b15e3c96e3b7a80d83416c71993%2Fwordpress_5.png&w=1080&q=75)
*resources: Laravelfans image, bitnami Laravel image, Chainguard Laravel Image
![Image of vulnerability scan of Laravel official image, showing several CVEs.](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fl47ir7rfykkn%2F1RU0jY9cSBta2UotsnImOD%2F327e2c8f3a44ca3f20364b0ba0070080%2Fwordpress_6.png&w=1080&q=75)
![Image of vulnerability scan of bitnami's Laravel image, showing less (but still several high severity) CVEs.](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fl47ir7rfykkn%2F1qToGV46CVngNCAZSC7MH5%2Fea22292e4bd7762252968a5d6cdccd9f%2Fwordpress_7.png&w=1080&q=75)
![Image of vulnerability scan of bitnami's Laravel image, showing less (but still several high severity) CVEs.](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fl47ir7rfykkn%2F319wjv7DL2iGPYZeWxxbvg%2F788272f80d792cc774e04b2e0d293ee4%2Fwordpress_8.png&w=1080&q=75)
What are Chainguard’s Laravel and WordPress Images?
Chainguard Images are minimal, hardened images that are based on the Chainguard platform. They are designed to make it easy for developers to build secure applications without having to worry about the underlying security of their software supply chain.
There are several benefits to using Chainguard Images, including:
Security:
Chainguard Images are built using the latest security best practices and are constantly updated to address new vulnerabilities.
Compliance:
Chainguard Images can help organizations comply with security regulations, such as PCI DSS and HIPAA.
Ease of use:
Chainguard Images are easy to use and can be deployed with a few simple commands.
The new Laravel and WordPress images
Chainguard’s Laravel and WordPress Images offer a robust solution to address the security vulnerabilities associated with outdated WordPress software and obsolete PHP versions. How? Let me explain:
1. Daily builds from source:
Chainguard Images are designed to be built from source code daily. This approach ensures that the WordPress installation always includes the latest security patches and updates. By rebuilding the entire image daily, Chainguard can incorporate the most recent fixes and improvements as soon as they are available.
2. Granular package management:
Chainguard's approach of dividing the WordPress source code into small packages and subpackages allows for more precise version control. This granularity enables Chainguard to update specific components without affecting the entire system, reducing the risk of introducing compatibility issues while still addressing vulnerabilities.
3. Targeted version bumping:
When vulnerabilities are discovered in specific packages or subpackages, Chainguard can quickly bump the versions of these affected components. This targeted approach ensures that security fixes are applied promptly without waiting for a full WordPress release cycle.
4. Continuous vulnerability scanning:
As part of the daily build process, Chainguard can implement automated vulnerability scanning. This proactive measure helps identify potential security issues before they can be exploited.
5. Integration with trusted sources:
Chainguard's system can poll the National Vulnerability Database (NVD) and other trusted sources for the latest disclosed vulnerabilities. This integration ensures that Chainguard’s WordPress Image is always built with the most up-to-date security information available.
6. Behavioral analysis:
By rebuilding the image daily, Chainguard can also implement checks for abhorrent behavior in the codebase or its dependencies. This can help catch malicious code insertions or unexpected changes in functionality that might indicate a security breach.
7. PHP version management:
The daily build process allows Chainguard to easily manage and update the PHP version used by WordPress, ensuring that the latest secure version of PHP is always used.
8. Minimized attack surface:
By rebuilding from source daily and including only necessary components, Chainguard Images can maintain a minimal attack surface, reducing the potential entry points for attackers.
Chainguard Images are a valuable tool for developers who want to secure their applications. They provide a secure and up-to-date software supply chain, making it easy for developers to build secure applications. Get started today by visiting our Chainguard Images site.
Ready to Lock Down Your Supply Chain?
Talk to our customer obsessed, community-driven team.