GSD-2021-3762
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "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.",
"id": "GSD-2021-3762",
"references": [
"https://access.redhat.com/errata/RHSA-2021:3665"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-3762"
],
"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.",
"id": "GSD-2021-3762",
"modified": "2023-12-13T01:23:34.864993Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2021-3762",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"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."
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-22 - Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=2000795",
"refsource": "MISC",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2000795"
},
{
"name": "https://github.com/quay/claircore/pull/478",
"refsource": "MISC",
"url": "https://github.com/quay/claircore/pull/478"
},
{
"name": "https://github.com/quay/clair/pull/1379",
"refsource": "MISC",
"url": "https://github.com/quay/clair/pull/1379"
},
{
"name": "https://github.com/quay/clair/pull/1380",
"refsource": "MISC",
"url": "https://github.com/quay/clair/pull/1380"
},
{
"name": "https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821",
"refsource": "MISC",
"url": "https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821"
},
{
"name": "https://vulmon.com/exploitdetails?qidtp=maillist_oss_security\u0026qid=d19fce9ede06e13dfb5630ece7f14f83",
"refsource": "MISC",
"url": "https://vulmon.com/exploitdetails?qidtp=maillist_oss_security\u0026qid=d19fce9ede06e13dfb5630ece7f14f83"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003e=v0.4.6 \u003cv0.4.8 || \u003e=v0.5.3 \u003cv0.5.5",
"affected_versions": "All versions starting from 0.4.6 before 0.4.8, all versions starting from 0.5.3 before 0.5.5",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-22",
"CWE-937"
],
"date": "2023-01-30",
"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.",
"fixed_versions": [
"v0.4.8",
"v0.5.5"
],
"identifier": "CVE-2021-3762",
"identifiers": [
"CVE-2021-3762"
],
"not_impacted": "",
"package_slug": "go/github.com/quay/clair",
"pubdate": "2022-03-03",
"solution": "Upgrade to versions 0.4.8, 0.5.5 or above.",
"title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-3762",
"https://bugzilla.redhat.com/show_bug.cgi?id=2000795",
"https://github.com/quay/clair/pull/1380",
"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821",
"https://github.com/quay/claircore/pull/478",
"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security\u0026qid=d19fce9ede06e13dfb5630ece7f14f83",
"https://github.com/quay/clair/pull/1379"
],
"uuid": "d9b3e24d-08c2-4191-8120-63579c6da877",
"versions": []
},
{
"affected_range": "\u003cv0.4.8",
"affected_versions": "All versions before 0.4.8",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-22",
"CWE-78",
"CWE-937"
],
"date": "2022-03-21",
"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.",
"fixed_versions": [
"v0.4.8"
],
"identifier": "CVE-2021-3762",
"identifiers": [
"GHSA-mq47-6wwv-v79w",
"CVE-2021-3762"
],
"not_impacted": "All versions starting from 0.4.8",
"package_slug": "go/github.com/quay/claircore",
"pubdate": "2022-03-04",
"solution": "Upgrade to version 0.4.8 or above.",
"title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-3762",
"https://github.com/quay/clair/pull/1379",
"https://github.com/quay/clair/pull/1380",
"https://github.com/quay/claircore/pull/478",
"https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821",
"https://bugzilla.redhat.com/show_bug.cgi?id=2000795",
"https://vulmon.com/exploitdetails?qidtp=maillist_oss_security\u0026qid=d19fce9ede06e13dfb5630ece7f14f83",
"https://github.com/quay/claircore/commit/dff671c665141f126c072de8a744855d4916c9c7",
"https://github.com/advisories/GHSA-mq47-6wwv-v79w"
],
"uuid": "a8d511e2-4b0a-4d93-8ccf-08cd51094e9a",
"versions": [
{
"commit": {
"sha": "413cd93b3cf7defaa8cd91a61078eac241a81513",
"tags": [
"v0.4.8"
],
"timestamp": "20210928171726"
},
"number": "v0.4.8"
}
]
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:redhat:clair:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "0.4.8",
"versionStartIncluding": "0.4.6",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:redhat:clair:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "0.5.5",
"versionStartIncluding": "0.5.3",
"vulnerable": true
}
],
"operator": "OR"
},
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:redhat:quay:3.5.6:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2021-3762"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=2000795",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2000795"
},
{
"name": "https://github.com/quay/clair/pull/1380",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/quay/clair/pull/1380"
},
{
"name": "https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821"
},
{
"name": "https://github.com/quay/claircore/pull/478",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/quay/claircore/pull/478"
},
{
"name": "https://vulmon.com/exploitdetails?qidtp=maillist_oss_security\u0026qid=d19fce9ede06e13dfb5630ece7f14f83",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://vulmon.com/exploitdetails?qidtp=maillist_oss_security\u0026qid=d19fce9ede06e13dfb5630ece7f14f83"
},
{
"name": "https://github.com/quay/clair/pull/1379",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/quay/clair/pull/1379"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 7.5,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "HIGH",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-01-30T19:17Z",
"publishedDate": "2022-03-03T22:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…