{"api_version":"1","generated_at":"2026-07-23T20:49:07+00:00","cve":"CVE-2021-3762","urls":{"html":"https://cve.report/CVE-2021-3762","api":"https://cve.report/api/cve/CVE-2021-3762.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3762","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3762"},"summary":{"title":"CVE-2021-3762","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-03-03 22:15:00","updated_at":"2023-01-30 19:17:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2000795","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2000795","refsource":"MISC","tags":[],"title":"2000795 – (CVE-2021-3762) CVE-2021-3762 quay/claircore: directory traversal when scanning crafted container image layer allows for arbitrary file write","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/quay/clair/pull/1379","name":"https://github.com/quay/clair/pull/1379","refsource":"MISC","tags":[],"title":"chore: bump claircore version by hdonnay · Pull Request #1379 · quay/clair · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821","name":"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821","refsource":"MISC","tags":[],"title":"rpm: prevent directory traversal when extracting · quay/claircore@691f202 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/quay/claircore/pull/478","name":"https://github.com/quay/claircore/pull/478","refsource":"MISC","tags":[],"title":"rpm: prevent directory traversal when extracting by hdonnay · Pull Request #478 · quay/claircore · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83","name":"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83","refsource":"MISC","tags":[],"title":"CVE-2021-3762 quay/claircore: directory traversal when scanning crafted container image","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/quay/clair/pull/1380","name":"https://github.com/quay/clair/pull/1380","refsource":"MISC","tags":[],"title":"chore: bump claircore version by hdonnay · Pull Request #1380 · quay/clair · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3762","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3762","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3762","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"clair","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3762","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"quay","cpe6":"3.5.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-3762","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"quay/claircore","version":{"version_data":[{"version_value":"Affects v0.4.6 and higher, v0.5.3 and higher | Fixedin claircore v0.4.8, v0.5.5."}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2000795","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2000795"},{"refsource":"MISC","name":"https://github.com/quay/claircore/pull/478","url":"https://github.com/quay/claircore/pull/478"},{"refsource":"MISC","name":"https://github.com/quay/clair/pull/1379","url":"https://github.com/quay/clair/pull/1379"},{"refsource":"MISC","name":"https://github.com/quay/clair/pull/1380","url":"https://github.com/quay/clair/pull/1380"},{"refsource":"MISC","name":"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821","url":"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821"},{"refsource":"MISC","name":"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83","url":"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security&qid=d19fce9ede06e13dfb5630ece7f14f83"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2022-03-03 22:15:00","lastModifiedDate":"2023-01-30 19:17:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:clair:*:*:*:*:*:*:*:*","versionStartIncluding":"0.4.6","versionEndExcluding":"0.4.8","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:clair:*:*:*:*:*:*:*:*","versionStartIncluding":"0.5.3","versionEndExcluding":"0.5.5","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:quay:3.5.6:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3762","Ordinal":"216230","Title":"CVE-2021-3762","CVE":"CVE-2021-3762","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3762","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}