gsd-2021-3701
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2021-3701", "description": "A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity.", "id": "GSD-2021-3701", "references": [ "https://www.suse.com/security/cve/CVE-2021-3701.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2021-3701" ], "details": "A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity.", "id": "GSD-2021-3701", "modified": "2023-12-13T01:23:35.042825Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2021-3701", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "ansible-runner", "version": { "version_data": [ { "version_affected": "=", "version_value": "Affects ansible-runner 2.0" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-276", "lang": "eng", "value": "CWE-276 - Incorrect Default Permissions" } ] } ] }, "references": { "reference_data": [ { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1977959", "refsource": "MISC", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1977959" }, { "name": "https://access.redhat.com/security/cve/CVE-2021-3701", "refsource": "MISC", "url": "https://access.redhat.com/security/cve/CVE-2021-3701" }, { "name": "https://github.com/ansible/ansible-runner/issues/738", "refsource": "MISC", "url": "https://github.com/ansible/ansible-runner/issues/738" }, { "name": "https://github.com/ansible/ansible-runner/pull/742/commits", "refsource": "MISC", "url": "https://github.com/ansible/ansible-runner/pull/742/commits" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003e=2.0.0,\u003c2.1.0", "affected_versions": "All versions starting from 2.0.0 before 2.1.0", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", "cwe_ids": [ "CWE-1035", "CWE-276", "CWE-937" ], "date": "2022-09-01", "description": "A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they does not expect. The highest threat from this vulnerability is to confidentiality and integrity.", "fixed_versions": [ "2.1.0" ], "identifier": "CVE-2021-3701", "identifiers": [ "GHSA-wwch-cmqr-hhrm", "CVE-2021-3701" ], "not_impacted": "All versions before 2.0.0, all versions starting from 2.1.0", "package_slug": "pypi/ansible-runner", "pubdate": "2022-08-24", "solution": "Upgrade to version 2.1.0 or above.", "title": "Incorrect Default Permissions", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-3701", "https://github.com/ansible/ansible-runner/issues/738", "https://github.com/ansible/ansible-runner/pull/742/commits", "https://access.redhat.com/security/cve/CVE-2021-3701", "https://bugzilla.redhat.com/show_bug.cgi?id=1977959", "https://github.com/ansible/ansible-runner/pull/742", "https://github.com/advisories/GHSA-wwch-cmqr-hhrm" ], "uuid": "365b6d14-61b4-4382-ba91-830f7c4ba99c" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:redhat:ansible_runner:2.0.0:-:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2021-3701" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-276" } ] } ] }, "references": { "reference_data": [ { "name": "https://access.redhat.com/security/cve/CVE-2021-3701", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://access.redhat.com/security/cve/CVE-2021-3701" }, { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1977959", "refsource": "MISC", "tags": [ "Issue Tracking", "Patch", "Vendor Advisory" ], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1977959" }, { "name": "https://github.com/ansible/ansible-runner/pull/742/commits", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/ansible/ansible-runner/pull/742/commits" }, { "name": "https://github.com/ansible/ansible-runner/issues/738", "refsource": "MISC", "tags": [ "Issue Tracking", "Third Party Advisory" ], "url": "https://github.com/ansible/ansible-runner/issues/738" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "NONE", "baseScore": 6.6, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N", "version": "3.1" }, "exploitabilityScore": 1.3, "impactScore": 5.2 } }, "lastModifiedDate": "2023-02-17T19:06Z", "publishedDate": "2022-08-23T16:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.