Skip to main content

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVE-2024-5154

Severity High
Score 8.1/10

Summary

A flaw was found in github.com/cri-o/cri-o versions 1.28.6, 1.29.4, and 1.30.0. A malicious container can create a symbolic link pointing to an arbitrary directory or file on the host via directory traversal ("../"). This flaw allows the container to read and write to arbitrary files on the host system which leads to an Exposure of Resource to Wrong Sphere vulnerability.

  • LOW
  • NETWORK
  • HIGH
  • CHANGED
  • REQUIRED
  • HIGH
  • HIGH
  • NONE

CWE-22 - Path Traversal

Path traversal (or directory traversal), is a vulnerability that allows malicious users to traverse the server's root directory, gaining access to arbitrary files and folders such as application code & data, back-end credentials, and sensitive operating system files. In the worst-case scenario, an attacker could potentially execute arbitrary files on the server, resulting in a denial of service attack. Such an exploit may severely impact the integrity, confidentiality, and availability of an application.

Advisory Timeline

  • Published