RHSA-2022:2120
Vulnerability from csaf_redhat - Published: 2022-05-10 13:59 - Updated: 2025-11-21 18:30Summary
Red Hat Security Advisory: zsh security update
Severity
Moderate
Notes
Topic: An update for zsh is now available for Red Hat Enterprise Linux 8.
Red Hat Product Security has rated this update as having a security impact of Moderate. 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: The zsh shell is a command interpreter usable as an interactive login shell and as a shell script command processor. Zsh resembles the ksh shell (the Korn shell), but includes many enhancements. Zsh supports command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and more.
Security Fix(es):
* zsh: Prompt expansion vulnerability (CVE-2021-45444)
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 8.6 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.
A vulnerability was found in zsh in the parsecolorchar() function of prompt.c file. This flaw allows an attacker to perform code execution if they control a command output inside the prompt, as stated by a %F%K argument. This occurs because of recursive PROMPT_SUBST expansion.
7.8 (High)
Vendor Fix
For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2022:2120
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 zsh is now available for Red Hat Enterprise Linux 8.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. 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": "The zsh shell is a command interpreter usable as an interactive login shell and as a shell script command processor. Zsh resembles the ksh shell (the Korn shell), but includes many enhancements. Zsh supports command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and more.\n\nSecurity Fix(es):\n\n* zsh: Prompt expansion vulnerability (CVE-2021-45444)\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 8.6 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-2022:2120",
"url": "https://access.redhat.com/errata/RHSA-2022:2120"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes/",
"url": "https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes/"
},
{
"category": "external",
"summary": "2054089",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2054089"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_2120.json"
}
],
"title": "Red Hat Security Advisory: zsh security update",
"tracking": {
"current_release_date": "2025-11-21T18:30:44+00:00",
"generator": {
"date": "2025-11-21T18:30:44+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.6.12"
}
},
"id": "RHSA-2022:2120",
"initial_release_date": "2022-05-10T13:59:26+00:00",
"revision_history": [
{
"date": "2022-05-10T13:59:26+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2022-05-10T13:59:26+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2025-11-21T18:30:44+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 AppStream (v. 8)",
"product": {
"name": "Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:enterprise_linux:8::appstream"
}
}
},
{
"category": "product_name",
"name": "Red Hat Enterprise Linux BaseOS (v. 8)",
"product": {
"name": "Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA",
"product_identification_helper": {
"cpe": "cpe:/o:redhat:enterprise_linux:8::baseos"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "zsh-0:5.5.1-9.el8.src",
"product": {
"name": "zsh-0:5.5.1-9.el8.src",
"product_id": "zsh-0:5.5.1-9.el8.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh@5.5.1-9.el8?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "zsh-0:5.5.1-9.el8.aarch64",
"product": {
"name": "zsh-0:5.5.1-9.el8.aarch64",
"product_id": "zsh-0:5.5.1-9.el8.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh@5.5.1-9.el8?arch=aarch64"
}
}
},
{
"category": "product_version",
"name": "zsh-debugsource-0:5.5.1-9.el8.aarch64",
"product": {
"name": "zsh-debugsource-0:5.5.1-9.el8.aarch64",
"product_id": "zsh-debugsource-0:5.5.1-9.el8.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh-debugsource@5.5.1-9.el8?arch=aarch64"
}
}
},
{
"category": "product_version",
"name": "zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"product": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"product_id": "zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh-debuginfo@5.5.1-9.el8?arch=aarch64"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "zsh-0:5.5.1-9.el8.ppc64le",
"product": {
"name": "zsh-0:5.5.1-9.el8.ppc64le",
"product_id": "zsh-0:5.5.1-9.el8.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh@5.5.1-9.el8?arch=ppc64le"
}
}
},
{
"category": "product_version",
"name": "zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"product": {
"name": "zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"product_id": "zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh-debugsource@5.5.1-9.el8?arch=ppc64le"
}
}
},
{
"category": "product_version",
"name": "zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"product": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"product_id": "zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh-debuginfo@5.5.1-9.el8?arch=ppc64le"
}
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "zsh-0:5.5.1-9.el8.x86_64",
"product": {
"name": "zsh-0:5.5.1-9.el8.x86_64",
"product_id": "zsh-0:5.5.1-9.el8.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh@5.5.1-9.el8?arch=x86_64"
}
}
},
{
"category": "product_version",
"name": "zsh-debugsource-0:5.5.1-9.el8.x86_64",
"product": {
"name": "zsh-debugsource-0:5.5.1-9.el8.x86_64",
"product_id": "zsh-debugsource-0:5.5.1-9.el8.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh-debugsource@5.5.1-9.el8?arch=x86_64"
}
}
},
{
"category": "product_version",
"name": "zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"product": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"product_id": "zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh-debuginfo@5.5.1-9.el8?arch=x86_64"
}
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_version",
"name": "zsh-0:5.5.1-9.el8.s390x",
"product": {
"name": "zsh-0:5.5.1-9.el8.s390x",
"product_id": "zsh-0:5.5.1-9.el8.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh@5.5.1-9.el8?arch=s390x"
}
}
},
{
"category": "product_version",
"name": "zsh-debugsource-0:5.5.1-9.el8.s390x",
"product": {
"name": "zsh-debugsource-0:5.5.1-9.el8.s390x",
"product_id": "zsh-debugsource-0:5.5.1-9.el8.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh-debugsource@5.5.1-9.el8?arch=s390x"
}
}
},
{
"category": "product_version",
"name": "zsh-debuginfo-0:5.5.1-9.el8.s390x",
"product": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.s390x",
"product_id": "zsh-debuginfo-0:5.5.1-9.el8.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh-debuginfo@5.5.1-9.el8?arch=s390x"
}
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "zsh-html-0:5.5.1-9.el8.noarch",
"product": {
"name": "zsh-html-0:5.5.1-9.el8.noarch",
"product_id": "zsh-html-0:5.5.1-9.el8.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/zsh-html@5.5.1-9.el8?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.aarch64"
},
"product_reference": "zsh-0:5.5.1-9.el8.aarch64",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.ppc64le"
},
"product_reference": "zsh-0:5.5.1-9.el8.ppc64le",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.s390x"
},
"product_reference": "zsh-0:5.5.1-9.el8.s390x",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.src as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.src"
},
"product_reference": "zsh-0:5.5.1-9.el8.src",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.x86_64"
},
"product_reference": "zsh-0:5.5.1-9.el8.x86_64",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.aarch64"
},
"product_reference": "zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.ppc64le"
},
"product_reference": "zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.s390x"
},
"product_reference": "zsh-debuginfo-0:5.5.1-9.el8.s390x",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.x86_64"
},
"product_reference": "zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debugsource-0:5.5.1-9.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.aarch64"
},
"product_reference": "zsh-debugsource-0:5.5.1-9.el8.aarch64",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debugsource-0:5.5.1-9.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.ppc64le"
},
"product_reference": "zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debugsource-0:5.5.1-9.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.s390x"
},
"product_reference": "zsh-debugsource-0:5.5.1-9.el8.s390x",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debugsource-0:5.5.1-9.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.x86_64"
},
"product_reference": "zsh-debugsource-0:5.5.1-9.el8.x86_64",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-html-0:5.5.1-9.el8.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
"product_id": "AppStream-8.6.0.GA:zsh-html-0:5.5.1-9.el8.noarch"
},
"product_reference": "zsh-html-0:5.5.1-9.el8.noarch",
"relates_to_product_reference": "AppStream-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.aarch64"
},
"product_reference": "zsh-0:5.5.1-9.el8.aarch64",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.ppc64le"
},
"product_reference": "zsh-0:5.5.1-9.el8.ppc64le",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.s390x"
},
"product_reference": "zsh-0:5.5.1-9.el8.s390x",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.src"
},
"product_reference": "zsh-0:5.5.1-9.el8.src",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-0:5.5.1-9.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.x86_64"
},
"product_reference": "zsh-0:5.5.1-9.el8.x86_64",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.aarch64"
},
"product_reference": "zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.ppc64le"
},
"product_reference": "zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.s390x"
},
"product_reference": "zsh-debuginfo-0:5.5.1-9.el8.s390x",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debuginfo-0:5.5.1-9.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.x86_64"
},
"product_reference": "zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debugsource-0:5.5.1-9.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.aarch64"
},
"product_reference": "zsh-debugsource-0:5.5.1-9.el8.aarch64",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debugsource-0:5.5.1-9.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.ppc64le"
},
"product_reference": "zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debugsource-0:5.5.1-9.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.s390x"
},
"product_reference": "zsh-debugsource-0:5.5.1-9.el8.s390x",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-debugsource-0:5.5.1-9.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.x86_64"
},
"product_reference": "zsh-debugsource-0:5.5.1-9.el8.x86_64",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "zsh-html-0:5.5.1-9.el8.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.6.0.GA:zsh-html-0:5.5.1-9.el8.noarch"
},
"product_reference": "zsh-html-0:5.5.1-9.el8.noarch",
"relates_to_product_reference": "BaseOS-8.6.0.GA"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-45444",
"cwe": {
"id": "CWE-77",
"name": "Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"
},
"discovery_date": "2022-02-14T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2054089"
}
],
"notes": [
{
"category": "description",
"text": "A vulnerability was found in zsh in the parsecolorchar() function of prompt.c file. This flaw allows an attacker to perform code execution if they control a command output inside the prompt, as stated by a %F%K argument. This occurs because of recursive PROMPT_SUBST expansion.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "zsh: Prompt expansion vulnerability",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Red Hat Enterprise Linux 6 and 7 are not affected, because the vulnerable function is not present in the code-base.\n\nRed Hat Product Security has rated this issue as having a Moderate security impact, and the issue is not currently planned to be addressed in future updates for Red Hat Enterprise Linux 6 and 7, hence, marked as Out-of-Support-Scope. \n\nFor additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ and Red Hat Enterprise Linux Life Cycle \u0026 Updates Policy: https://access.redhat.com/support/policy/updates/errata/.",
"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": [
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.aarch64",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.ppc64le",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.s390x",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.src",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.x86_64",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.s390x",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.aarch64",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.s390x",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.x86_64",
"AppStream-8.6.0.GA:zsh-html-0:5.5.1-9.el8.noarch",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.aarch64",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.ppc64le",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.s390x",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.src",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.x86_64",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.s390x",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.aarch64",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.s390x",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.x86_64",
"BaseOS-8.6.0.GA:zsh-html-0:5.5.1-9.el8.noarch"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-45444"
},
{
"category": "external",
"summary": "RHBZ#2054089",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2054089"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-45444",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-45444"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-45444",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45444"
},
{
"category": "external",
"summary": "https://www.zsh.org/mla/announce/msg00133.html",
"url": "https://www.zsh.org/mla/announce/msg00133.html"
}
],
"release_date": "2022-02-12T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2022-05-10T13:59: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": [
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.aarch64",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.ppc64le",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.s390x",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.src",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.x86_64",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.s390x",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.aarch64",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.s390x",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.x86_64",
"AppStream-8.6.0.GA:zsh-html-0:5.5.1-9.el8.noarch",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.aarch64",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.ppc64le",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.s390x",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.src",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.x86_64",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.s390x",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.aarch64",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.s390x",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.x86_64",
"BaseOS-8.6.0.GA:zsh-html-0:5.5.1-9.el8.noarch"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2022:2120"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.aarch64",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.ppc64le",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.s390x",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.src",
"AppStream-8.6.0.GA:zsh-0:5.5.1-9.el8.x86_64",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.s390x",
"AppStream-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.aarch64",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.s390x",
"AppStream-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.x86_64",
"AppStream-8.6.0.GA:zsh-html-0:5.5.1-9.el8.noarch",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.aarch64",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.ppc64le",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.s390x",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.src",
"BaseOS-8.6.0.GA:zsh-0:5.5.1-9.el8.x86_64",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.aarch64",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.ppc64le",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.s390x",
"BaseOS-8.6.0.GA:zsh-debuginfo-0:5.5.1-9.el8.x86_64",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.aarch64",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.ppc64le",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.s390x",
"BaseOS-8.6.0.GA:zsh-debugsource-0:5.5.1-9.el8.x86_64",
"BaseOS-8.6.0.GA:zsh-html-0:5.5.1-9.el8.noarch"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "zsh: Prompt expansion vulnerability"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…
Loading…