var-202011-0763
Vulnerability from variot
In tmux before version 3.1c the function input_csi_dispatch_sgr_colon() in file input.c contained a stack-based buffer-overflow that can be exploited by terminal output. tmux Is vulnerable to an out-of-bounds write.Information is obtained, information is tampered with, and service is disrupted (DoS) It may be put into a state. ========================================================================= Ubuntu Security Notice USN-4618-1 November 05, 2020
tmux vulnerability
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 20.10
- Ubuntu 20.04 LTS
Summary:
tmux could be made to crash or execute arbitrary code if it received a specially crafted input.
Software Description: - tmux: terminal multiplexer
Details:
Sergey Nizovtsev discovered that tmux incorrectly handled some inputs.
Update instructions:
The problem can be corrected by updating your system to the following package versions:
Ubuntu 20.10: tmux 3.1b-1ubuntu0.1
Ubuntu 20.04 LTS: tmux 3.0a-2ubuntu0.2
After a standard system update you need to restart tmux session to make all the necessary changes.
References: https://usn.ubuntu.com/4618-1 CVE-2020-27347
Package Information: https://launchpad.net/ubuntu/+source/tmux/3.1b-1ubuntu0.1 https://launchpad.net/ubuntu/+source/tmux/3.0a-2ubuntu0.2 . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 202011-10
https://security.gentoo.org/
Severity: Normal Title: tmux: Buffer overflow Date: November 11, 2020 Bugs: #753206 ID: 202011-10
Synopsis
A buffer overflow in tmux might allow remote attacker(s) to execute arbitrary code.
Background
tmux is a terminal multiplexer.
Affected packages
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-misc/tmux < 3.1c >= 3.1c
Description
A flaw in tmux's handling of escape characters was discovered which may allow a buffer overflow.
Impact
A remote attacker could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition.
Workaround
There is no known workaround at this time.
Resolution
All tmux users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-misc/tmux-3.1c"
References
[ 1 ] CVE-2020-27347 https://nvd.nist.gov/vuln/detail/CVE-2020-27347
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
https://security.gentoo.org/glsa/202011-10
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2020 Gentoo Foundation, Inc; referenced text belongs to its owner(s).
The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.
https://creativecommons.org/licenses/by-sa/2.5
Show details on source website{ "@context": { "@vocab": "https://www.variotdbs.pl/ref/VARIoTentry#", "affected_products": { "@id": "https://www.variotdbs.pl/ref/affected_products" }, "configurations": { "@id": "https://www.variotdbs.pl/ref/configurations" }, "credits": { "@id": "https://www.variotdbs.pl/ref/credits" }, "cvss": { "@id": "https://www.variotdbs.pl/ref/cvss/" }, "description": { "@id": "https://www.variotdbs.pl/ref/description/" }, "exploit_availability": { "@id": "https://www.variotdbs.pl/ref/exploit_availability/" }, "external_ids": { "@id": "https://www.variotdbs.pl/ref/external_ids/" }, "iot": { "@id": "https://www.variotdbs.pl/ref/iot/" }, "iot_taxonomy": { "@id": "https://www.variotdbs.pl/ref/iot_taxonomy/" }, "patch": { "@id": "https://www.variotdbs.pl/ref/patch/" }, "problemtype_data": { "@id": "https://www.variotdbs.pl/ref/problemtype_data/" }, "references": { "@id": "https://www.variotdbs.pl/ref/references/" }, "sources": { "@id": "https://www.variotdbs.pl/ref/sources/" }, "sources_release_date": { "@id": "https://www.variotdbs.pl/ref/sources_release_date/" }, "sources_update_date": { "@id": "https://www.variotdbs.pl/ref/sources_update_date/" }, "threat_type": { "@id": "https://www.variotdbs.pl/ref/threat_type/" }, "title": { "@id": "https://www.variotdbs.pl/ref/title/" }, "type": { "@id": "https://www.variotdbs.pl/ref/type/" } }, "@id": "https://www.variotdbs.pl/vuln/VAR-202011-0763", "affected_products": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/affected_products#", "data": { "@container": "@list" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" }, "@id": "https://www.variotdbs.pl/ref/sources" } }, "data": [ { "model": "tmux", "scope": "gte", "trust": 1.0, "vendor": "tmux", "version": "2.9" }, { "model": "tmux", "scope": "lte", "trust": 1.0, "vendor": "tmux", "version": "3.1b" }, { "model": "tmux", "scope": "eq", "trust": 0.8, "vendor": "nicholas marriott", "version": "3.1c" }, { "model": "tmux", "scope": "eq", "trust": 0.8, "vendor": "nicholas marriott", "version": null } ], "sources": [ { "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "db": "NVD", "id": "CVE-2020-27347" } ] }, "credits": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/credits#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "Gentoo", "sources": [ { "db": "PACKETSTORM", "id": "160013" }, { "db": "CNNVD", "id": "CNNVD-202011-563" } ], "trust": 0.7 }, "cve": "CVE-2020-27347", "cvss": { "@context": { "cvssV2": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV2#" }, "@id": "https://www.variotdbs.pl/ref/cvss/cvssV2" }, "cvssV3": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV3#" }, "@id": "https://www.variotdbs.pl/ref/cvss/cvssV3/" }, "severity": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/cvss/severity#" }, "@id": "https://www.variotdbs.pl/ref/cvss/severity" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" }, "@id": "https://www.variotdbs.pl/ref/sources" } }, "data": [ { "cvssV2": [ { "accessComplexity": "LOW", "accessVector": "LOCAL", "authentication": "NONE", "author": "nvd@nist.gov", "availabilityImpact": "PARTIAL", "baseScore": 4.6, "confidentialityImpact": "PARTIAL", "exploitabilityScore": 3.9, "id": "CVE-2020-27347", "impactScore": 6.4, "integrityImpact": "PARTIAL", "severity": "MEDIUM", "trust": 1.9, "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0" } ], "cvssV3": [ { "attackComplexity": "LOW", "attackVector": "LOCAL", "author": "nvd@nist.gov", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "exploitabilityScore": 1.8, "id": "CVE-2020-27347", "impactScore": 5.9, "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "trust": 1.0, "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, { "attackComplexity": "LOW", "attackVector": "LOCAL", "author": "security@ubuntu.com", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "exploitabilityScore": 2.0, "id": "CVE-2020-27347", "impactScore": 6.0, "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "CHANGED", "trust": 1.0, "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "version": "3.1" }, { "attackComplexity": "Low", "attackVector": "Local", "author": "NVD", "availabilityImpact": "High", "baseScore": 7.8, "baseSeverity": "High", "confidentialityImpact": "High", "exploitabilityScore": null, "id": "CVE-2020-27347", "impactScore": null, "integrityImpact": "High", "privilegesRequired": "Low", "scope": "Unchanged", "trust": 0.8, "userInteraction": "None", "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" } ], "severity": [ { "author": "nvd@nist.gov", "id": "CVE-2020-27347", "trust": 1.0, "value": "HIGH" }, { "author": "security@ubuntu.com", "id": "CVE-2020-27347", "trust": 1.0, "value": "HIGH" }, { "author": "NVD", "id": "CVE-2020-27347", "trust": 0.8, "value": "High" }, { "author": "CNNVD", "id": "CNNVD-202011-563", "trust": 0.6, "value": "HIGH" }, { "author": "VULMON", "id": "CVE-2020-27347", "trust": 0.1, "value": "MEDIUM" } ] } ], "sources": [ { "db": "VULMON", "id": "CVE-2020-27347" }, { "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "db": "CNNVD", "id": "CNNVD-202011-563" }, { "db": "NVD", "id": "CVE-2020-27347" }, { "db": "NVD", "id": "CVE-2020-27347" } ] }, "description": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/description#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "In tmux before version 3.1c the function input_csi_dispatch_sgr_colon() in file input.c contained a stack-based buffer-overflow that can be exploited by terminal output. tmux Is vulnerable to an out-of-bounds write.Information is obtained, information is tampered with, and service is disrupted (DoS) It may be put into a state. =========================================================================\nUbuntu Security Notice USN-4618-1\nNovember 05, 2020\n\ntmux vulnerability\n=========================================================================\nA security issue affects these releases of Ubuntu and its derivatives:\n\n- Ubuntu 20.10\n- Ubuntu 20.04 LTS\n\nSummary:\n\ntmux could be made to crash or execute arbitrary code if it received\na specially crafted input. \n\nSoftware Description:\n- tmux: terminal multiplexer\n\nDetails:\n\nSergey Nizovtsev discovered that tmux incorrectly handled some inputs. \n\nUpdate instructions:\n\nThe problem can be corrected by updating your system to the following\npackage versions:\n\nUbuntu 20.10:\n tmux 3.1b-1ubuntu0.1\n\nUbuntu 20.04 LTS:\n tmux 3.0a-2ubuntu0.2\n\nAfter a standard system update you need to restart tmux session to make\nall the necessary changes. \n\nReferences:\n https://usn.ubuntu.com/4618-1\n CVE-2020-27347\n\nPackage Information:\n https://launchpad.net/ubuntu/+source/tmux/3.1b-1ubuntu0.1\n https://launchpad.net/ubuntu/+source/tmux/3.0a-2ubuntu0.2\n. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nGentoo Linux Security Advisory GLSA 202011-10\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n https://security.gentoo.org/\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n Severity: Normal\n Title: tmux: Buffer overflow\n Date: November 11, 2020\n Bugs: #753206\n ID: 202011-10\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\nSynopsis\n=======\nA buffer overflow in tmux might allow remote attacker(s) to execute\narbitrary code. \n\nBackground\n=========\ntmux is a terminal multiplexer. \n\nAffected packages\n================\n -------------------------------------------------------------------\n Package / Vulnerable / Unaffected\n -------------------------------------------------------------------\n 1 app-misc/tmux \u003c 3.1c \u003e= 3.1c\n\nDescription\n==========\nA flaw in tmux\u0027s handling of escape characters was discovered which may\nallow a buffer overflow. \n\nImpact\n=====\nA remote attacker could possibly execute arbitrary code with the\nprivileges of the process, or cause a Denial of Service condition. \n\nWorkaround\n=========\nThere is no known workaround at this time. \n\nResolution\n=========\nAll tmux users should upgrade to the latest version:\n\n # emerge --sync\n # emerge --ask --oneshot --verbose \"\u003e=app-misc/tmux-3.1c\"\n\nReferences\n=========\n[ 1 ] CVE-2020-27347\n https://nvd.nist.gov/vuln/detail/CVE-2020-27347\n\nAvailability\n===========\nThis GLSA and any updates to it are available for viewing at\nthe Gentoo Security Website:\n\n https://security.gentoo.org/glsa/202011-10\n\nConcerns?\n========\nSecurity is a primary focus of Gentoo Linux and ensuring the\nconfidentiality and security of our users\u0027 machines is of utmost\nimportance to us. Any security concerns should be addressed to\nsecurity@gentoo.org or alternatively, you may file a bug at\nhttps://bugs.gentoo.org. \n\nLicense\n======\nCopyright 2020 Gentoo Foundation, Inc; referenced text\nbelongs to its owner(s). \n\nThe contents of this document are licensed under the\nCreative Commons - Attribution / Share Alike license. \n\nhttps://creativecommons.org/licenses/by-sa/2.5\n", "sources": [ { "db": "NVD", "id": "CVE-2020-27347" }, { "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "db": "VULMON", "id": "CVE-2020-27347" }, { "db": "PACKETSTORM", "id": "159913" }, { "db": "PACKETSTORM", "id": "160013" } ], "trust": 1.89 }, "external_ids": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/external_ids#", "data": { "@container": "@list" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": [ { "db": "NVD", "id": "CVE-2020-27347", "trust": 2.7 }, { "db": "OPENWALL", "id": "OSS-SECURITY/2020/11/05/3", "trust": 2.5 }, { "db": "JVNDB", "id": "JVNDB-2020-013145", "trust": 0.8 }, { "db": "PACKETSTORM", "id": "159913", "trust": 0.7 }, { "db": "PACKETSTORM", "id": "160013", "trust": 0.7 }, { "db": "CNNVD", "id": "CNNVD-202011-563", "trust": 0.6 }, { "db": "VULMON", "id": "CVE-2020-27347", "trust": 0.1 } ], "sources": [ { "db": "VULMON", "id": "CVE-2020-27347" }, { "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "db": "PACKETSTORM", "id": "159913" }, { "db": "PACKETSTORM", "id": "160013" }, { "db": "CNNVD", "id": "CNNVD-202011-563" }, { "db": "NVD", "id": "CVE-2020-27347" } ] }, "id": "VAR-202011-0763", "iot": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/iot#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": true, "sources": [ { "db": "VARIoT devices database", "id": null } ], "trust": 0.5 }, "last_update_date": "2024-11-23T23:01:12.037000Z", "patch": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/patch#", "data": { "@container": "@list" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": [ { "title": "Do\u00a0not\u00a0write\u00a0after\u00a0the\u00a0end\u00a0of\u00a0the\u00a0array\u00a0and\u00a0overwrite\u00a0the\u00a0stack\u00a0when\u00a0colon-separated\u00a0SGR\u00a0sequences\u00a0contain\u00a0empty\u00a0arguments.", "trust": 0.8, "url": "https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c" }, { "title": "tmux Buffer error vulnerability fix", "trust": 0.6, "url": "http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=134510" }, { "title": "", "trust": 0.1, "url": "https://github.com/Live-Hack-CVE/CVE-2020-27347 " } ], "sources": [ { "db": "VULMON", "id": "CVE-2020-27347" }, { "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "db": "CNNVD", "id": "CNNVD-202011-563" } ] }, "problemtype_data": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/problemtype_data#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": [ { "problemtype": "CWE-121", "trust": 1.0 }, { "problemtype": "CWE-787", "trust": 1.0 }, { "problemtype": "Out-of-bounds writing (CWE-787) [NVD Evaluation ]", "trust": 0.8 } ], "sources": [ { "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "db": "NVD", "id": "CVE-2020-27347" } ] }, "references": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/references#", "data": { "@container": "@list" }, "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": [ { "trust": 2.5, "url": "https://www.openwall.com/lists/oss-security/2020/11/05/3" }, { "trust": 1.8, "url": "https://security.gentoo.org/glsa/202011-10" }, { "trust": 1.7, "url": "https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c" }, { "trust": 1.7, "url": "https://raw.githubusercontent.com/tmux/tmux/3.1c/changes" }, { "trust": 1.6, "url": "https://nvd.nist.gov/vuln/detail/cve-2020-27347" }, { "trust": 0.6, "url": "https://packetstormsecurity.com/files/159913/ubuntu-security-notice-usn-4618-1.html" }, { "trust": 0.6, "url": "https://packetstormsecurity.com/files/160013/gentoo-linux-security-advisory-202011-10.html" }, { "trust": 0.1, "url": "https://cwe.mitre.org/data/definitions/787.html" }, { "trust": 0.1, "url": "https://github.com/live-hack-cve/cve-2020-27347" }, { "trust": 0.1, "url": "https://nvd.nist.gov" }, { "trust": 0.1, "url": "http://seclists.org/oss-sec/2020/q4/100" }, { "trust": 0.1, "url": "https://usn.ubuntu.com/4618-1" }, { "trust": 0.1, "url": "https://launchpad.net/ubuntu/+source/tmux/3.0a-2ubuntu0.2" }, { "trust": 0.1, "url": "https://launchpad.net/ubuntu/+source/tmux/3.1b-1ubuntu0.1" }, { "trust": 0.1, "url": "https://creativecommons.org/licenses/by-sa/2.5" }, { "trust": 0.1, "url": "https://security.gentoo.org/" }, { "trust": 0.1, "url": "https://bugs.gentoo.org." } ], "sources": [ { "db": "VULMON", "id": "CVE-2020-27347" }, { "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "db": "PACKETSTORM", "id": "159913" }, { "db": "PACKETSTORM", "id": "160013" }, { "db": "CNNVD", "id": "CNNVD-202011-563" }, { "db": "NVD", "id": "CVE-2020-27347" } ] }, "sources": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#", "data": { "@container": "@list" } }, "data": [ { "db": "VULMON", "id": "CVE-2020-27347" }, { "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "db": "PACKETSTORM", "id": "159913" }, { "db": "PACKETSTORM", "id": "160013" }, { "db": "CNNVD", "id": "CNNVD-202011-563" }, { "db": "NVD", "id": "CVE-2020-27347" } ] }, "sources_release_date": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources_release_date#", "data": { "@container": "@list" } }, "data": [ { "date": "2020-11-06T00:00:00", "db": "VULMON", "id": "CVE-2020-27347" }, { "date": "2021-06-21T00:00:00", "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "date": "2020-11-05T17:01:41", "db": "PACKETSTORM", "id": "159913" }, { "date": "2020-11-11T14:58:36", "db": "PACKETSTORM", "id": "160013" }, { "date": "2020-11-05T00:00:00", "db": "CNNVD", "id": "CNNVD-202011-563" }, { "date": "2020-11-06T03:15:17.137000", "db": "NVD", "id": "CVE-2020-27347" } ] }, "sources_update_date": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources_update_date#", "data": { "@container": "@list" } }, "data": [ { "date": "2022-10-18T00:00:00", "db": "VULMON", "id": "CVE-2020-27347" }, { "date": "2021-06-21T05:15:00", "db": "JVNDB", "id": "JVNDB-2020-013145" }, { "date": "2020-11-18T00:00:00", "db": "CNNVD", "id": "CNNVD-202011-563" }, { "date": "2024-11-21T05:21:02.433000", "db": "NVD", "id": "CVE-2020-27347" } ] }, "threat_type": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/threat_type#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "local", "sources": [ { "db": "CNNVD", "id": "CNNVD-202011-563" } ], "trust": 0.6 }, "title": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/title#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "tmux\u00a0 Out-of-bounds Vulnerability in Microsoft", "sources": [ { "db": "JVNDB", "id": "JVNDB-2020-013145" } ], "trust": 0.8 }, "type": { "@context": { "@vocab": "https://www.variotdbs.pl/ref/type#", "sources": { "@container": "@list", "@context": { "@vocab": "https://www.variotdbs.pl/ref/sources#" } } }, "data": "buffer error", "sources": [ { "db": "CNNVD", "id": "CNNVD-202011-563" } ], "trust": 0.6 } }
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.