Vulnerability from csaf_opensuse
Published
2024-06-15 00:00
Modified
2024-06-15 00:00
Summary
cargo1.62-1.62.1-3.1 on GA media
Notes
Title of the patch
cargo1.62-1.62.1-3.1 on GA media
Description of the patch
These are all security issues fixed in the cargo1.62-1.62.1-3.1 package on the GA media of openSUSE Tumbleweed.
Patchnames
openSUSE-Tumbleweed-2024-12343
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
{ document: { aggregate_severity: { namespace: "https://www.suse.com/support/security/rating/", text: "moderate", }, category: "csaf_security_advisory", 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: "cargo1.62-1.62.1-3.1 on GA media", title: "Title of the patch", }, { category: "description", text: "These are all security issues fixed in the cargo1.62-1.62.1-3.1 package on the GA media of openSUSE Tumbleweed.", title: "Description of the patch", }, { category: "details", text: "openSUSE-Tumbleweed-2024-12343", title: "Patchnames", }, { 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: "SUSE ratings", url: "https://www.suse.com/support/security/rating/", }, { category: "self", summary: "URL of this CSAF notice", url: "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_12343-1.json", }, { category: "self", summary: "SUSE CVE CVE-2022-36113 page", url: "https://www.suse.com/security/cve/CVE-2022-36113/", }, { category: "self", summary: "SUSE CVE CVE-2022-36114 page", url: "https://www.suse.com/security/cve/CVE-2022-36114/", }, ], title: "cargo1.62-1.62.1-3.1 on GA media", tracking: { current_release_date: "2024-06-15T00:00:00Z", generator: { date: "2024-06-15T00:00:00Z", engine: { name: "cve-database.git:bin/generate-csaf.pl", version: "1", }, }, id: "openSUSE-SU-2024:12343-1", initial_release_date: "2024-06-15T00:00:00Z", revision_history: [ { date: "2024-06-15T00:00:00Z", number: "1", summary: "Current version", }, ], status: "final", version: "1", }, }, product_tree: { branches: [ { branches: [ { branches: [ { category: "product_version", name: "cargo1.62-1.62.1-3.1.aarch64", product: { name: "cargo1.62-1.62.1-3.1.aarch64", product_id: "cargo1.62-1.62.1-3.1.aarch64", }, }, { category: "product_version", name: "rust1.62-1.62.1-3.1.aarch64", product: { name: "rust1.62-1.62.1-3.1.aarch64", product_id: "rust1.62-1.62.1-3.1.aarch64", }, }, ], category: "architecture", name: "aarch64", }, { branches: [ { category: "product_version", name: "cargo1.62-1.62.1-3.1.ppc64le", product: { name: "cargo1.62-1.62.1-3.1.ppc64le", product_id: "cargo1.62-1.62.1-3.1.ppc64le", }, }, { category: "product_version", name: "rust1.62-1.62.1-3.1.ppc64le", product: { name: "rust1.62-1.62.1-3.1.ppc64le", product_id: "rust1.62-1.62.1-3.1.ppc64le", }, }, ], category: "architecture", name: "ppc64le", }, { branches: [ { category: "product_version", name: "cargo1.62-1.62.1-3.1.s390x", product: { name: "cargo1.62-1.62.1-3.1.s390x", product_id: "cargo1.62-1.62.1-3.1.s390x", }, }, { category: "product_version", name: "rust1.62-1.62.1-3.1.s390x", product: { name: "rust1.62-1.62.1-3.1.s390x", product_id: "rust1.62-1.62.1-3.1.s390x", }, }, ], category: "architecture", name: "s390x", }, { branches: [ { category: "product_version", name: "cargo1.62-1.62.1-3.1.x86_64", product: { name: "cargo1.62-1.62.1-3.1.x86_64", product_id: "cargo1.62-1.62.1-3.1.x86_64", }, }, { category: "product_version", name: "rust1.62-1.62.1-3.1.x86_64", product: { name: "rust1.62-1.62.1-3.1.x86_64", product_id: "rust1.62-1.62.1-3.1.x86_64", }, }, ], category: "architecture", name: "x86_64", }, { 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_family", name: "SUSE Linux Enterprise", }, ], category: "vendor", name: "SUSE", }, ], relationships: [ { category: "default_component_of", full_product_name: { name: "cargo1.62-1.62.1-3.1.aarch64 as component of openSUSE Tumbleweed", product_id: "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.aarch64", }, product_reference: "cargo1.62-1.62.1-3.1.aarch64", relates_to_product_reference: "openSUSE Tumbleweed", }, { category: "default_component_of", full_product_name: { name: "cargo1.62-1.62.1-3.1.ppc64le as component of openSUSE Tumbleweed", product_id: "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.ppc64le", }, product_reference: "cargo1.62-1.62.1-3.1.ppc64le", relates_to_product_reference: "openSUSE Tumbleweed", }, { category: "default_component_of", full_product_name: { name: "cargo1.62-1.62.1-3.1.s390x as component of openSUSE Tumbleweed", product_id: "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.s390x", }, product_reference: "cargo1.62-1.62.1-3.1.s390x", relates_to_product_reference: "openSUSE Tumbleweed", }, { category: "default_component_of", full_product_name: { name: "cargo1.62-1.62.1-3.1.x86_64 as component of openSUSE Tumbleweed", product_id: "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.x86_64", }, product_reference: "cargo1.62-1.62.1-3.1.x86_64", relates_to_product_reference: "openSUSE Tumbleweed", }, { category: "default_component_of", full_product_name: { name: "rust1.62-1.62.1-3.1.aarch64 as component of openSUSE Tumbleweed", product_id: "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.aarch64", }, product_reference: "rust1.62-1.62.1-3.1.aarch64", relates_to_product_reference: "openSUSE Tumbleweed", }, { category: "default_component_of", full_product_name: { name: "rust1.62-1.62.1-3.1.ppc64le as component of openSUSE Tumbleweed", product_id: "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.ppc64le", }, product_reference: "rust1.62-1.62.1-3.1.ppc64le", relates_to_product_reference: "openSUSE Tumbleweed", }, { category: "default_component_of", full_product_name: { name: "rust1.62-1.62.1-3.1.s390x as component of openSUSE Tumbleweed", product_id: "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.s390x", }, product_reference: "rust1.62-1.62.1-3.1.s390x", relates_to_product_reference: "openSUSE Tumbleweed", }, { category: "default_component_of", full_product_name: { name: "rust1.62-1.62.1-3.1.x86_64 as component of openSUSE Tumbleweed", product_id: "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.x86_64", }, product_reference: "rust1.62-1.62.1-3.1.x86_64", relates_to_product_reference: "openSUSE Tumbleweed", }, ], }, vulnerabilities: [ { cve: "CVE-2022-36113", ids: [ { system_name: "SUSE CVE Page", text: "https://www.suse.com/security/cve/CVE-2022-36113", }, ], notes: [ { category: "general", text: "Cargo is a package manager for the rust programming language. After a package is downloaded, Cargo extracts its source code in the ~/.cargo folder on disk, making it available to the Rust projects it builds. To record when an extraction is successful, Cargo writes \"ok\" to the .cargo-ok file at the root of the extracted source code once it extracted all the files. It was discovered that Cargo allowed packages to contain a .cargo-ok symbolic link, which Cargo would extract. Then, when Cargo attempted to write \"ok\" into .cargo-ok, it would actually replace the first two bytes of the file the symlink pointed to with ok. This would allow an attacker to corrupt one file on the machine using Cargo to extract the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be trusted if you want to be protected from attacks, as it's possible to perform the same attacks with build scripts and procedural macros. The vulnerability is present in all versions of Cargo. Rust 1.64, to be released on September 22nd, will include a fix for it. Since the vulnerability is just a more limited way to accomplish what a malicious build scripts or procedural macros can do, we decided not to publish Rust point releases backporting the security fix. Patch files are available for Rust 1.63.0 are available in the wg-security-response repository for people building their own toolchain.\nMitigations We recommend users of alternate registries to exercise care in which package they download, by only including trusted dependencies in their projects. Please note that even with these vulnerabilities fixed, by design Cargo allows arbitrary code execution at build time thanks to build scripts and procedural macros: a malicious dependency will be able to cause damage regardless of these vulnerabilities. crates.io implemented server-side checks to reject these kinds of packages years ago, and there are no packages on crates.io exploiting these vulnerabilities. crates.io users still need to exercise care in choosing their dependencies though, as remote code execution is allowed by design there as well.", title: "CVE description", }, ], product_status: { recommended: [ "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.x86_64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.x86_64", ], }, references: [ { category: "external", summary: "CVE-2022-36113", url: "https://www.suse.com/security/cve/CVE-2022-36113", }, { category: "external", summary: "SUSE Bug 1203433 for CVE-2022-36113", url: "https://bugzilla.suse.com/1203433", }, ], 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:cargo1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.x86_64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.x86_64", ], }, ], scores: [ { cvss_v3: { baseScore: 5.4, baseSeverity: "MEDIUM", vectorString: "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L", version: "3.1", }, products: [ "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.x86_64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.x86_64", ], }, ], threats: [ { category: "impact", date: "2024-06-15T00:00:00Z", details: "moderate", }, ], title: "CVE-2022-36113", }, { cve: "CVE-2022-36114", ids: [ { system_name: "SUSE CVE Page", text: "https://www.suse.com/security/cve/CVE-2022-36114", }, ], notes: [ { category: "general", text: "Cargo is a package manager for the rust programming language. It was discovered that Cargo did not limit the amount of data extracted from compressed archives. An attacker could upload to an alternate registry a specially crafted package that extracts way more data than its size (also known as a \"zip bomb\"), exhausting the disk space on the machine using Cargo to download the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be trusted if you want to be protected from attacks, as it's possible to perform the same attacks with build scripts and procedural macros. The vulnerability is present in all versions of Cargo. Rust 1.64, to be released on September 22nd, will include a fix for it. Since the vulnerability is just a more limited way to accomplish what a malicious build scripts or procedural macros can do, we decided not to publish Rust point releases backporting the security fix. Patch files are available for Rust 1.63.0 are available in the wg-security-response repository for people building their own toolchain. We recommend users of alternate registries to excercise care in which package they download, by only including trusted dependencies in their projects. Please note that even with these vulnerabilities fixed, by design Cargo allows arbitrary code execution at build time thanks to build scripts and procedural macros: a malicious dependency will be able to cause damage regardless of these vulnerabilities. crates.io implemented server-side checks to reject these kinds of packages years ago, and there are no packages on crates.io exploiting these vulnerabilities. crates.io users still need to excercise care in choosing their dependencies though, as the same concerns about build scripts and procedural macros apply here.", title: "CVE description", }, ], product_status: { recommended: [ "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.x86_64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.x86_64", ], }, references: [ { category: "external", summary: "CVE-2022-36114", url: "https://www.suse.com/security/cve/CVE-2022-36114", }, { category: "external", summary: "SUSE Bug 1203431 for CVE-2022-36114", url: "https://bugzilla.suse.com/1203431", }, ], 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:cargo1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.x86_64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.x86_64", ], }, ], scores: [ { cvss_v3: { baseScore: 4.8, baseSeverity: "MEDIUM", vectorString: "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H", version: "3.1", }, products: [ "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:cargo1.62-1.62.1-3.1.x86_64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.aarch64", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.ppc64le", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.s390x", "openSUSE Tumbleweed:rust1.62-1.62.1-3.1.x86_64", ], }, ], threats: [ { category: "impact", date: "2024-06-15T00:00:00Z", details: "moderate", }, ], title: "CVE-2022-36114", }, ], }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
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.