{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3762","id":"CVE-2021-3762","title":"Path traversal in claircore","description":"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.","descriptionLong":"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.","published":"2022-03-03T21:41:19.000Z","updated":"2026-10-24T10:50:13.143123970Z","reserved":"2021-09-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["quay/claircore"],"affectedProducts":[{"vendor":"n/a","product":"quay/claircore","defaultStatus":null,"versions":[{"status":"affected","version":"Affects v0.4.6 and higher, v0.5.3 and higher | Fixedin claircore v0.4.8, v0.5.5."}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/quay/claircore","purl":"pkg:golang/github.com/quay/claircore","ranges":["<0.4.8",">=1.0.0 <1.1.0",">=0.5.0 <0.5.5","<1.1.0"],"fixed":["0.4.8","1.1.0","0.5.5"],"advisory":"GHSA-mq47-6wwv-v79w"}],"cwes":["CWE-22"],"aliases":["GHSA-mq47-6wwv-v79w","GO-2022-0346"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2000795","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/quay/claircore/pull/478","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/quay/clair/pull/1379","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/quay/clair/pull/1380","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3762","tags":["advisory"]},{"url":"https://github.com/quay/claircore/commit/dff671c665141f126c072de8a744855d4916c9c7","tags":["web"]},{"url":"https://github.com/quay/claircore/commit/ed5f52aec1c82746725e9cc23e98316eab8be25a","tags":["web"]},{"url":"https://github.com/quay/claircore","tags":["package"]},{"url":"https://github.com/quay/claircore/commits/v0.4.8","tags":["web"]},{"url":"https://github.com/quay/claircore/commits/v0.5.5","tags":["web"]},{"url":"https://github.com/quay/claircore/commits/v1.1.0","tags":["web"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0346","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.04815,"epssPercentile":0.92154,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3762","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3762","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3762","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mq47-6wwv-v79w","ok":true,"note":"GHSA-mq47-6wwv-v79w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3762","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}