Scan Another

CVE Scan for portainer/agent:2.18.2

Docker image vulnerability scanner

157 Known Vulnerabilities in this Docker Image

10
Critical
71
High
67
Medium
9
Low
0
Info/ Unspecified/ Unknown
CVE IDSeverityPackageAffected VersionFixed VersionCVSS Score
CVE-2024-23652criticalbuildkit<0.12.50.12.510.0

Impact

A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system.

Patches

The issue has been fixed in v0.12.5

Workarounds

Avoid using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.

References

Relevance:

Since CVE-2024-23652 involves an arbitrary file deletion vulnerability in Buildkit during container image builds, it is generally **not relevant** for normal usage of the Portainer agent image, which typically runs as a pre-built deployment tool rather than a builder. It would only become critical if the agent is utilized within a pipeline that parses untrusted Dockerfiles or build instructions that can trigger the exploit via the `RUN --mount` parameter. In a standard monitoring and management scenario, this vulnerability does not impact the agent's core functionality or security posture. (Note: Relevance analysis is automatically generated and may require verification.)

Package URL(s):
  • pkg:golang/github.com/moby/buildkit@0.10.1-0.20220816171719-55ba9d14360a
CVE-2025-68121criticalpkg:golang/stdlib@1.18.2<1.24.131.24.1310.0
CVE-2023-24538criticalpkg:golang/stdlib@1.18.2<1.19.81.19.89.8
CVE-2023-24540criticalpkg:golang/stdlib@1.18.2<1.19.91.19.99.8
CVE-2024-23653criticalbuildkit<0.12.50.12.59.8
CVE-2024-24790criticalpkg:golang/stdlib@1.18.2<1.21.111.21.119.8
CVE-2024-41110criticaldocker>=19.03.0,<23.0.1523.0.159.4
CVE-2024-45337criticalcrypto<0.31.00.31.09.1
CVE-2025-22871criticalpkg:golang/stdlib@1.18.2<1.23.81.23.89.1
CVE-2026-33186criticalgrpc<1.79.31.79.39.1

Severity Levels

Exploitation could lead to severe consequences, such as system compromise or data loss. Requires immediate attention.

Vulnerability could be exploited relatively easily and lead to significant impact. Requires prompt attention.

Exploitation is possible but might require specific conditions. Impact is moderate. Should be addressed in a timely manner.

Exploitation is difficult or impact is minimal. Address when convenient or as part of regular maintenance.

Severity is not determined, informational, or negligible. Review based on context.

Sliplane Icon
About Sliplane

Sliplane is a simple container hosting solution. It enables you to deploy your containers in the cloud within minutes and scale up as you grow.

Try Sliplane for free

About the CVE Scanner

What is a CVE?

CVE stands for Common Vulnerabilities and Exposures. It is a standardized identifier for known security vulnerabilities, allowing developers and organizations to track and address potential risks effectively. For more information, visit cve.mitre.org.

About the CVE Scanner

The CVE Scanner is a powerful tool that helps you identify known vulnerabilities in your Docker images. By scanning your images against a comprehensive database of Common Vulnerabilities and Exposures (CVEs), you can ensure that your applications are secure and up-to-date. For more details, checkout the NIST CVE Database.

How the CVE Scanner Works

The CVE Scanner analyzes your Docker images against a comprehensive database of known vulnerabilities. It uses Docker Scout under the hood to provide detailed insights into affected packages, severity levels, and available fixes, empowering you to take immediate action.

Why CVE Scanning is Essential for Your Docker Images

With the rise of supply chain attacks, ensuring the security of your applications has become more critical than ever. CVE scanning plays a vital role in identifying vulnerabilities that could be exploited by attackers, especially those introduced through dependencies and third-party components. Regularly scanning and securing your Docker images is essential to protect your applications from these evolving threats.

Benefits of CVE Scanning

  • Enhanced Security: Detect and mitigate vulnerabilities before they are exploited.
  • Compliance: Meet industry standards and regulatory requirements for secure software.
  • Proactive Maintenance: Stay ahead of potential threats by addressing vulnerabilities early.

The Importance of Patching Docker Images

Patching your Docker images is a critical step in maintaining the security and stability of your applications. By regularly updating your images to include the latest security patches, you can address known vulnerabilities and reduce the risk of exploitation. This proactive approach ensures that your applications remain resilient against emerging threats and helps maintain compliance with security best practices.

Want to deploy this image?

Try out Sliplane - a simple Docker hosting solution. It provides you with the tools to deploy, manage and scale your containerized applications.