Ubuntu update for Ruby



Published: 2018-01-10
Risk Low
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2017-10784
CVE-2017-14033
CVE-2017-14064
CVE-2017-17790
CWE-ID CWE-200
CWE-20
CWE-77
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Information disclosure

EUVDB-ID: #VU8448

Risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-10784

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition or obtain potentially sensitive information on the target system.

The weakness exists due to escape sequence injection vulnerability in the Basic authentication of WEBrick. A remote attacker can supply a specially crafted user name value to the WEBrick Basic authentication function, inject escape sequence into the log file and view log contents.

Successful exploitation of the vulnerability results in information disclosure or denial of service.

Mitigation

Update the affected packages

Ubuntu 17.10:
libruby2.3 2.3.3-1ubuntu1.2
ruby2.3 2.3.3-1ubuntu1.2
Ubuntu 16.04 LTS:
libruby2.3 2.3.1-2~16.04.5
ruby2.3 2.3.1-2~16.04.5
Ubuntu 14.04 LTS:
ruby1.9.1 1.9.3.484-2ubuntu1.7
ruby1.9.3 1.9.3.484-2ubuntu1.7
libruby1.9.1 1.9.3.484-2ubuntu1.7

Vulnerable software versions

Ubuntu: 14.04 - 17.10

External links

http://www.ubuntu.com/usn/usn-3528-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Improper input validation

EUVDB-ID: #VU8449

Risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-14033

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists due to buffer underrun. A remote attacker can provide a specially crafted string to the OpenSSL::ASN1 decode function to cause the target interpreter to crash.

Successful exploitation of the vulnerability results in denial of service.

Mitigation

Update the affected packages

Ubuntu 17.10:
libruby2.3 2.3.3-1ubuntu1.2
ruby2.3 2.3.3-1ubuntu1.2
Ubuntu 16.04 LTS:
libruby2.3 2.3.1-2~16.04.5
ruby2.3 2.3.1-2~16.04.5
Ubuntu 14.04 LTS:
ruby1.9.1 1.9.3.484-2ubuntu1.7
ruby1.9.3 1.9.3.484-2ubuntu1.7
libruby1.9.1 1.9.3.484-2ubuntu1.7

Vulnerable software versions

Ubuntu: 14.04 - 17.10

External links

http://www.ubuntu.com/usn/usn-3528-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Information disclosure

EUVDB-ID: #VU8123

Risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-14064

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to obtain potentially sensitive information on the target system.

The weakness exists due to an issue with using strdup in ext/json/ext/generator/generator.c during a JSON generate call. A remote attacker can send a specially crafted request, stop strdup after encountering a '' byte, returning a pointer to a string of length zero, which is not the length stored in space_len and expose arbitrary memory.

Successful exploitation of the vulnerability results in information disclosure.

Mitigation

Update the affected packages

Ubuntu 17.10:
libruby2.3 2.3.3-1ubuntu1.2
ruby2.3 2.3.3-1ubuntu1.2
Ubuntu 16.04 LTS:
libruby2.3 2.3.1-2~16.04.5
ruby2.3 2.3.1-2~16.04.5
Ubuntu 14.04 LTS:
ruby1.9.1 1.9.3.484-2ubuntu1.7
ruby1.9.3 1.9.3.484-2ubuntu1.7
libruby1.9.1 1.9.3.484-2ubuntu1.7

Vulnerable software versions

Ubuntu: 14.04 - 17.10

External links

http://www.ubuntu.com/usn/usn-3528-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Command injection

EUVDB-ID: #VU10848

Risk: Low

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-17790

CWE-ID: CWE-77 - Command injection

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary command on the target system.

The weakness exists in the lazy_initialize function due to command injection. A remote attacker can send a specially crafted request, inject and execute arbitrary commands.

Mitigation

Update the affected packages

Ubuntu 17.10:
libruby2.3 2.3.3-1ubuntu1.2
ruby2.3 2.3.3-1ubuntu1.2
Ubuntu 16.04 LTS:
libruby2.3 2.3.1-2~16.04.5
ruby2.3 2.3.1-2~16.04.5
Ubuntu 14.04 LTS:
ruby1.9.1 1.9.3.484-2ubuntu1.7
ruby1.9.3 1.9.3.484-2ubuntu1.7
libruby1.9.1 1.9.3.484-2ubuntu1.7

Vulnerable software versions

Ubuntu: 14.04 - 17.10

External links

http://www.ubuntu.com/usn/usn-3528-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###