WID-SEC-W-2022-0795
Vulnerability from csaf_certbund - Published: 2022-05-10 22:00 - Updated: 2024-06-30 22:00In zsh besteht eine Schwachstelle, wenn "PROMPT_SUBST evaluation" aktiviert ist. Einige Prompt-Expansionssequenzen, wie z.B. "%F", unterstützen Argumente, die selbst expandiert werden. Dies kann ausgenutzt werden, um Code auszuführen, den der Benutzer nicht erwartet hat. Eine erfolgreiche Ausnutzung erfordert eine Benutzerinteraktion.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
|
Red Hat Enterprise Linux
Red Hat
|
cpe:/o:redhat:enterprise_linux:-
|
— | |
|
Debian Linux
Debian
|
cpe:/o:debian:debian_linux:-
|
— | |
|
SUSE Linux
SUSE
|
cpe:/o:suse:suse_linux:-
|
— | |
|
Ubuntu Linux
Ubuntu
|
cpe:/o:canonical:ubuntu_linux:-
|
— | |
|
Amazon Linux 2
Amazon
|
cpe:/o:amazon:linux_2:-
|
— | |
|
Gentoo Linux
Gentoo
|
cpe:/o:gentoo:linux:-
|
— |
{
"document": {
"aggregate_severity": {
"text": "mittel"
},
"category": "csaf_base",
"csaf_version": "2.0",
"distribution": {
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "de-DE",
"notes": [
{
"category": "legal_disclaimer",
"text": "Das BSI ist als Anbieter f\u00fcr die eigenen, zur Nutzung bereitgestellten Inhalte nach den allgemeinen Gesetzen verantwortlich. Nutzerinnen und Nutzer sind jedoch daf\u00fcr verantwortlich, die Verwendung und/oder die Umsetzung der mit den Inhalten bereitgestellten Informationen sorgf\u00e4ltig im Einzelfall zu pr\u00fcfen."
},
{
"category": "description",
"text": "Die z-shell (zsh) ist eine Unix-Shell bzw. Benutzerschnittstelle unter Unix, wor\u00fcber ein Benutzer in einer Eingabezeile Kommandos eingeben kann.",
"title": "Produktbeschreibung"
},
{
"category": "summary",
"text": "Ein lokaler Angreifer kann eine Schwachstelle in zsh ausnutzen, um beliebigen Programmcode auszuf\u00fchren.",
"title": "Angriff"
},
{
"category": "general",
"text": "- Linux\n- MacOS X\n- UNIX",
"title": "Betroffene Betriebssysteme"
}
],
"publisher": {
"category": "other",
"contact_details": "csaf-provider@cert-bund.de",
"name": "Bundesamt f\u00fcr Sicherheit in der Informationstechnik",
"namespace": "https://www.bsi.bund.de"
},
"references": [
{
"category": "self",
"summary": "WID-SEC-W-2022-0795 - CSAF Version",
"url": "https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0795.json"
},
{
"category": "self",
"summary": "WID-SEC-2022-0795 - Portal Version",
"url": "https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0795"
},
{
"category": "external",
"summary": "Red Hat Security Advisory vom 2022-05-10",
"url": "https://access.redhat.com/errata/RHSA-2022:2120"
},
{
"category": "external",
"summary": "Debian Security Advisory DSA-5078",
"url": "https://www.debian.org/security/2022/dsa-5078"
},
{
"category": "external",
"summary": "Debian Security Advisory DLA 2926",
"url": "https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html"
},
{
"category": "external",
"summary": "SUSE Security Update",
"url": "https://lists.suse.com/pipermail/sle-security-updates/2022-March/010367.html"
},
{
"category": "external",
"summary": "SUSE Security Update",
"url": "https://lists.suse.com/pipermail/sle-security-updates/2022-March/010368.html"
},
{
"category": "external",
"summary": "SUSE Security Update",
"url": "https://lists.suse.com/pipermail/sle-security-updates/2022-March/010365.html"
},
{
"category": "external",
"summary": "Ubuntu Security Notice USN-5325-1",
"url": "https://ubuntu.com/security/notices/USN-5325-1"
},
{
"category": "external",
"summary": "Amazon Linux Security Advisory ALAS-2022-117 vom 2022-07-21",
"url": "https://alas.aws.amazon.com/AL2022/ALAS-2022-117.html"
},
{
"category": "external",
"summary": "Amazon Linux Security Advisory ALAS-2022-180 vom 2022-11-04",
"url": "https://alas.aws.amazon.com/AL2022/ALAS-2022-180.html"
},
{
"category": "external",
"summary": "Gentoo Linux Security Advisory GLSA-202407-01 vom 2024-07-01",
"url": "https://security.gentoo.org/glsa/202407-01"
}
],
"source_lang": "en-US",
"title": "zsh: Schwachstelle erm\u00f6glicht Codeausf\u00fchrung",
"tracking": {
"current_release_date": "2024-06-30T22:00:00.000+00:00",
"generator": {
"date": "2024-08-15T17:32:14.062+00:00",
"engine": {
"name": "BSI-WID",
"version": "1.3.5"
}
},
"id": "WID-SEC-W-2022-0795",
"initial_release_date": "2022-05-10T22:00:00.000+00:00",
"revision_history": [
{
"date": "2022-05-10T22:00:00.000+00:00",
"number": "1",
"summary": "Initiale Fassung"
},
{
"date": "2022-07-21T22:00:00.000+00:00",
"number": "2",
"summary": "Neue Updates von Amazon aufgenommen"
},
{
"date": "2022-11-06T23:00:00.000+00:00",
"number": "3",
"summary": "Neue Updates von Amazon aufgenommen"
},
{
"date": "2024-06-30T22:00:00.000+00:00",
"number": "4",
"summary": "Neue Updates von Gentoo aufgenommen"
}
],
"status": "final",
"version": "4"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Amazon Linux 2",
"product": {
"name": "Amazon Linux 2",
"product_id": "398363",
"product_identification_helper": {
"cpe": "cpe:/o:amazon:linux_2:-"
}
}
}
],
"category": "vendor",
"name": "Amazon"
},
{
"branches": [
{
"category": "product_name",
"name": "Debian Linux",
"product": {
"name": "Debian Linux",
"product_id": "2951",
"product_identification_helper": {
"cpe": "cpe:/o:debian:debian_linux:-"
}
}
}
],
"category": "vendor",
"name": "Debian"
},
{
"branches": [
{
"category": "product_name",
"name": "Gentoo Linux",
"product": {
"name": "Gentoo Linux",
"product_id": "T012167",
"product_identification_helper": {
"cpe": "cpe:/o:gentoo:linux:-"
}
}
}
],
"category": "vendor",
"name": "Gentoo"
},
{
"branches": [
{
"branches": [
{
"category": "product_version_range",
"name": "\u003c5.8.1",
"product": {
"name": "Open Source zsh \u003c5.8.1",
"product_id": "1135488"
}
}
],
"category": "product_name",
"name": "zsh"
}
],
"category": "vendor",
"name": "Open Source"
},
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux",
"product": {
"name": "Red Hat Enterprise Linux",
"product_id": "T015361",
"product_identification_helper": {
"cpe": "cpe:/o:redhat:enterprise_linux:-"
}
}
}
],
"category": "vendor",
"name": "Red Hat"
},
{
"branches": [
{
"category": "product_name",
"name": "SUSE Linux",
"product": {
"name": "SUSE Linux",
"product_id": "T002207",
"product_identification_helper": {
"cpe": "cpe:/o:suse:suse_linux:-"
}
}
}
],
"category": "vendor",
"name": "SUSE"
},
{
"branches": [
{
"category": "product_name",
"name": "Ubuntu Linux",
"product": {
"name": "Ubuntu Linux",
"product_id": "T000126",
"product_identification_helper": {
"cpe": "cpe:/o:canonical:ubuntu_linux:-"
}
}
}
],
"category": "vendor",
"name": "Ubuntu"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-45444",
"notes": [
{
"category": "description",
"text": "In zsh besteht eine Schwachstelle, wenn \"PROMPT_SUBST evaluation\" aktiviert ist. Einige Prompt-Expansionssequenzen, wie z.B. \"%F\", unterst\u00fctzen Argumente, die selbst expandiert werden. Dies kann ausgenutzt werden, um Code auszuf\u00fchren, den der Benutzer nicht erwartet hat. Eine erfolgreiche Ausnutzung erfordert eine Benutzerinteraktion."
}
],
"product_status": {
"known_affected": [
"T015361",
"2951",
"T002207",
"T000126",
"398363",
"T012167"
]
},
"release_date": "2022-05-10T22:00:00.000+00:00",
"title": "CVE-2021-45444"
}
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.