RHSA-2026:42923
Vulnerability from csaf_redhat - Published: 2026-07-21 16:36 - Updated: 2026-07-26 16:07Summary
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
Severity
Moderate
Notes
Topic: An update for Red Hat Hardened Images RPMs is now available.
Details: This update includes the following RPMs:
rust:
* cargo-1.97.1-1.1.hum1 (aarch64, x86_64)
* clippy-1.97.1-1.1.hum1 (aarch64, x86_64)
* rust-1.97.1-1.1.hum1 (aarch64, x86_64)
* rust-analyzer-1.97.1-1.1.hum1 (aarch64, x86_64)
* rust-debugger-common-1.97.1-1.1.hum1 (noarch)
* rust-doc-1.97.1-1.1.hum1 (aarch64, x86_64)
* rust-gdb-1.97.1-1.1.hum1 (noarch)
* rust-lldb-1.97.1-1.1.hum1 (noarch)
* rust-src-1.97.1-1.1.hum1 (noarch)
* rust-std-static-1.97.1-1.1.hum1 (aarch64, x86_64)
* rust-std-static-aarch64-unknown-none-softfloat-1.97.1-1.1.hum1 (noarch)
* rust-std-static-aarch64-unknown-uefi-1.97.1-1.1.hum1 (noarch)
* rust-std-static-i686-pc-windows-gnu-1.97.1-1.1.hum1 (noarch)
* rust-std-static-wasm32-unknown-unknown-1.97.1-1.1.hum1 (noarch)
* rust-std-static-wasm32-wasip1-1.97.1-1.1.hum1 (noarch)
* rust-std-static-x86_64-pc-windows-gnu-1.97.1-1.1.hum1 (noarch)
* rust-std-static-x86_64-unknown-none-1.97.1-1.1.hum1 (noarch)
* rust-std-static-x86_64-unknown-uefi-1.97.1-1.1.hum1 (noarch)
* rustfmt-1.97.1-1.1.hum1 (aarch64, x86_64)
* rust-1.97.1-1.1.hum1.src (src)
Security Fix(es):
rust:
* CVE-2026-50185
Terms of Use: This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.
A flaw was found in Cargo. When processing crate tarballs from third-party registries, Cargo mishandled symbolic links (symlinks) embedded within these archives. This vulnerability enables a malicious crate to overwrite the source code of another crate originating from the same registry. Such an action could lead to unauthorized modification of software components, potentially introducing security risks or operational disruptions.
5.3 (Medium)
Affected products
Fixed
4 products
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:rust-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:rust-main@noarch | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:rust-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:rust-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
Threats
Impact
Moderate
References
13 references
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\nrust:\n * cargo-1.97.1-1.1.hum1 (aarch64, x86_64)\n * clippy-1.97.1-1.1.hum1 (aarch64, x86_64)\n * rust-1.97.1-1.1.hum1 (aarch64, x86_64)\n * rust-analyzer-1.97.1-1.1.hum1 (aarch64, x86_64)\n * rust-debugger-common-1.97.1-1.1.hum1 (noarch)\n * rust-doc-1.97.1-1.1.hum1 (aarch64, x86_64)\n * rust-gdb-1.97.1-1.1.hum1 (noarch)\n * rust-lldb-1.97.1-1.1.hum1 (noarch)\n * rust-src-1.97.1-1.1.hum1 (noarch)\n * rust-std-static-1.97.1-1.1.hum1 (aarch64, x86_64)\n * rust-std-static-aarch64-unknown-none-softfloat-1.97.1-1.1.hum1 (noarch)\n * rust-std-static-aarch64-unknown-uefi-1.97.1-1.1.hum1 (noarch)\n * rust-std-static-i686-pc-windows-gnu-1.97.1-1.1.hum1 (noarch)\n * rust-std-static-wasm32-unknown-unknown-1.97.1-1.1.hum1 (noarch)\n * rust-std-static-wasm32-wasip1-1.97.1-1.1.hum1 (noarch)\n * rust-std-static-x86_64-pc-windows-gnu-1.97.1-1.1.hum1 (noarch)\n * rust-std-static-x86_64-unknown-none-1.97.1-1.1.hum1 (noarch)\n * rust-std-static-x86_64-unknown-uefi-1.97.1-1.1.hum1 (noarch)\n * rustfmt-1.97.1-1.1.hum1 (aarch64, x86_64)\n * rust-1.97.1-1.1.hum1.src (src)\n\nSecurity Fix(es):\n\nrust:\n * CVE-2026-50185",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:42923",
"url": "https://access.redhat.com/errata/RHSA-2026:42923"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-50185",
"url": "https://access.redhat.com/security/cve/CVE-2026-50185"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-5223",
"url": "https://access.redhat.com/security/cve/CVE-2026-5223"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_42923.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update",
"tracking": {
"current_release_date": "2026-07-26T16:07:24+00:00",
"generator": {
"date": "2026-07-26T16:07:24+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.7"
}
},
"id": "RHSA-2026:42923",
"initial_release_date": "2026-07-21T16:36:38+00:00",
"revision_history": [
{
"date": "2026-07-21T16:36:38+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-07-25T05:39:32+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-07-26T16:07:24+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "rust-main@aarch64",
"product": {
"name": "rust-main@aarch64",
"product_id": "rust-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cargo@1.97.1-1.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "rust-main@x86_64",
"product": {
"name": "rust-main@x86_64",
"product_id": "rust-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cargo@1.97.1-1.1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_version",
"name": "rust-main@src",
"product": {
"name": "rust-main@src",
"product_id": "rust-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/rust@1.97.1-1.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "rust-main@noarch",
"product": {
"name": "rust-main@noarch",
"product_id": "rust-main@noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/rust-debugger-common@1.97.1-1.1.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "rust-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:rust-main@aarch64"
},
"product_reference": "rust-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "rust-main@noarch as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:rust-main@noarch"
},
"product_reference": "rust-main@noarch",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "rust-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:rust-main@src"
},
"product_reference": "rust-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "rust-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:rust-main@x86_64"
},
"product_reference": "rust-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-5223",
"cwe": {
"id": "CWE-22",
"name": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"
},
"discovery_date": "2026-05-25T10:00:51.617723+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2481158"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in Cargo. When processing crate tarballs from third-party registries, Cargo mishandled symbolic links (symlinks) embedded within these archives. This vulnerability enables a malicious crate to overwrite the source code of another crate originating from the same registry. Such an action could lead to unauthorized modification of software components, potentially introducing security risks or operational disruptions.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "cargo: Cargo: Source code overwrite due to symlink mishandling in third-party registries",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "This Moderate vulnerability in Cargo arises from improper handling of symlinks within crate tarballs downloaded from third-party registries. An attacker could exploit this by publishing a malicious crate containing symlinks, leading to the overwrite of source code from other crates in the same registry. Red Hat customers using `crates.io` are not affected, as `crates.io` prohibits symlinks in uploaded crates.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:rust-main@aarch64",
"Red Hat Hardened Images:rust-main@noarch",
"Red Hat Hardened Images:rust-main@src",
"Red Hat Hardened Images:rust-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-5223"
},
{
"category": "external",
"summary": "RHBZ#2481158",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2481158"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-5223",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-5223"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-5223",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5223"
},
{
"category": "external",
"summary": "https://blog.rust-lang.org/2026/05/25/cve-2026-5223/",
"url": "https://blog.rust-lang.org/2026/05/25/cve-2026-5223/"
},
{
"category": "external",
"summary": "https://github.com/rust-lang/cargo/pull/17031",
"url": "https://github.com/rust-lang/cargo/pull/17031"
},
{
"category": "external",
"summary": "https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8",
"url": "https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8"
}
],
"release_date": "2026-05-25T08:57:08.488000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-21T16:36:38+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:rust-main@aarch64",
"Red Hat Hardened Images:rust-main@noarch",
"Red Hat Hardened Images:rust-main@src",
"Red Hat Hardened Images:rust-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:42923"
},
{
"category": "workaround",
"details": "To mitigate this issue, avoid using untrusted third-party Cargo registries. If third-party registries are necessary, ensure they enforce strict policies against symlinks in crate tarballs and verify the integrity of downloaded crates. No direct configuration or operational workaround is available within Cargo itself to prevent this specific symlink mishandling when using vulnerable third-party registries.",
"product_ids": [
"Red Hat Hardened Images:rust-main@aarch64",
"Red Hat Hardened Images:rust-main@noarch",
"Red Hat Hardened Images:rust-main@src",
"Red Hat Hardened Images:rust-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:rust-main@aarch64",
"Red Hat Hardened Images:rust-main@noarch",
"Red Hat Hardened Images:rust-main@src",
"Red Hat Hardened Images:rust-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "cargo: Cargo: Source code overwrite due to symlink mishandling in third-party registries"
}
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
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…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…