gsd-2022-24303
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2022-24303", "description": "Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.", "id": "GSD-2022-24303", "references": [ "https://www.suse.com/security/cve/CVE-2022-24303.html", "https://advisories.mageia.org/CVE-2022-24303.html", "https://ubuntu.com/security/CVE-2022-24303" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2022-24303" ], "details": "Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.", "id": "GSD-2022-24303", "modified": "2023-12-13T01:19:42.767453Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2022-24303", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/python-pillow/Pillow/pull/3450", "refsource": "MISC", "url": "https://github.com/python-pillow/Pillow/pull/3450" }, { "name": "https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security", "refsource": "CONFIRM", "url": "https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security" }, { "name": "FEDORA-2022-ee15b98ea1", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV/" }, { "name": "FEDORA-2022-64332f2a7c", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP/" }, { "name": "GLSA-202211-10", "refsource": "GENTOO", "url": "https://security.gentoo.org/glsa/202211-10" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c9.0.1", "affected_versions": "All versions before 9.0.1", "cvss_v2": "AV:N/AC:L/Au:N/C:N/I:P/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2023-01-31", "description": "Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.", "fixed_versions": [ "9.0.1" ], "identifier": "CVE-2022-24303", "identifiers": [ "CVE-2022-24303", "GHSA-9j59-75qj-795w", "GMS-2022-348" ], "not_impacted": "All versions starting from 9.0.1", "package_slug": "pypi/Pillow", "pubdate": "2022-03-28", "solution": "Upgrade to version 9.0.1 or above.", "title": "Improper Resolution of Path Equivalence", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-24303", "https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security", "https://github.com/python-pillow/Pillow/pull/3450", "https://github.com/python-pillow/Pillow/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26", "https://github.com/advisories/GHSA-9j59-75qj-795w" ], "uuid": "9c1f75df-b818-42ac-82f5-4e3ef891393c" }, { "affected_range": "\u003c0", "affected_versions": "All versions before 9.0.1", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2022-03-11", "description": "If the path to the temporary directory on Linux or macOS contained a space, this would break removal of the temporary image file after im.show() (and related actions), and potentially remove an unrelated file. This been present since PIL.", "fixed_versions": [ "9.0.1" ], "identifier": "GMS-2022-348", "identifiers": [ "GHSA-9j59-75qj-795w", "GMS-2022-348", "CVE-2022-24303" ], "not_impacted": "All versions starting from 9.0.1", "package_slug": "pypi/Pillow", "pubdate": "2022-03-11", "solution": "Upgrade to version 9.0.1 or above.", "title": "Duplicate of ./pypi/Pillow/CVE-2022-24303.yml", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-24303", "https://github.com/python-pillow/Pillow/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26", "https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security", "https://github.com/advisories/GHSA-9j59-75qj-795w" ], "uuid": "34e6fa0b-07d4-41a6-900c-8ff5554bd830" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "9.0.1", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2022-24303" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "NVD-CWE-noinfo" } ] } ] }, "references": { "reference_data": [ { "name": "https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security", "refsource": "CONFIRM", "tags": [ "Release Notes", "Vendor Advisory" ], "url": "https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security" }, { "name": "https://github.com/python-pillow/Pillow/pull/3450", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/python-pillow/Pillow/pull/3450" }, { "name": "FEDORA-2022-ee15b98ea1", "refsource": "FEDORA", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV/" }, { "name": "FEDORA-2022-64332f2a7c", "refsource": "FEDORA", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP/" }, { "name": "GLSA-202211-10", "refsource": "GENTOO", "tags": [ "Third Party Advisory" ], "url": "https://security.gentoo.org/glsa/202211-10" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 6.4, "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 4.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.1, "baseSeverity": "CRITICAL", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 5.2 } }, "lastModifiedDate": "2023-01-31T17:50Z", "publishedDate": "2022-03-28T02: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.