{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2023-45805","title":"Title"},{"category":"description","text":"pdm is a Python package and dependency manager supporting the latest PEP standards. It's possible to craft a malicious `pdm.lock` file that could allow e.g. an insider or a malicious open source project to appear to depend on a trusted PyPI project, but actually install another project. A project `foo` can be targeted by creating the project `foo-2` and uploading the file `foo-2-2.tar.gz` to pypi.org. PyPI will see this as project `foo-2` version `2`, while PDM will see this as project `foo` version `2-2`. The version must only be `parseable as a version` and the filename must be a prefix of the project name, but it's not verified to match the version being installed. Version `2-2` is also not a valid normalized version per PEP 440. Matching the project name exactly (not just prefix) would fix the issue. When installing dependencies with PDM, what's actually installed could differ from what's listed in `pyproject.toml` (including arbitrary code execution on install). It could also be used for downgrade attacks by only changing the version. This issue has been addressed in commit `6853e2642df` which is included in release version `2.9.4`. Users are advised to upgrade. There are no known workarounds for this vulnerability.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2023-45805","url":"https://www.suse.com/security/cve/CVE-2023-45805"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1216480 for CVE-2023-45805","url":"https://bugzilla.suse.com/1216480"}],"title":"SUSE CVE CVE-2023-45805","tracking":{"current_release_date":"2025-03-15T06:07:29Z","generator":{"date":"2023-10-24T00:59:46Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2023-45805","initial_release_date":"2023-10-24T00:59:46Z","revision_history":[{"date":"2023-10-24T00:59:46Z","number":"2","summary":"Current version"},{"date":"2023-10-25T00:59:23Z","number":"3","summary":"Current version"},{"date":"2025-01-01T01:52:37Z","number":"4","summary":"Current version"},{"date":"2025-02-14T06:11:19Z","number":"5","summary":"Current version"},{"date":"2025-02-16T06:04:27Z","number":"6","summary":"Current version"},{"date":"2025-03-15T06:07:29Z","number":"7","summary":"Current version"}],"status":"interim","version":"7"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"python310-unearth-0.12.0-1.1","product":{"name":"python310-unearth-0.12.0-1.1","product_id":"python310-unearth-0.12.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python310-unearth@0.12.0-1.1"}}},{"category":"product_version","name":"python311-unearth-0.12.0-1.1","product":{"name":"python311-unearth-0.12.0-1.1","product_id":"python311-unearth-0.12.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python311-unearth@0.12.0-1.1"}}},{"category":"product_version","name":"python39-unearth-0.12.0-1.1","product":{"name":"python39-unearth-0.12.0-1.1","product_id":"python39-unearth-0.12.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python39-unearth@0.12.0-1.1"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"python310-unearth-0.12.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python310-unearth-0.12.0-1.1"},"product_reference":"python310-unearth-0.12.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"python311-unearth-0.12.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python311-unearth-0.12.0-1.1"},"product_reference":"python311-unearth-0.12.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"python39-unearth-0.12.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python39-unearth-0.12.0-1.1"},"product_reference":"python39-unearth-0.12.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2023-45805","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2023-45805"}],"notes":[{"category":"general","text":"pdm is a Python package and dependency manager supporting the latest PEP standards. It's possible to craft a malicious `pdm.lock` file that could allow e.g. an insider or a malicious open source project to appear to depend on a trusted PyPI project, but actually install another project. A project `foo` can be targeted by creating the project `foo-2` and uploading the file `foo-2-2.tar.gz` to pypi.org. PyPI will see this as project `foo-2` version `2`, while PDM will see this as project `foo` version `2-2`. The version must only be `parseable as a version` and the filename must be a prefix of the project name, but it's not verified to match the version being installed. Version `2-2` is also not a valid normalized version per PEP 440. Matching the project name exactly (not just prefix) would fix the issue. When installing dependencies with PDM, what's actually installed could differ from what's listed in `pyproject.toml` (including arbitrary code execution on install). It could also be used for downgrade attacks by only changing the version. This issue has been addressed in commit `6853e2642df` which is included in release version `2.9.4`. Users are advised to upgrade. There are no known workarounds for this vulnerability.","title":"CVE description"}],"product_status":{"recommended":["openSUSE Tumbleweed:python310-unearth-0.12.0-1.1","openSUSE Tumbleweed:python311-unearth-0.12.0-1.1","openSUSE Tumbleweed:python39-unearth-0.12.0-1.1"]},"references":[{"category":"external","summary":"CVE-2023-45805","url":"https://www.suse.com/security/cve/CVE-2023-45805"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1216480 for CVE-2023-45805","url":"https://bugzilla.suse.com/1216480"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Tumbleweed:python310-unearth-0.12.0-1.1","openSUSE Tumbleweed:python311-unearth-0.12.0-1.1","openSUSE Tumbleweed:python39-unearth-0.12.0-1.1"]}],"scores":[{"cvss_v3":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"products":["openSUSE Tumbleweed:python310-unearth-0.12.0-1.1","openSUSE Tumbleweed:python311-unearth-0.12.0-1.1","openSUSE Tumbleweed:python39-unearth-0.12.0-1.1"]}],"threats":[{"category":"impact","date":"2023-10-20T20:00:54Z","details":"important"}],"title":"CVE-2023-45805"}]}