Stack-based buffer overflow in the nestlex function in nestlex.c in Socat 1.5.0.0 through 1.7.1.2 and 2.0.0-b1 through 2.0.0-b3, when bidirectional data relay is enabled, allows context-dependent attackers to execute arbitrary code via long command-line arguments.
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-119,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| dest-unreach | socat | 1.7.0.0 |
| dest-unreach | socat | 2.0.0 |
| dest-unreach | socat | 1.7.0.1 |
| dest-unreach | socat | 1.6.0.1 |
| dest-unreach | socat | 1.6.0.0 |
| dest-unreach | socat | 1.7.1.1 |
| dest-unreach | socat | 1.5.0.0 |
| dest-unreach | socat | 1.7.1.0 |
Heap-based buffer overflow in the xioscan_readline function in xio-readline.c in socat 1.4.0.0 through 1.7.2.0 and 2.0.0-b1 through 2.0.0-b4 allows local users to execute arbitrary code via the READLINE address.
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-119,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| dest-unreach | socat | 1.7.0.0 |
| dest-unreach | socat | 2.0.0 |
| dest-unreach | socat | 1.4.0.1 |
| dest-unreach | socat | 1.7.1.1 |
| dest-unreach | socat | 1.4.0.3 |
| dest-unreach | socat | 1.4.0.2 |
| dest-unreach | socat | 1.7.1.3 |
| dest-unreach | socat | 1.6.0.1 |
| dest-unreach | socat | 1.7.0.1 |
| dest-unreach | socat | 1.6.0.0 |
| dest-unreach | socat | 1.7.1.2 |
| dest-unreach | socat | 1.5.0.0 |
| dest-unreach | socat | 1.4.2.0 |
| dest-unreach | socat | 1.7.1.0 |
| dest-unreach | socat | 1.4.1.0 |
| dest-unreach | socat | 1.4.3.1 |
| dest-unreach | socat | 1.7.2.0 |
| dest-unreach | socat | 1.4.0.0 |
socat 1.2.0.0 before 1.7.2.2 and 2.0.0-b1 before 2.0.0-b6, when used for a listen type address and the fork option is enabled, allows remote attackers to cause a denial of service (file descriptor consumption) via multiple request that are refused based on the (1) sourceport, (2) lowport, (3) range, or (4) tcpwrap restrictions.
CVSS 2.0
Severity: LOW
Problem Type: NVD-CWE-noinfo,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| dest-unreach | socat | 1.7.0.0 |
| dest-unreach | socat | 1.4.0.1 |
| dest-unreach | socat | 2.0.0 |
| dest-unreach | socat | 1.3.2.1 |
| dest-unreach | socat | 1.7.1.1 |
| dest-unreach | socat | 1.4.0.3 |
| dest-unreach | socat | 1.4.0.2 |
| dest-unreach | socat | 1.7.1.3 |
| dest-unreach | socat | 1.6.0.1 |
| dest-unreach | socat | 1.7.0.1 |
| dest-unreach | socat | 1.4.2.0 |
| dest-unreach | socat | 1.7.1.0 |
| dest-unreach | socat | 1.4.1.0 |
| dest-unreach | socat | 1.4.3.1 |
| dest-unreach | socat | 1.3.0.1 |
| dest-unreach | socat | 1.4.0.0 |
| dest-unreach | socat | 1.4.3.0 |
| dest-unreach | socat | 1.3.2.0 |
| dest-unreach | socat | 1.7.2.1 |
| dest-unreach | socat | 1.2.0.0 |
| dest-unreach | socat | 1.3.0.0 |
| dest-unreach | socat | 1.6.0.0 |
| dest-unreach | socat | 1.7.1.2 |
| dest-unreach | socat | 1.5.0.0 |
| dest-unreach | socat | 1.3.2.2 |
| dest-unreach | socat | 1.7.2.0 |
| dest-unreach | socat | 1.3.1.0 |
Stack-based buffer overflow in socat 1.3.0.0 through 1.7.2.2 and 2.0.0-b1 through 2.0.0-b6 allows local users to cause a denial of service (segmentation fault) via a long server name in the PROXY-CONNECT address in the command line.
CVSS 2.0
Severity: LOW
Problem Type: CWE-119,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| dest-unreach | socat | 1.7.0.0 |
| dest-unreach | socat | 2.0.0 |
| dest-unreach | socat | 1.4.0.1 |
| dest-unreach | socat | 1.3.2.1 |
| dest-unreach | socat | 1.7.1.1 |
| opensuse | opensuse | 13.1 |
| dest-unreach | socat | 1.4.0.3 |
| dest-unreach | socat | 1.4.0.2 |
| dest-unreach | socat | 1.7.1.3 |
| dest-unreach | socat | 1.6.0.1 |
| dest-unreach | socat | 1.7.0.1 |
| dest-unreach | socat | 1.4.2.0 |
| dest-unreach | socat | 1.7.1.0 |
| dest-unreach | socat | 1.4.3.1 |
| dest-unreach | socat | 1.4.1.0 |
| dest-unreach | socat | 1.3.0.1 |
| dest-unreach | socat | 1.4.0.0 |
| dest-unreach | socat | 1.7.2.2 |
| dest-unreach | socat | 1.4.3.0 |
| dest-unreach | socat | 1.3.2.0 |
| dest-unreach | socat | 1.7.2.1 |
| fedoraproject | fedora | 19 |
| dest-unreach | socat | 1.3.0.0 |
| dest-unreach | socat | 1.6.0.0 |
| dest-unreach | socat | 1.5.0.0 |
| dest-unreach | socat | 1.7.1.2 |
| dest-unreach | socat | 1.3.2.2 |
| fedoraproject | fedora | 20 |
| dest-unreach | socat | 1.7.2.0 |
| dest-unreach | socat | 1.3.1.0 |
The signal handler implementations in socat before 1.7.3.0 and 2.0.0-b8 allow remote attackers to cause a denial of service (process freeze or crash).
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-20,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| dest-unreach | socat | 2.0.0-b8 |
| dest-unreach | socat | * |
The OpenSSL address implementation in Socat 1.7.3.0 and 2.0.0-b8 does not use a prime number for the DH, which makes it easier for remote attackers to obtain the shared secret.
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-320,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| dest-unreach | socat | 2.0.0 |
| dest-unreach | socat | 1.7.3.0 |
socat versions 1.8.0.0 through 1.8.1.1 contain a heap-based buffer overflow vulnerability that allows a malicious SOCKS5 proxy server to overwrite adjacent heap memory by exploiting a sign-extension flaw in the DOMAINNAME reply parser. During connection setup, the domain name length byte is read through a signed char field causing a negative bytes_to_read value that is implicitly converted to size_t, resulting in an unbounded heap write into the 262-byte reply buffer with attacker-controlled size and content.
CVSS 3.x
| Source | Score | Severity | Vector | Exploitability | Impact |
|---|---|---|---|---|---|
| disclosure@vulncheck.com | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | 2.2 | 5.9 |
| nvd@nist.gov | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | 3.9 | 5.9 |
Products Affected
| Vendor | Product | Version |
|---|---|---|
| dest-unreach | socat | * |