{"id":"CVE-2021-3762","aliases":["GHSA-mq47-6wwv-v79w","GO-2022-0346"],"summary":"A directory traversal vulnerability was found in the ClairCore engine of Clair.","published_at":"2021-09-28T12:00:00Z","modified_at":"2024-08-03T17:09:08.89Z","products":[],"rating":{"severity":"high","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":true,"malicious":false,"red_hat":"Critical","vendor_ratings":[{"source":"Red Hat","rating":"Critical"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.04814999923110008,"percentile":0.9215400218963623,"date":"2026-11-19T00:00:00Z"},"priority":6.8,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"Go","package":"github.com/quay/claircore","purl":"pkg:golang/github.com/quay/claircore","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.8"}]}],"fixed":["0.4.8"],"provider":"osv","source":"GHSA-mq47-6wwv-v79w","relation":"self"},{"ecosystem":"Go","package":"github.com/quay/claircore","purl":"pkg:golang/github.com/quay/claircore","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.1.0"}]}],"fixed":["1.1.0"],"provider":"osv","source":"GHSA-mq47-6wwv-v79w","relation":"self"},{"ecosystem":"Go","package":"github.com/quay/claircore","purl":"pkg:golang/github.com/quay/claircore","ranges":[{"type":"SEMVER","events":[{"introduced":"0.5.0"},{"fixed":"0.5.5"}]}],"fixed":["0.5.5"],"provider":"osv","source":"GHSA-mq47-6wwv-v79w","relation":"self"},{"ecosystem":"Go","package":"github.com/quay/claircore","purl":"pkg:golang/github.com/quay/claircore","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}],"fixed":["1.1.0"],"provider":"osv","source":"GO-2022-0346","relation":"self"},{"ecosystem":"NVD","package":"redhat:clair","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.6"},{"fixed":"0.4.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0.5.3"},{"fixed":"0.5.5"}]}],"fixed":["0.4.8","0.5.5"],"provider":"nvd","source":"CVE-2021-3762","relation":"self"},{"ecosystem":"NVD","package":"redhat:quay","versions":["3.5.6"],"provider":"nvd","source":"CVE-2021-3762","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"fixed","packages":["quay/clair-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2021:3665"],"provider":"redhat-vex","source":"CVE-2021-3762"},{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"not_affected","packages":["quay/quay-bridge-operator-bundle","quay/quay-bridge-operator-rhel8","quay/quay-builder-qemu-rhcos-rhel8","quay/quay-builder-rhel8","quay/quay-container-security-operator-bundle","quay/quay-container-security-operator-rhel8","quay/quay-operator-bundle","quay/quay-operator-rhel8","quay/quay-rhel8"],"package_count":9,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-3762"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-3762","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-3762","license":"CC-BY-4.0","published_at":"2022-03-03T21:41:19Z","modified_at":"2024-08-03T17:09:08.89Z","summary":"A directory traversal vulnerability was found in the ClairCore engine of Clair.","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2000795"},{"type":"WEB","url":"https://github.com/quay/claircore/pull/478"},{"type":"WEB","url":"https://github.com/quay/clair/pull/1379"},{"type":"WEB","url":"https://github.com/quay/clair/pull/1380"},{"type":"WEB","url":"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821"},{"type":"WEB","url":"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83"}]},{"provider":"nvd","source_id":"CVE-2021-3762","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3762","severity":[],"affected":[{"ecosystem":"NVD","package":"redhat:clair","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.6"},{"fixed":"0.4.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0.5.3"},{"fixed":"0.5.5"}]}],"fixed":["0.4.8","0.5.5"],"provider":"nvd","source":"CVE-2021-3762","relation":"self"},{"ecosystem":"NVD","package":"redhat:quay","versions":["3.5.6"],"provider":"nvd","source":"CVE-2021-3762","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-mq47-6wwv-v79w","relation":"self","url":"https://osv.dev/vulnerability/GHSA-mq47-6wwv-v79w","license":"CC-BY-4.0","published_at":"2022-03-04T00:00:16Z","modified_at":"2023-11-08T04:06:18.944877Z","summary":"Path traversal in claircore","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GHSA-mq47-6wwv-v79w"}],"affected":[{"ecosystem":"Go","package":"github.com/quay/claircore","purl":"pkg:golang/github.com/quay/claircore","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.8"}]}],"fixed":["0.4.8"],"provider":"osv","source":"GHSA-mq47-6wwv-v79w","relation":"self"},{"ecosystem":"Go","package":"github.com/quay/claircore","purl":"pkg:golang/github.com/quay/claircore","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.1.0"}]}],"fixed":["1.1.0"],"provider":"osv","source":"GHSA-mq47-6wwv-v79w","relation":"self"},{"ecosystem":"Go","package":"github.com/quay/claircore","purl":"pkg:golang/github.com/quay/claircore","ranges":[{"type":"SEMVER","events":[{"introduced":"0.5.0"},{"fixed":"0.5.5"}]}],"fixed":["0.5.5"],"provider":"osv","source":"GHSA-mq47-6wwv-v79w","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3762"},{"type":"WEB","url":"https://github.com/quay/clair/pull/1379"},{"type":"WEB","url":"https://github.com/quay/clair/pull/1380"},{"type":"WEB","url":"https://github.com/quay/claircore/pull/478"},{"type":"WEB","url":"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821"},{"type":"WEB","url":"https://github.com/quay/claircore/commit/dff671c665141f126c072de8a744855d4916c9c7"},{"type":"WEB","url":"https://github.com/quay/claircore/commit/ed5f52aec1c82746725e9cc23e98316eab8be25a"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2000795"},{"type":"PACKAGE","url":"https://github.com/quay/claircore"},{"type":"WEB","url":"https://github.com/quay/claircore/commits/v0.4.8"},{"type":"WEB","url":"https://github.com/quay/claircore/commits/v0.5.5"},{"type":"WEB","url":"https://github.com/quay/claircore/commits/v1.1.0"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0346"},{"type":"WEB","url":"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83"}]},{"provider":"osv","source_id":"GO-2022-0346","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0346","license":"CC-BY-4.0","published_at":"2022-07-15T23:30:27Z","modified_at":"2024-05-20T16:03:47Z","summary":"Path traversal in github.com/quay/claircore","details":"A maliciously crafted RPM file can cause the Scanner.Scan function to write files with arbitrary contents to arbitrary locations on the local filestem.","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/quay/claircore","purl":"pkg:golang/github.com/quay/claircore","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}],"fixed":["1.1.0"],"provider":"osv","source":"GO-2022-0346","relation":"self"}],"product_status":[],"references":[{"type":"FIX","url":"https://github.com/quay/claircore/pull/478"},{"type":"FIX","url":"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821"}]},{"provider":"redhat-vex","source_id":"CVE-2021-3762","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-3762","license":"CC-BY-4.0","published_at":"2021-09-28T12:00:00Z","modified_at":"2023-02-02T04:48:30Z","summary":"quay/claircore: directory traversal when scanning crafted container image layer allows for arbitrary file write","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"CVE-2021-3762"},{"type":"Red Hat","score":"Critical","source":"CVE-2021-3762"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"fixed","packages":["quay/clair-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2021:3665"],"provider":"redhat-vex","source":"CVE-2021-3762"},{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"not_affected","packages":["quay/quay-bridge-operator-bundle","quay/quay-bridge-operator-rhel8","quay/quay-builder-qemu-rhcos-rhel8","quay/quay-builder-rhel8","quay/quay-container-security-operator-bundle","quay/quay-container-security-operator-rhel8","quay/quay-operator-bundle","quay/quay-operator-rhel8","quay/quay-rhel8"],"package_count":9,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-3762"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-3762.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-3762"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2000795"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-3762"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3762"}]}],"references":[{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2000795"},{"type":"WEB","url":"https://github.com/quay/claircore/pull/478"},{"type":"WEB","url":"https://github.com/quay/clair/pull/1379"},{"type":"WEB","url":"https://github.com/quay/clair/pull/1380"},{"type":"WEB","url":"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821"},{"type":"WEB","url":"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3762"},{"type":"WEB","url":"https://github.com/quay/claircore/commit/dff671c665141f126c072de8a744855d4916c9c7"},{"type":"WEB","url":"https://github.com/quay/claircore/commit/ed5f52aec1c82746725e9cc23e98316eab8be25a"},{"type":"PACKAGE","url":"https://github.com/quay/claircore"},{"type":"WEB","url":"https://github.com/quay/claircore/commits/v0.4.8"},{"type":"WEB","url":"https://github.com/quay/claircore/commits/v0.5.5"},{"type":"WEB","url":"https://github.com/quay/claircore/commits/v1.1.0"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2022-0346"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-3762.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-3762"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-3762"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-3762","url":"https://www.cve.org/CVERecord?id=CVE-2021-3762","license":"CC-BY-4.0","modified_at":"2024-08-03T17:09:08.89Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-3762","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3762","relation":"self"},{"provider":"osv","source_id":"GHSA-mq47-6wwv-v79w","url":"https://osv.dev/vulnerability/GHSA-mq47-6wwv-v79w","license":"CC-BY-4.0","modified_at":"2023-11-08T04:06:18.944877Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0346","url":"https://osv.dev/vulnerability/GO-2022-0346","license":"CC-BY-4.0","modified_at":"2024-05-20T16:03:47Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-3762","url":"https://access.redhat.com/security/cve/CVE-2021-3762","license":"CC-BY-4.0","modified_at":"2023-02-02T04:48:30Z","relation":"self"}]}
