CVE-2019-20839
published 2020-06-17CVE-2019-20839: libvncclient/sockets.c in LibVNCServer before 0.9.13 has a buffer overflow via a long socket filename.
PriorityP338high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
3.59%
88.1th percentile
libvncclient/sockets.c in LibVNCServer before 0.9.13 has a buffer overflow via a long socket filename.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | libvncserver | < libvncserver 0.9.13+dfsg-1 (bookworm) | libvncserver 0.9.13+dfsg-1 (bookworm) |
| libvnc_project | libvncserver | <= 0.9.12 | — |
| libvncserver_project | libvncserver | >= 0 < 0.9.13+dfsg-1 | 0.9.13+dfsg-1 |
| libvncserver_project | libvncserver | >= 0 < 0.9.13+dfsg-1 | 0.9.13+dfsg-1 |
| libvncserver_project | libvncserver | >= 0 < 0.9.13+dfsg-1 | 0.9.13+dfsg-1 |
| libvncserver_project | libvncserver | >= 0 < 0.9.13+dfsg-1 | 0.9.13+dfsg-1 |
| libvncserver_project | libvncserver | >= 0 < 0.9.10+dfsg-3ubuntu0.16.04.5 | 0.9.10+dfsg-3ubuntu0.16.04.5 |
| libvncserver_project | libvncserver | >= 0 < 0.9.11+dfsg-1ubuntu1.3 | 0.9.11+dfsg-1ubuntu1.3 |
| libvncserver_project | libvncserver | >= 0 < 0.9.12+dfsg-9ubuntu0.2 | 0.9.12+dfsg-9ubuntu0.2 |
| opensuse | leap | — | — |
| siemens | simatic_itc1500_firmware | >= 3.0.0.0 < 3.2.1.0 | 3.2.1.0 |
| siemens | simatic_itc1500_pro_firmware | >= 3.0.0.0 < 3.2.1.0 | 3.2.1.0 |
| siemens | simatic_itc1900_firmware | >= 3.0.0.0 < 3.2.1.0 | 3.2.1.0 |
| siemens | simatic_itc1900_pro_firmware | >= 3.0.0.0 < 3.2.1.0 | 3.2.1.0 |
| siemens | simatic_itc2200_firmware | >= 3.0.0.0 < 3.2.1.0 | 3.2.1.0 |
| siemens | simatic_itc2200_pro_firmware | >= 3.0.0.0 < 3.2.1.0 | 3.2.1.0 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-hff6-p675-x48v: libvncclient/sockets
ghsa_unreviewed·2022-05-24
CVE-2019-20839 [HIGH] CWE-120 GHSA-hff6-p675-x48v: libvncclient/sockets
libvncclient/sockets.c in LibVNCServer before 0.9.13 has a buffer overflow via a long socket filename.
OSV
libvncserver vulnerabilities
osv·2020-07-23·CVSS 7.5
CVE-2019-20839 [HIGH] libvncserver vulnerabilities
libvncserver vulnerabilities
Ramin Farajpour Cami discovered that LibVNCServer incorrectly handled
certain malformed unix socket names. A remote attacker could exploit this
with a crafted socket name, leading to a denial of service, or possibly
execute arbitrary code. (CVE-2019-20839)
It was discovered that LibVNCServer did not properly access byte-aligned
data. A remote attacker could possibly use this issue to cause
LibVNCServer to crash, resulting in a denial of service. This issue only
affected Ubuntu 18.04 LTS and Ubuntu 16.04 LTS. (CVE-2019-20840)
Christian Beier discovered that LibVNCServer incorrectly handled anonymous
TLS connections. A remote attacker could possibly use this issue to cause
LibVNCServer to crash, resulting in a denial of service. This issue only
affected Ubuntu
OSV
CVE-2019-20839: libvncclient/sockets
osv·2020-06-17·CVSS 7.5
CVE-2019-20839 [HIGH] CVE-2019-20839: libvncclient/sockets
libvncclient/sockets.c in LibVNCServer before 0.9.13 has a buffer overflow via a long socket filename.
CISA ICS
Siemens SIMATIC ITC
cisa_ics·2021-12-16·CVSS 9.8
[CRITICAL] Siemens SIMATIC ITC
## Archived Content In an effort to keep CISA.gov current, the archive contains outdated information that may not reflect current policy or programs.
ICS Advisory
##
Siemens SIMATIC ITC
Last RevisedDecember 16, 2021
Alert CodeICSA-21-350-12
## 1. EXECUTIVE SUMMARY
- CVSS v3 9.8
- ATTENTION: Exploitable remotely/low attack complexity
- Vendor: Siemens
- Equipment: SIMATIC ITC Products
- Vulnerabilities: Using Components with Known Vulnerabilities
## 2. RISK EVALUATION
Successful exploitation of these LibVNC vulnerabilities could allow remote code execution, information disclosure, and denial-of-service attacks.
## 3. TECHNICAL DETAILS
## 3.1 AFFECTED PRODUCTS
Siemens reports these vulnerabilities affect the following SIMATIC Industri
Ubuntu
LibVNCServer vulnerabilities
vendor_ubuntu·2020-07-23·CVSS 7.5
CVE-2019-20839 [HIGH] LibVNCServer vulnerabilities
Title: LibVNCServer vulnerabilities
Summary: Several security issues were fixed in LibVNCServer.
Ramin Farajpour Cami discovered that LibVNCServer incorrectly handled
certain malformed unix socket names. A remote attacker could exploit this
with a crafted socket name, leading to a denial of service, or possibly
execute arbitrary code. (CVE-2019-20839)
It was discovered that LibVNCServer did not properly access byte-aligned
data. A remote attacker could possibly use this issue to cause
LibVNCServer to crash, resulting in a denial of service. This issue only
affected Ubuntu 18.04 LTS and Ubuntu 16.04 LTS. (CVE-2019-20840)
Christian Beier discovered that LibVNCServer incorrectly handled anonymous
TLS connections. A remote attacker could possibly use this issue to cause
LibVNCServer to cra
Red Hat
libvncserver: buffer overflow in ConnectClientToUnixSock()
vendor_redhat·2020-06-17·CVSS 7.5
CVE-2019-20839 [HIGH] CWE-120 libvncserver: buffer overflow in ConnectClientToUnixSock()
libvncserver: buffer overflow in ConnectClientToUnixSock()
libvncclient/sockets.c in LibVNCServer before 0.9.13 has a buffer overflow via a long socket filename.
Statement: This is only an issue if the "ConnectClientToUnixSock()" function is used directly with an overly long socket name. It's more common that the "ConnectToRFBServer()" function is used, which would prevent exploiting this flaw as it performs additional checks. Additionally, the buffer overflow is caught by compiled-in buffer overflow checks, limiting the impact to a crash.
Package: libvncserver (Red Hat Enterprise Linux 6) - Not affected
Package: libvncserver (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2019-20839: libvncserver - libvncclient/sockets.c in LibVNCServer before 0.9.13 has a buffer overflow via a...
vendor_debian·2019·CVSS 7.5
CVE-2019-20839 [HIGH] CVE-2019-20839: libvncserver - libvncclient/sockets.c in LibVNCServer before 0.9.13 has a buffer overflow via a...
libvncclient/sockets.c in LibVNCServer before 0.9.13 has a buffer overflow via a long socket filename.
Scope: local
bookworm: resolved (fixed in 0.9.13+dfsg-1)
bullseye: resolved (fixed in 0.9.13+dfsg-1)
forky: resolved (fixed in 0.9.13+dfsg-1)
sid: resolved (fixed in 0.9.13+dfsg-1)
trixie: resolved (fixed in 0.9.13+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-20839 libvncserver: "ConnectClientToUnixSock()" buffer overflow [fedora-all]
bugzilla·2020-06-23·CVSS 7.5
CVE-2019-20839 [HIGH] CVE-2019-20839 libvncserver: "ConnectClientToUnixSock()" buffer overflow [fedora-all]
CVE-2019-20839 libvncserver: "ConnectClientToUnixSock()" buffer overflow [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2019-20839 libvncserver: "ConnectClientToUnixSock()" buffer overflow [epel-7]
bugzilla·2020-06-23·CVSS 7.5
CVE-2019-20839 [HIGH] CVE-2019-20839 libvncserver: "ConnectClientToUnixSock()" buffer overflow [epel-7]
CVE-2019-20839 libvncserver: "ConnectClientToUnixSock()" buffer overflow [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the '
Bugzilla
CVE-2019-20839 libvncserver: buffer overflow in ConnectClientToUnixSock()
bugzilla·2020-06-23·CVSS 7.5
CVE-2019-20839 [HIGH] CVE-2019-20839 libvncserver: buffer overflow in ConnectClientToUnixSock()
CVE-2019-20839 libvncserver: buffer overflow in ConnectClientToUnixSock()
libvncclient/sockets.c in LibVNCServer before 0.9.13 has a buffer overflow via a long socket filename.
Upstream Reference:
https://github.com/LibVNC/libvncserver/commit/3fd03977c9b35800d73a865f167338cb4d05b0c1
Discussion:
Created libvncserver tracking bugs for this issue:
Affects: epel-7 [bug 1849879]
Affects: fedora-all [bug 1849878]
---
Statement:
This is only an issue if the "ConnectClientToUnixSock()" function is used directly with an overly long socket name. It's more common that the "ConnectToRFBServer()" function is used, which would prevent exploiting this flaw as it performs additional checks. Additionally, the buffer overflow is caught by compiled-in buffer overflow checks, limiting the impact to a
arXiv
A Quantitative Flavour of Robust Reachability
arxiv_fulltext·2022-12-10
A Quantitative Flavour of Robust Reachability
ASLRASLRAddress Space Layout Randomization
SSPSSPStack Smashing Protection
CTLCTLComputational Tree Logic
BMCBMCBounded Model Checking
SESESymbolic Execution
RSERSERobust Symbolic Execution
QRSEQRSEQuantitative Robust Symbolic Execution
SMTSMTSatisfiability Modulo Theory
CFGCFGControl Flow Graph
CTFCTFCapture The Flag
MBQIMBQIModel Based Quantifier Instantiation
NFSNFSNetwork File System
ATLATLAlternating-Time Temporal Logic
cnfCNFConjunctive Normal Form
ddnnfd-DNNFdeterministic Decomposable Negational Normal Form
decdecision-DNNFdecision Decomposable Negational Normal Form
countingcd-DNNFcounting decision Decomposable Negational Normal Form
dagDAGDirected Acyclic Graph
aegAEGAutomatic Exploit Generation
SSATSSATStochastic boolean Satisfiability
QBFQBFQuantified Boolean Formula
## Abstrac
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00033.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-07/msg00055.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-07/msg00066.htmlhttps://cert-portal.siemens.com/productcert/pdf/ssa-390195.pdfhttps://github.com/LibVNC/libvncserver/commit/3fd03977c9b35800d73a865f167338cb4d05b0c1https://github.com/LibVNC/libvncserver/compare/LibVNCServer-0.9.12...LibVNCServer-0.9.13https://lists.debian.org/debian-lts-announce/2020/06/msg00035.htmlhttps://lists.debian.org/debian-lts-announce/2020/08/msg00045.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4F6FUH4EFK4NAP6GT4TQRTBKWIRCZLIY/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NVP7TJVYJDXDFRHVQ3ENEN3H354QPXEZ/https://usn.ubuntu.com/4434-1/http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00033.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-07/msg00055.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-07/msg00066.htmlhttps://cert-portal.siemens.com/productcert/pdf/ssa-390195.pdfhttps://github.com/LibVNC/libvncserver/commit/3fd03977c9b35800d73a865f167338cb4d05b0c1https://github.com/LibVNC/libvncserver/compare/LibVNCServer-0.9.12...LibVNCServer-0.9.13https://lists.debian.org/debian-lts-announce/2020/06/msg00035.htmlhttps://lists.debian.org/debian-lts-announce/2020/08/msg00045.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4F6FUH4EFK4NAP6GT4TQRTBKWIRCZLIY/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NVP7TJVYJDXDFRHVQ3ENEN3H354QPXEZ/https://usn.ubuntu.com/4434-1/
2020-06-17
Published