Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in OpenSCAP's offline scanning mode. In PROBE_OFFLINE_OWN mode, the OVAL file probes only prefix target paths with OSCAP_PROBE_ROOT instead of confining file access to the scanned root, and oval_fts follows symlinks without checking that the resolved target stays within it. When scanning an untrusted filesystem image, such as a container image or VM disk, an absolute symlink inside the image is resolved against the host's root filesystem. A crafted image can therefore make oscap read host files and include their contents in the scan results, or manipulate compliance results. When offline scans run with elevated privileges, as is typical, this can disclose host files to anyone able to read the scan results.