A directory traversal vulnerability was found in the ClairCore engine of Clair. An attacker can exploit this by supplying a crafted container image which, when scanned by Clair, allows for arbitrary file write on the filesystem, potentially allowing for remote code execution.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=2000795 | issue tracking third party advisory patch |
https://github.com/quay/claircore/pull/478 | third party advisory patch |
https://github.com/quay/clair/pull/1379 | third party advisory patch |
https://github.com/quay/clair/pull/1380 | third party advisory patch |
https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821 | third party advisory patch |
https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83 | third party advisory exploit |