rhsa-2024_9430
Vulnerability from csaf_redhat
Published
2024-11-12 09:32
Modified
2024-11-12 18:07
Summary
Red Hat Security Advisory: nano security update
Notes
Topic
An update for nano is now available for Red Hat Enterprise Linux 9.
Red Hat Product Security has rated this update as having a security impact of Low. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
GNU nano is a small and friendly text editor.
Security Fix(es):
* nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file (CVE-2024-5742)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from the References section.
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.
{ "document": { "aggregate_severity": { "namespace": "https://access.redhat.com/security/updates/classification/", "text": "Low" }, "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 nano is now available for Red Hat Enterprise Linux 9.\n\nRed Hat Product Security has rated this update as having a security impact of Low. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.", "title": "Topic" }, { "category": "general", "text": "GNU nano is a small and friendly text editor.\n\nSecurity Fix(es):\n\n* nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file (CVE-2024-5742)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 9.5 Release Notes linked from the References section.", "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-2024:9430", "url": "https://access.redhat.com/errata/RHSA-2024:9430" }, { "category": "external", "summary": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index", "url": "https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/index" }, { "category": "external", "summary": "https://access.redhat.com/security/updates/classification/#low", "url": "https://access.redhat.com/security/updates/classification/#low" }, { "category": "external", "summary": "2278574", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2278574" }, { "category": "self", "summary": "Canonical URL", "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_9430.json" } ], "title": "Red Hat Security Advisory: nano security update", "tracking": { "current_release_date": "2024-11-12T18:07:07+00:00", "generator": { "date": "2024-11-12T18:07:07+00:00", "engine": { "name": "Red Hat SDEngine", "version": "4.1.1" } }, "id": "RHSA-2024:9430", "initial_release_date": "2024-11-12T09:32:26+00:00", "revision_history": [ { "date": "2024-11-12T09:32:26+00:00", "number": "1", "summary": "Initial version" }, { "date": "2024-11-12T09:32:26+00:00", "number": "2", "summary": "Last updated version" }, { "date": "2024-11-12T18:07:07+00:00", "number": "3", "summary": "Last generated version" } ], "status": "final", "version": "3" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_name", "name": "Red Hat Enterprise Linux BaseOS (v. 9)", "product": { "name": "Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA", "product_identification_helper": { "cpe": "cpe:/o:redhat:enterprise_linux:9::baseos" } } } ], "category": "product_family", "name": "Red Hat Enterprise Linux" }, { "branches": [ { "category": "product_version", "name": "nano-0:5.6.1-6.el9.src", "product": { "name": "nano-0:5.6.1-6.el9.src", "product_id": "nano-0:5.6.1-6.el9.src", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano@5.6.1-6.el9?arch=src" } } } ], "category": "architecture", "name": "src" }, { "branches": [ { "category": "product_version", "name": "nano-0:5.6.1-6.el9.aarch64", "product": { "name": "nano-0:5.6.1-6.el9.aarch64", "product_id": "nano-0:5.6.1-6.el9.aarch64", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano@5.6.1-6.el9?arch=aarch64" } } }, { "category": "product_version", "name": "nano-debugsource-0:5.6.1-6.el9.aarch64", "product": { "name": "nano-debugsource-0:5.6.1-6.el9.aarch64", "product_id": "nano-debugsource-0:5.6.1-6.el9.aarch64", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano-debugsource@5.6.1-6.el9?arch=aarch64" } } }, { "category": "product_version", "name": "nano-debuginfo-0:5.6.1-6.el9.aarch64", "product": { "name": "nano-debuginfo-0:5.6.1-6.el9.aarch64", "product_id": "nano-debuginfo-0:5.6.1-6.el9.aarch64", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano-debuginfo@5.6.1-6.el9?arch=aarch64" } } } ], "category": "architecture", "name": "aarch64" }, { "branches": [ { "category": "product_version", "name": "nano-0:5.6.1-6.el9.ppc64le", "product": { "name": "nano-0:5.6.1-6.el9.ppc64le", "product_id": "nano-0:5.6.1-6.el9.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano@5.6.1-6.el9?arch=ppc64le" } } }, { "category": "product_version", "name": "nano-debugsource-0:5.6.1-6.el9.ppc64le", "product": { "name": "nano-debugsource-0:5.6.1-6.el9.ppc64le", "product_id": "nano-debugsource-0:5.6.1-6.el9.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano-debugsource@5.6.1-6.el9?arch=ppc64le" } } }, { "category": "product_version", "name": "nano-debuginfo-0:5.6.1-6.el9.ppc64le", "product": { "name": "nano-debuginfo-0:5.6.1-6.el9.ppc64le", "product_id": "nano-debuginfo-0:5.6.1-6.el9.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano-debuginfo@5.6.1-6.el9?arch=ppc64le" } } } ], "category": "architecture", "name": "ppc64le" }, { "branches": [ { "category": "product_version", "name": "nano-0:5.6.1-6.el9.x86_64", "product": { "name": "nano-0:5.6.1-6.el9.x86_64", "product_id": "nano-0:5.6.1-6.el9.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano@5.6.1-6.el9?arch=x86_64" } } }, { "category": "product_version", "name": "nano-debugsource-0:5.6.1-6.el9.x86_64", "product": { "name": "nano-debugsource-0:5.6.1-6.el9.x86_64", "product_id": "nano-debugsource-0:5.6.1-6.el9.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano-debugsource@5.6.1-6.el9?arch=x86_64" } } }, { "category": "product_version", "name": "nano-debuginfo-0:5.6.1-6.el9.x86_64", "product": { "name": "nano-debuginfo-0:5.6.1-6.el9.x86_64", "product_id": "nano-debuginfo-0:5.6.1-6.el9.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano-debuginfo@5.6.1-6.el9?arch=x86_64" } } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_version", "name": "nano-0:5.6.1-6.el9.s390x", "product": { "name": "nano-0:5.6.1-6.el9.s390x", "product_id": "nano-0:5.6.1-6.el9.s390x", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano@5.6.1-6.el9?arch=s390x" } } }, { "category": "product_version", "name": "nano-debugsource-0:5.6.1-6.el9.s390x", "product": { "name": "nano-debugsource-0:5.6.1-6.el9.s390x", "product_id": "nano-debugsource-0:5.6.1-6.el9.s390x", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano-debugsource@5.6.1-6.el9?arch=s390x" } } }, { "category": "product_version", "name": "nano-debuginfo-0:5.6.1-6.el9.s390x", "product": { "name": "nano-debuginfo-0:5.6.1-6.el9.s390x", "product_id": "nano-debuginfo-0:5.6.1-6.el9.s390x", "product_identification_helper": { "purl": "pkg:rpm/redhat/nano-debuginfo@5.6.1-6.el9?arch=s390x" } } } ], "category": "architecture", "name": "s390x" } ], "category": "vendor", "name": "Red Hat" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "nano-0:5.6.1-6.el9.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.aarch64" }, "product_reference": "nano-0:5.6.1-6.el9.aarch64", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-0:5.6.1-6.el9.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.ppc64le" }, "product_reference": "nano-0:5.6.1-6.el9.ppc64le", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-0:5.6.1-6.el9.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.s390x" }, "product_reference": "nano-0:5.6.1-6.el9.s390x", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-0:5.6.1-6.el9.src as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.src" }, "product_reference": "nano-0:5.6.1-6.el9.src", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-0:5.6.1-6.el9.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.x86_64" }, "product_reference": "nano-0:5.6.1-6.el9.x86_64", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-debuginfo-0:5.6.1-6.el9.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.aarch64" }, "product_reference": "nano-debuginfo-0:5.6.1-6.el9.aarch64", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-debuginfo-0:5.6.1-6.el9.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.ppc64le" }, "product_reference": "nano-debuginfo-0:5.6.1-6.el9.ppc64le", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-debuginfo-0:5.6.1-6.el9.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.s390x" }, "product_reference": "nano-debuginfo-0:5.6.1-6.el9.s390x", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-debuginfo-0:5.6.1-6.el9.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.x86_64" }, "product_reference": "nano-debuginfo-0:5.6.1-6.el9.x86_64", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-debugsource-0:5.6.1-6.el9.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.aarch64" }, "product_reference": "nano-debugsource-0:5.6.1-6.el9.aarch64", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-debugsource-0:5.6.1-6.el9.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.ppc64le" }, "product_reference": "nano-debugsource-0:5.6.1-6.el9.ppc64le", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-debugsource-0:5.6.1-6.el9.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.s390x" }, "product_reference": "nano-debugsource-0:5.6.1-6.el9.s390x", "relates_to_product_reference": "BaseOS-9.5.0.GA" }, { "category": "default_component_of", "full_product_name": { "name": "nano-debugsource-0:5.6.1-6.el9.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)", "product_id": "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.x86_64" }, "product_reference": "nano-debugsource-0:5.6.1-6.el9.x86_64", "relates_to_product_reference": "BaseOS-9.5.0.GA" } ] }, "vulnerabilities": [ { "cve": "CVE-2024-5742", "cwe": { "id": "CWE-59", "name": "Improper Link Resolution Before File Access (\u0027Link Following\u0027)" }, "discovery_date": "2024-05-02T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "2278574" } ], "notes": [ { "category": "description", "text": "A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file. If Nano is killed while editing, a file it saves to an emergency file with the permissions of the running user provides a window of opportunity for attackers to escalate privileges through a malicious symlink.", "title": "Vulnerability description" }, { "category": "summary", "text": "nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file", "title": "Vulnerability summary" }, { "category": "other", "text": "For an attack to be successful, an attacker must be able to kill the Nano session of another user, hence this issue was rated as a Low severity issue.", "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": [ "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.aarch64", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.ppc64le", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.s390x", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.src", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.x86_64", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.aarch64", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.ppc64le", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.s390x", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.x86_64", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.aarch64", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.ppc64le", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.s390x", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.x86_64" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2024-5742" }, { "category": "external", "summary": "RHBZ#2278574", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2278574" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2024-5742", "url": "https://www.cve.org/CVERecord?id=CVE-2024-5742" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-5742", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-5742" } ], "release_date": "2024-04-28T00:00:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2024-11-12T09:32:26+00:00", "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258", "product_ids": [ "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.aarch64", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.ppc64le", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.s390x", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.src", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.x86_64", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.aarch64", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.ppc64le", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.s390x", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.x86_64", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.aarch64", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.ppc64le", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.s390x", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.x86_64" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2024:9430" } ], "scores": [ { "cvss_v3": { "attackComplexity": "HIGH", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 6.7, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" }, "products": [ "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.aarch64", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.ppc64le", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.s390x", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.src", "BaseOS-9.5.0.GA:nano-0:5.6.1-6.el9.x86_64", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.aarch64", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.ppc64le", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.s390x", "BaseOS-9.5.0.GA:nano-debuginfo-0:5.6.1-6.el9.x86_64", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.aarch64", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.ppc64le", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.s390x", "BaseOS-9.5.0.GA:nano-debugsource-0:5.6.1-6.el9.x86_64" ] } ], "threats": [ { "category": "impact", "details": "Low" } ], "title": "nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file" } ] }
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.