opensuse-su-2021:0170-1
Vulnerability from csaf_opensuse
Published
2021-01-27 07:25
Modified
2021-01-27 07:25
Summary
Security update for sudo
Notes
Title of the patch
Security update for sudo
Description of the patch
This update for sudo fixes the following issues:
- A Heap-based buffer overflow in sudo could be exploited to allow a user to gain root privileges
[bsc#1181090,CVE-2021-3156]
- It was possible for a user to test for the existence of a directory due to a Race Condition in `sudoedit`
[bsc#1180684,CVE-2021-23239]
- A Possible Symlink Attack vector existed in `sudoedit` if SELinux was running in permissive mode [bsc#1180685,
CVE-2021-23240]
- It was possible for a User to enable Debug Settings not Intended for them [bsc#1180687]
This update was imported from the SUSE:SLE-15:Update update project.
Patchnames
openSUSE-2021-170
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": "important"
},
"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": "Security update for sudo",
"title": "Title of the patch"
},
{
"category": "description",
"text": "This update for sudo fixes the following issues:\n\n- A Heap-based buffer overflow in sudo could be exploited to allow a user to gain root privileges \n [bsc#1181090,CVE-2021-3156]\n- It was possible for a user to test for the existence of a directory due to a Race Condition in `sudoedit`\n [bsc#1180684,CVE-2021-23239]\n- A Possible Symlink Attack vector existed in `sudoedit` if SELinux was running in permissive mode [bsc#1180685,\n CVE-2021-23240]\n- It was possible for a User to enable Debug Settings not Intended for them [bsc#1180687]\n\nThis update was imported from the SUSE:SLE-15:Update update project.",
"title": "Description of the patch"
},
{
"category": "details",
"text": "openSUSE-2021-170",
"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-2021_0170-1.json"
},
{
"category": "self",
"summary": "URL for openSUSE-SU-2021:0170-1",
"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/3O463OUKAXLCUM74AUHUPVMQFXLLVAEH/"
},
{
"category": "self",
"summary": "E-Mail link for openSUSE-SU-2021:0170-1",
"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/3O463OUKAXLCUM74AUHUPVMQFXLLVAEH/"
},
{
"category": "self",
"summary": "SUSE Bug 1180684",
"url": "https://bugzilla.suse.com/1180684"
},
{
"category": "self",
"summary": "SUSE Bug 1180685",
"url": "https://bugzilla.suse.com/1180685"
},
{
"category": "self",
"summary": "SUSE Bug 1180687",
"url": "https://bugzilla.suse.com/1180687"
},
{
"category": "self",
"summary": "SUSE Bug 1181090",
"url": "https://bugzilla.suse.com/1181090"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2021-23239 page",
"url": "https://www.suse.com/security/cve/CVE-2021-23239/"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2021-23240 page",
"url": "https://www.suse.com/security/cve/CVE-2021-23240/"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2021-3156 page",
"url": "https://www.suse.com/security/cve/CVE-2021-3156/"
}
],
"title": "Security update for sudo",
"tracking": {
"current_release_date": "2021-01-27T07:25:26Z",
"generator": {
"date": "2021-01-27T07:25:26Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "openSUSE-SU-2021:0170-1",
"initial_release_date": "2021-01-27T07:25:26Z",
"revision_history": [
{
"date": "2021-01-27T07:25:26Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "sudo-1.8.22-lp152.8.6.1.i586",
"product": {
"name": "sudo-1.8.22-lp152.8.6.1.i586",
"product_id": "sudo-1.8.22-lp152.8.6.1.i586"
}
},
{
"category": "product_version",
"name": "sudo-devel-1.8.22-lp152.8.6.1.i586",
"product": {
"name": "sudo-devel-1.8.22-lp152.8.6.1.i586",
"product_id": "sudo-devel-1.8.22-lp152.8.6.1.i586"
}
},
{
"category": "product_version",
"name": "sudo-test-1.8.22-lp152.8.6.1.i586",
"product": {
"name": "sudo-test-1.8.22-lp152.8.6.1.i586",
"product_id": "sudo-test-1.8.22-lp152.8.6.1.i586"
}
}
],
"category": "architecture",
"name": "i586"
},
{
"branches": [
{
"category": "product_version",
"name": "sudo-1.8.22-lp152.8.6.1.x86_64",
"product": {
"name": "sudo-1.8.22-lp152.8.6.1.x86_64",
"product_id": "sudo-1.8.22-lp152.8.6.1.x86_64"
}
},
{
"category": "product_version",
"name": "sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"product": {
"name": "sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"product_id": "sudo-devel-1.8.22-lp152.8.6.1.x86_64"
}
},
{
"category": "product_version",
"name": "sudo-test-1.8.22-lp152.8.6.1.x86_64",
"product": {
"name": "sudo-test-1.8.22-lp152.8.6.1.x86_64",
"product_id": "sudo-test-1.8.22-lp152.8.6.1.x86_64"
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_name",
"name": "openSUSE Leap 15.2",
"product": {
"name": "openSUSE Leap 15.2",
"product_id": "openSUSE Leap 15.2",
"product_identification_helper": {
"cpe": "cpe:/o:opensuse:leap:15.2"
}
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-1.8.22-lp152.8.6.1.i586 as component of openSUSE Leap 15.2",
"product_id": "openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586"
},
"product_reference": "sudo-1.8.22-lp152.8.6.1.i586",
"relates_to_product_reference": "openSUSE Leap 15.2"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-1.8.22-lp152.8.6.1.x86_64 as component of openSUSE Leap 15.2",
"product_id": "openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64"
},
"product_reference": "sudo-1.8.22-lp152.8.6.1.x86_64",
"relates_to_product_reference": "openSUSE Leap 15.2"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-devel-1.8.22-lp152.8.6.1.i586 as component of openSUSE Leap 15.2",
"product_id": "openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586"
},
"product_reference": "sudo-devel-1.8.22-lp152.8.6.1.i586",
"relates_to_product_reference": "openSUSE Leap 15.2"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-devel-1.8.22-lp152.8.6.1.x86_64 as component of openSUSE Leap 15.2",
"product_id": "openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64"
},
"product_reference": "sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"relates_to_product_reference": "openSUSE Leap 15.2"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-test-1.8.22-lp152.8.6.1.i586 as component of openSUSE Leap 15.2",
"product_id": "openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586"
},
"product_reference": "sudo-test-1.8.22-lp152.8.6.1.i586",
"relates_to_product_reference": "openSUSE Leap 15.2"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-test-1.8.22-lp152.8.6.1.x86_64 as component of openSUSE Leap 15.2",
"product_id": "openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
},
"product_reference": "sudo-test-1.8.22-lp152.8.6.1.x86_64",
"relates_to_product_reference": "openSUSE Leap 15.2"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-23239",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2021-23239"
}
],
"notes": [
{
"category": "general",
"text": "The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2021-23239",
"url": "https://www.suse.com/security/cve/CVE-2021-23239"
},
{
"category": "external",
"summary": "SUSE Bug 1171722 for CVE-2021-23239",
"url": "https://bugzilla.suse.com/1171722"
},
{
"category": "external",
"summary": "SUSE Bug 1180684 for CVE-2021-23239",
"url": "https://bugzilla.suse.com/1180684"
}
],
"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 Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 2.5,
"baseSeverity": "LOW",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
"version": "3.1"
},
"products": [
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2021-01-27T07:25:26Z",
"details": "low"
}
],
"title": "CVE-2021-23239"
},
{
"cve": "CVE-2021-23240",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2021-23240"
}
],
"notes": [
{
"category": "general",
"text": "selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target. This affects SELinux RBAC support in permissive mode. Machines without SELinux are not vulnerable.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2021-23240",
"url": "https://www.suse.com/security/cve/CVE-2021-23240"
},
{
"category": "external",
"summary": "SUSE Bug 1171722 for CVE-2021-23240",
"url": "https://bugzilla.suse.com/1171722"
},
{
"category": "external",
"summary": "SUSE Bug 1180685 for CVE-2021-23240",
"url": "https://bugzilla.suse.com/1180685"
}
],
"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 Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2021-01-27T07:25:26Z",
"details": "important"
}
],
"title": "CVE-2021-23240"
},
{
"cve": "CVE-2021-3156",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2021-3156"
}
],
"notes": [
{
"category": "general",
"text": "Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via \"sudoedit -s\" and a command-line argument that ends with a single backslash character.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2021-3156",
"url": "https://www.suse.com/security/cve/CVE-2021-3156"
},
{
"category": "external",
"summary": "SUSE Bug 1180684 for CVE-2021-3156",
"url": "https://bugzilla.suse.com/1180684"
},
{
"category": "external",
"summary": "SUSE Bug 1181090 for CVE-2021-3156",
"url": "https://bugzilla.suse.com/1181090"
},
{
"category": "external",
"summary": "SUSE Bug 1181506 for CVE-2021-3156",
"url": "https://bugzilla.suse.com/1181506"
},
{
"category": "external",
"summary": "SUSE Bug 1181657 for CVE-2021-3156",
"url": "https://bugzilla.suse.com/1181657"
},
{
"category": "external",
"summary": "SUSE Bug 1183936 for CVE-2021-3156",
"url": "https://bugzilla.suse.com/1183936"
},
{
"category": "external",
"summary": "SUSE Bug 1218863 for CVE-2021-3156",
"url": "https://bugzilla.suse.com/1218863"
},
{
"category": "external",
"summary": "SUSE Bug 1225623 for CVE-2021-3156",
"url": "https://bugzilla.suse.com/1225623"
}
],
"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 Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-devel-1.8.22-lp152.8.6.1.x86_64",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.i586",
"openSUSE Leap 15.2:sudo-test-1.8.22-lp152.8.6.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2021-01-27T07:25:26Z",
"details": "important"
}
],
"title": "CVE-2021-3156"
}
]
}
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.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- 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.
Loading…
Loading…